Able to install old version side by side... when it shouldn't - Advanced Installer Community
Dredgewood
Posts: 10
Joined: Wed Sep 12, 2018 8:54 am

Able to install old version side by side... when it shouldn't

Hi,

I'm having a bit of trouble with my installer project. The key is in this example, the updater is NOT used. So it is manually applying MSI packages.

The set up should be, that the old version is removed when the new one is put on. The new one should preserve the old install parameters (e.g. single user and path).

What I'm seeing is I can manually reinstall the OLD msi alongside the NEW product. Which it shouldn't.

In the Upgrades page, sided by side is not selected, use original installation path is checked. Each build is built by jenkins, so the version changes that way, and product code generated etc.

I can send AIP file if needed.

Many thanks.
Dredgewood
Posts: 10
Joined: Wed Sep 12, 2018 8:54 am

Re: Able to install old version side by side... when it shouldn't

For anyone reading this.

I believe I have found the solution. That was to move the custom action "Preserve Install Type" to the very top/start of the custom actions list, before searches etc.

So that was the "find related products" would not skip over when it found a 'per machine' install when the default on the installer msi was 'per user'.

Hope someone finds this useful and saves a day of head-scratching!
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: Able to install old version side by side... when it shouldn't

Hello,

I am glad you sorted things out. Also, thank you for your followup on this, I am sure other users facing a similar behavior will find this useful in the future.

All the best,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”