[Distutils] bdist_msi install-script observations

Malte Forkel malte.forkel at berlin.de
Sat Jun 15 11:24:11 CEST 2013


Hello,

two things I've noticed when testing an install script with bdist_msi:

- The installer requests admin privileges for an installation for all
users (on Windows 7), but the install script does not seem to be
executed with admin privileges. E.g., execution of
win32.com.server.register.RegisterClasses fails with "pywintypes.error:
(5, 'RegSetValue', 'Access denied')"

- If an error occurrs in the install script, the installer claims "Your
system has not been changed" when in fact all files have been installed.

My fault, bug, or feature?

Thanks,
Malte



More information about the Distutils-SIG mailing list