summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 12f092ac119..08e23c7b371 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -1163,6 +1163,9 @@ sub load_tlpdb {
$vars{'option_path'} = $tlpdb->option("path");
$vars{'option_path'} = 1 if win32();
$vars{'option_w32_multi_user'} = $tlpdb->option("w32_multi_user");
+ # we have to make sure that this option is set to 0 in case
+ # that a non-admin is running the installations program
+ $vars{'option_w32_multi_user'} = 0 if (win32() && !admin());
$vars{'option_file_assocs'} = $tlpdb->option("file_assocs");
$vars{'option_post_code'} = $tlpdb->option("post_code");
$vars{'option_sys_bin'} = $tlpdb->option("sys_bin");