diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-08-05 04:12:30 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-08-05 04:12:30 (GMT) |
commit | 67b9adaa87f834dd68bd12df04225a96ff17e1b2 (patch) | |
tree | 4c30b600e685ce9db7786958c6173121989a4c6d /PCbuild/Uninstal.wse | |
parent | 4de219d511defbf191dcd9eba36cabcddf800b44 (diff) | |
download | cpython-67b9adaa87f834dd68bd12df04225a96ff17e1b2.zip cpython-67b9adaa87f834dd68bd12df04225a96ff17e1b2.tar.gz cpython-67b9adaa87f834dd68bd12df04225a96ff17e1b2.tar.bz2 |
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 5e0347c..216dd30 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. |