]> granicus.if.org Git - python/commitdiff
Guido pointed out that the "non-admin install" blurb got displayed
authorTim Peters <tim.peters@gmail.com>
Fri, 1 Sep 2000 19:30:26 +0000 (19:30 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 1 Sep 2000 19:30:26 +0000 (19:30 +0000)
very late in the process when running on Windows 2000 without admim
privs.  Rearranged so that the admin check is done at the start
instead.  Added words to the end of the blurb to make it very clear
how to abort the install (wasn't obvious to me that "Cancel" was
the right thing to click).

PCbuild/python20.wse

index b94ffd287b06a2b4253535865cd1e3c34e1ded2d..aebec15693338bdead5b37c8be02d397bb6945a1 100644 (file)
@@ -50,12 +50,17 @@ item: Set Variable
 end
 item: End Block
 end
-remarked item: Check Configuration
-  Message=Sorry, but we can not install Python on your system unless you have Administrator Privileges.
-  Message=
-  Message=Please log on as an Administrator, and start the installation again.
-  Title=Must have administrator rights
-  Flags=01011111
+item: Check Configuration
+  Flags=10011111
+end
+item: Display Message
+  Title=Doing non-admin install
+  Text=The current login does not have Administrator Privileges on this machine.  Python will install its registry information into the per-user area only for the current login, instead of into the per-machine area for every account on this machine.  Some advanced uses of Python may not work as a result (for example, running a Python script as a service).
+  Text=
+  Text=If this is not what you want, please click Cancel to abort this installation, log on as an Administrator, and start the installation again.
+  Flags=00001000
+end
+item: End Block
 end
 item: Set Variable
   Variable=APPTITLE
@@ -1017,13 +1022,6 @@ item: Edit Registry
 end
 item: Else Statement
 end
-item: Display Message
-  Title=Doing non-admin install
-  Text=The current login does not have Administrator Privileges on this machine.  Python will install its registry information into the per-user area only for the current login, instead of into the per-machine area for every account on this machine.  Some advanced uses of Python may not work as a result (for example, running a Python script as a service).
-  Text=
-  Text=If this is not what you want, please log on as an Administrator, and start the installation again.
-  Flags=00001000
-end
 item: Edit Registry
   Key=Software\Python\PythonCore\CurrentVersion
   Root=129