OSDN Git Service

Installation changes:
authorMichael Curran <mick@kulgan.net>
Fri, 6 Jan 2012 02:46:45 +0000 (12:46 +1000)
committerMichael Curran <mick@kulgan.net>
Fri, 6 Jan 2012 02:46:45 +0000 (12:46 +1000)
commit2132a1b25f860d7b20f97486d1c552dcac1b358f
tree7f1467ae0f1dd61f4da7a86d67d72d0d5c1156d3
parenteb2c9a3d2d3c976585696093075b96f84207056f
Installation changes:
* Added installer.update() which Updates the installed copy of NVDA to the current version being run.
* gui: Added an UpdaterDialog which contains an update button, which calls installer.update to update the currently installed NVDA. The "install NVDA..." item in the tools menu now will show the update dialog rather than the install dialog, if a previous copy of NVDA is installed.
* installer.py: Added a few useful functions such as getStartMenuFolder, getInstallPath, validateStartMenuFolder and validateInstallPath. These are now used by the installer GUI to collect default/current installer values.
* installer.py: install only now calls unregisterInstallation if forUpdate is true. Otherwize we expect there is no previous install and or the previous install has already been uninstalled.
* installer.unregisterInstallation: don't remove individual startMenu shortcuts, instead just delete all shortcuts in NVDA's startMenu folder, as this is wht the old uninstaller used to do.
* installer.registerInstallation: fix a typo that was stopping start menu shortcuts from being created.
source/gui/__init__.py
source/gui/installerGui.py
source/installer.py
source/nvda_slave.pyw