Detect installed version and upgrade optionally - 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!

jejin
Posts: 4
Joined: Thu Jul 22, 2010 5:02 am

Detect installed version and upgrade optionally

May I know how to detect installed version of my product installed by AdvancedInstaller? Isn't the information in HLKM\Software\Microsoft\Windows\CurrentVersion\Uninstall? (I am still using Advanced Installer 6.0 to create installer of my product).
I don't want automatic upgrade, I want more control such as, getting the existing version number, compare with latest version number, if there is no critical changes in latest version compared to installed version, the installer will tell the user that it is optional to upgrade, if there is critical changes, then the installer will tell the user it is mandatory to upgrade. This feature is important for us because our product is mission critical I don't want user to do unnecessary upgrade during production time.
.
jejin
Posts: 4
Joined: Thu Jul 22, 2010 5:02 am

Re: Detect installed version and upgrade optionally

Actually I found advanced installer already had the ability to customize upgrade rule. But I am still interested to know how I can query previous version installed by Advanced Installer because I plan to try some other software to create installer and not to use Advanced Installer's customizable upgrade rule.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Detect installed version and upgrade optionally

Hello,

Indeed the install information can be found at the registry location you specified in your first post.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/
jejin
Posts: 4
Joined: Thu Jul 22, 2010 5:02 am

Re: Detect installed version and upgrade optionally

GabrielBarbu wrote:Hello,

Indeed the install information can be found at the registry location you specified in your first post.

Best regards,
Gabriel
No. I double checked a few programs installed by Advanced Installer, they are not in the registry. For programs installed by NSIS, they are.
jejin
Posts: 4
Joined: Thu Jul 22, 2010 5:02 am

Re: Detect installed version and upgrade optionally

jejin wrote: No. I double checked a few programs installed by Advanced Installer, they are not in the registry. For programs installed by NSIS, they are.
I finally found. It is there, but not under the product name directory, it is under a product code directory. Thanks.

Return to “Common Problems”