-
Notifications
You must be signed in to change notification settings - Fork 2
MSI Installation
Simon Tushev edited this page Nov 29, 2020
·
10 revisions
Starting with v. 2.0.1, the releases are provided as MSI packages. This ...
During upgrade, the installer normally will not remove the scheduled task for checking for updates. It is being removed only during uninstall.
The same is true for upgrading from older, Inno-based .exe
installers.
If you change installation path during upgrade, the scheduled task will not be changed by installer. However, on the next launch of configuration window, the updater will check whether the scheduled task points to this very instance:
(ADD-IMAGE)
Apart from standard msiexec
parameters, the MSI packages support some extra parameters for more control during installation process.
The command line may look like:
msiexec.exe /i AJUpdateWatcher-2.0.1.0-setup.msi INSTALLFOLDER=X:\path
msiexec.exe /x AJUpdateWatcher-2.0.1.0-setup.msi KEEPTASK="ASK"
-
INSTALLFOLDER=X:\path
Provides the default installation path. This path may be overridden during install process if an older installation is discovered. -
FORCEINSTALLFOLDER=X:\forced\path
This will force installation to the specified directory, overriding any paths discovered by an older installation. The older installation will be removed, and after that the new package will be installed. -
KEEPTASK="ASK"
[Uninstall] Ask whether the uninstaller should remove scheduled task, if present. Does not work during upgrades. -
KEEPTASK="KEEP"
[Uninstall] Force the uninstaller to keep scheduled task, if present. Does not work during upgrades. By default, the scheduled task is removed during uninstall.