nvda
f70ecb53 - Fixes for #2332: Can not install when old install path was different. Specific changes:

Commit
13 years ago
Fixes for #2332: Can not install when old install path was different. Specific changes: * installer.isPreviousInstall: make sure that the old install path actually exists -- if it doesn't then return false. * installer gui: don't use os.stat to try and find out if the install paths have changed as it throws exceptions if the path does not exist -- also just doesn't make any logical sence (my mistake). Instead just use os.path.isdir on the new path. If it doesn't exist, then the path must have changed. * installer.unregisterInstallation: remove the 'forUpdate' keyword argument as its never used.
Parents
Loading