Distributing a Python app

Niki Spahiev spahievi at vega.bg
Sat Jul 21 04:14:02 EDT 2001


20.7.2001, 09:00:13, Tim Peters wrote:

TP> [Tim]
>> FYI, I'm seriously looking at switching the PythonLabs Windows
>> installer over to Inno ...

TP> [David Bolen]
>> Wasn't there something or other you mentioned it couldn't quite do
>> that the current Wise stuff does when this last came up?

TP> Yes, it couldn't (and still can't) do stuff conditionally on NT/2000
TP> depending on whether the user has Admin privileges.  They're required to add
TP> HKLM registry entries; the Wise script backs off to HKCU if Admin privileges
TP> are required on the box and the user doesn't have them, and pops up a dialog
TP> box telling the user that's going to happen, giving them an early chance to
TP> abort if that's not what they want.

TP> So if we take this route we require Admin privileges; or write to HKCU all
TP> the time instead; or ship two distinct Windows installers.

Another not perfect solution. Inno setup 2.x has tasks. We can make
one task for Admin setup which uses HKLM and another task which uses
HKCU.

if-only-Inno-can-switch-automatically-between-them-ly y'rs
 Niki Spahiev





More information about the Python-list mailing list