diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-08-05 04:12:30 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-08-05 04:12:30 +0000 |
commit | 5f06dadb7f9f1864c037d1fa2c90b83edf496ab8 (patch) | |
tree | ff599c6fbd2000e18b8ac1de508f7beb82e35596 /PCbuild/Uninstal.wse | |
parent | d95e80de97dda4062990c03fc374e1ecc996324e (diff) | |
download | cpython-5f06dadb7f9f1864c037d1fa2c90b83edf496ab8.tar.gz |
New runtime vrbl DOADMIN. When false, we never try to write under HKLM,
and install the Python and MS runtime DLLs into the Python dir instead of
a system dir.
Initial value is taken from new compiler vrbl _DOADMIN_ (default true),
and forced to false if the user doesn't have admin privs.
This makes it possible to *test* non-admin installs on machines where the
distinction doesn't exist (like my home box), via just changing _DOADMIN_.
It may also be useful for users who don't *want* an installer to
scribble into their system dir (for example, me(! most days)), but that
would require adding more GUI to let them get at it.
Diffstat (limited to 'PCbuild/Uninstal.wse')
-rw-r--r-- | PCbuild/Uninstal.wse | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/PCbuild/Uninstal.wse b/PCbuild/Uninstal.wse index 5e0347c347..216dd30c35 100644 --- a/PCbuild/Uninstal.wse +++ b/PCbuild/Uninstal.wse @@ -25,7 +25,7 @@ item: Remark Text=Note from Tim: This is a verbatim copy of Wise's Uninstal.wse, altered at the end to write end item: Remark - Text=uninstall info under HKCU instead of HKLM if the user doesn't have Admin privs. + Text=uninstall info under HKCU instead of HKLM if our DOADMIN var is false. end item: Remark end @@ -433,8 +433,9 @@ end item: Check Configuration Flags=10111011 end -item: Check Configuration - Flags=10111111 +item: If/While Statement + Variable=DOADMIN + Value=1 end item: Remark Text=Write uninstall info under HKLM. This if/else/end block added by Tim. |