Application Upgrades - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

aiuser
Posts: 7
Joined: Sat Oct 07, 2006 5:02 pm

Application Upgrades

I've just noticed that somewhere along the line I seem to have broken my installer in that installing a new version no longer uninstalls the old version first.

Using AI 7.7 Enterprise I have automatically upgrade older product versions, Use original installation path and Uninstall old version first checked.

Upping the version number, accept the new product code, build, run and I see two versions now installed. repeat the process and I see 3 etc

Checking Customize Advanced Installer Rules; The automatically generated rules seems all OK fine to my untrained eye.

Explicitly adding an upgrade rule to uninstall specific versions has no effect either.

Any sugestions as to where I or what may have gone wrong?

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Application Upgrades

Hello,

On the Product Details page, please make sure you have the "Register product with Windows Installer" option checked.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
aiuser
Posts: 7
Joined: Sat Oct 07, 2006 5:02 pm

Re: Application Upgrades

Register product with Windows Installer is checked.

Any other sugestions?

Thanks
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Application Upgrades

Hello again,

Please check the following:
- you have the same installation type (per user / per machine) for both versions
- you have the same Upgrade Code (Project->Options->Project IDs) for both versions
- if the above are true, please send us installation log for a first time install and then for the upgrade process to support at advancedinstaller dot com

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Application Upgrades

Hi,

The old product is not found because the standard action "RemoveExistingProducts" is executed before the standard action "FindRelatedProdcuts". This can
happen if you have moved the standard actions in the sequence.

To fix the problem you need to go to Custom Actions page, select "FindRelatedProducts" , right click on it and move it before the standard action "RemoveExistingProducts". By default
it is scheduled after the standard action "AppSearch".

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aiuser
Posts: 7
Joined: Sat Oct 07, 2006 5:02 pm

Re: Application Upgrades

That has solved the problem!

I must admit I do find the user interafce for the standard actions very unintuative, I can't see how I would have spotted that FindRelatedProducts was being executed after RemoveExistingProducts from the UI.

Manny thanks for your help.

Return to “Common Problems”