Problem description - Uninstall Previous Version custom action do not works on cmd line silent installation.
How to reproduce ?
1. Having two consecutive installer, one with version 1.0 and another with 1.1, allowing installation for Single or all users, including Uninstall Previous Version Custom Action on Wizards Dialog Stage and Install Execution Stage.
2. Install version 1.0 as Single user. Doesnt matter if using wizard or cmd line install.
3. Using cmd line instalation, silently install version 1.1 for All users.
4. Check on Add/Remove programs, both versions are listed.
When doing step 3 with Wizard UI, previous version is correctly uninstalled and is no longer shown on step 4.
Environment - Windows 10. Log file indicates that Uninstall Previous Version Custom Action run with RC=1 but previous version was not uninstalled.
This has been asked on http://www.advancedinstaller.com/forums ... =5&t=34401 but proposed workaround is not feasible due to multiple previous version we have. This has been tried on latest available version of Advanced Installer, with same result.
FOLLOW US
Get the latest news in Application Packaging