sumatrapdf
sumatrapdf copied to clipboard
Installer should remember settings
I just upgraded from Sumatra 3.4.6 to 3.5.2 under Windows 10 and noticed following glitches:
- The installer does not read / remember my current Sumatra path settings (<Drive>:*Tools.W64*\SumatraPDF) and
- after correcting the path manually overwrites it again with the default setting (<Drive>:*Program Files*\SumatraPDF) when selecting "Install for all users" and
- forgets which documents were opened before installation. I frequently do have many pdf files open so it would be nice if these were remembered and I don't have to manually reopen them again.
When you say Sumatra path settings are you referring to custom installation directory?
Looking at the code, when installing for all users, we might ignore previous installation dir and reset to the default (GetDefaultInstallationDirTemp).
2 changes needed:
- need to be smarter about this
- when upgrading (detecting a previous install) we should auto-show the options, to make things clear
- if changing install directory, copy settings file
@GitHubRulesOK I removed your comment because it wasn't addressing the issue and possibly adding confusion.