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!

egm
Posts: 1
Joined: Wed Oct 09, 2019 9:40 am

Multiple instances - How to know if it's an upgrade or a new instance installation?

Hello,

I'm running into a problem trying to find on the installer wizard dialogs (let's say on WelcomeDlg) if the current installation is for a new instance or if it's for and existing instance upgrade. Is there any property or a more complex way to know which case I'm handling after selecting a choice on the MultipleInstanceDlg?

Thank you in advance
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Multiple instances - How to know if it's an upgrade or a new instance installation?

Hello and welcome to Advanced Installer forums,

First of all, please accept my apologies for the delayed reply.

In what regards your question, I think that you can make use of the OLDPRODUCTS property.

The OLDPRODUCTS property represents a list with the Product Codes of the older versions of your installation package. This property is set only in a package which upgrades another package.

Hope this helps.

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

Return to “Common Problems”