Upgrading from another installer system - 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!

novisoft
Posts: 4
Joined: Wed Jan 05, 2011 11:46 pm
Contact: Website

Upgrading from another installer system

I've been using Advanced Installer for Java programs for a while now, but I've been using another package for other binary projects.

This other package is outdated and I'd prefer to upgrade and switch everything to Advanced Installer.

Current issue I'm having is having Advanced Installer uninstall an old version of our software, which has been installed by another package.

I successfully managed to get Advanced Installer to overwrite the last setup, but the old setup remains in the registry and is likely to cause confusion or frustration for uninstall.

Is there a way for me to remove the old version from the 'uninstall list'?

So far, only way I've seen would be to create an 'uninstaller' app and run it as a 'Custom Action' somewhere along the process.

Any better / easier way?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Upgrading from another installer system

Hi,
Is there a way for me to remove the old version from the 'uninstall list'?
If the package is based on Windows Installer technology you can remove it very easily by simply adding is upgrade code in the "Upgrades" page, using the "New" button.

If not, I'm afraid the only solution is to use a custom action, which must be triggered at the beginning of the installation created with Advanced Installer.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
novisoft
Posts: 4
Joined: Wed Jan 05, 2011 11:46 pm
Contact: Website

Re: Upgrading from another installer system

It was an old EXE setup (not MSI), not sure if it fits the "Under Windows Installer technology" criteria.

If it was, would I be able to find an "upgrade code" within the registry?
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Upgrading from another installer system

Hi,

An easier way to find the upgradecode is to create a verbose log while installing this EXE. The following article explains dhow to create the log.
If the log is created then most likely this is valid Windows Installer package. Simply open the log in a text editor and search for "upgradecode".

If the log is not created or it says the command line parameters used to create the log are incorrect then most likely this is not a standard Windows Installer setup package.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
novisoft
Posts: 4
Joined: Wed Jan 05, 2011 11:46 pm
Contact: Website

Re: Upgrading from another installer system

Cool - I'll look into that and let you know if it works!

Thanks for the help, Bogdan!

--
[EDIT]

Sadly, no log is created by the command line parameters. I did find a log the installer creates and no mention of an ID I can use. Seems like its not a Windows Installer Packager.

I'll have to remove the uninstall registry entry "manually" through a "custom action" binary.

Any other way to remove registry entries through Advanced Installer?

[EDIT2]

I see I can remove values through the "Regsitry" section of a project, but I see no way of removing keys.

I'm currently using v7.1.3, so maybe we can remove keys in up-to-date version of AI? If so, we'll gladly update :)
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Upgrading from another installer system

Hi,

You can remove a registry key upon install using your version too. Here are more details.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
novisoft
Posts: 4
Joined: Wed Jan 05, 2011 11:46 pm
Contact: Website

Re: Upgrading from another installer system

Nice! That works fine - thanks again!

Return to “Common Problems”