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.
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 @@
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 @@
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.