We have migrated from per machine to per user. The updater is not removing the previous version and the instructions on using a Custom Action do not seem to do anything.
Here is the Verbose log:
MSI (s) (3C:60) [13:06:55:330]: Doing action: UninstallPreviousVersions
Action start 13:06:55: UninstallPreviousVersions.
MSI (s) (3C:A8) [13:06:55:332]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIDA61.tmp, Entrypoint: UninstallPreviousVersions
MSI (s) (3C:F4) [13:06:58:382]: Running as a service.
Action ended 13:06:58: UninstallPreviousVersions. Return value 1.
But the old version still remains
Figured it out (with the help of Dan)! You have to add the custom action before "Wizard Dialogs Stage > Paths Resolution". That alone did not solve my issue. Under Install Parameters we had a check on "Limit to basic user interface"; this was preventing the uninstall from having a chance to run before the msi package ran for the install (can't have two running at once). We will add the check back to limited UI after this release when the install types (machine vs user) will match once again.
Hope that helps someone.
FOLLOW US
Get the latest news in Application Packaging