RuudH
Posts: 2
Joined: Sun Jul 01, 2012 1:18 pm

Question about updating my MSI

I have created a MSI for MyApp a while a go. Everything went okay and a lot of users have it installed.
Now there is some code changed in a few files, so I want to create a new MSI that can upgrade my initial version and also can install normally, when an old version has not been installed yet.
Like told in the manual, I took my MyApp_v1 project, made changes to the replace some files with the new ones and changed the product version to from 1.0 to 1.0.1. Choose for automatic upgrade old versions and deinstall old versions first.

After installing the new build MSI, I can see the newer files are installed. But in the Uninstall Hive there are now two versions mentioned.
Upgrade code for both MSI's is the same, productcode is changed. In the registry I see both versions as installed (with the two different productcodes) in the UnInstall section.
Now deinstalling the new build MSI leaves me with the old one.

What have I done wrong ?

Using AI 9.3 pro edition.

Thanx for your help
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Question about updating my MSI

Hi and welcome to our forums,

Based on your short description the settings are correct and the upgrade should occur. Another reason for skipping upgrade is if you had the two versions installed with
different install types, i.e. one per-machine and another per-user. Can you please check that?

If you cannot find the problem please send us the aip files and a verbose log of the upgrade to support at advancedinstaller dot com.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
RuudH
Posts: 2
Joined: Sun Jul 01, 2012 1:18 pm

Re: Question about updating my MSI

Hi Bogdan,

Thanks for your reply.
Did send the requested files to the supportbox. Hope this will help me out quickly.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Question about updating my MSI

Hi Ruud,

The upgrade is not executed because of the version numbers that you are using. Windows Installer analyses only the first three fields of the product version to see if an upgrade is available. In your case these fields are identical, so the OS skips the upgrade.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”