OSDN Git Service

installer module:
authorMichael Curran <mick@kulgan.net>
Fri, 12 Aug 2011 06:31:57 +0000 (16:31 +1000)
committerMichael Curran <mick@kulgan.net>
Fri, 12 Aug 2011 06:31:57 +0000 (16:31 +1000)
commitd04b854be0e13daa59686ed502cca28707af8e00
tree3d924b67ab367ec5cdf9c9b163190f5ae36b14d8
parent9e2dd8d04658e0f68e79174e83017b22aa7d2368
installer module:
* fix some module imports (comtypes.client is needed, not just comtypes, and _winreg is needed).
* Make sure to use dynamic displatch for wScript.shell so that comtypes does not needlessly generate typelib code.
* createShortcut: only set a particular value on the shortcut object if its actually been given (not None)
* hardcode the "userConfig" directory for exclusion from program file copying if it exists, rather than trying to use globalVars.appArgs.configPath as when run from slave this is not set.
* The uninstaller display name should be  the name "nvda", not the version.
* Fix some case typos (installDir, getDocFilePath)
* fix typo when looping through uninstallerRegInfo (we need the values as well).
* fix arguments for _winreg.DeleteKeyEx
* unregisterInstallation: fetch the start menu folder chosen at install time from the registry.
* install: fix typo of runAtLogon argument.
source/installer.py