How to know the update old version is build from Installshield - Advanced Installer Community
Justin
Posts: 51
Joined: Sun Oct 18, 2020 5:53 pm

How to know the update old version is build from Installshield

Hi,
I'm using new version build from AI to update old version which build from Installshield. How do I know this update is from installshield during installation?
I will take that as condition in custom action.
Do you have any idea about this? Thanks a lot.

Best Regards,
Justin
Justin
Posts: 51
Joined: Sun Oct 18, 2020 5:53 pm

Re: How to know the update old version is build from Installshield

Hi,
I got a solution is add a registry to indicate build from Advanced installer to understand not build from Install shield.
If you have any good idea, please share to me. Thanks!

Best Regards,
Justin
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: How to know the update old version is build from Installshield

Hello Justin,

Thank you for your followup on this and for sharing your solution with us.
How do I know this update is from installshield during installation?
The upgrade process is based on two properties: the UpgradeCode and the ProductCode. These properties are proprietary to the Windows Installer technology.

With that being said, I'm afraid it is not possible to know whether the version of your product was build with InstallShield or with Advanced Installer - at least not programatically.

However, a solution would be manually adding a registry key whose value indicate that, as you have done.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Justin
Posts: 51
Joined: Sun Oct 18, 2020 5:53 pm

Re: How to know the update old version is build from Installshield

Hi Catalin,
Thanks for your kindly reply.

Best Regards,
Justin
Catalin
Posts: 7852
Joined: Wed Jun 13, 2018 7:49 am

Re: How to know the update old version is build from Installshield

You are always welcome, Justin!

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”