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!

andyeaust
Posts: 20
Joined: Mon Mar 05, 2018 10:14 am

Multible Instances Install/Uninstall Component only in first Instance

Hello,

i have a question about the Multiple Instance Installation with Parameter "Generate instance at Installation Time".


We have a Component that should only be installed at the first instance because there are Files that needed by all instances.
Is that possible?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Multible Instances Install/Uninstall Component only in first Instance

Hello and welcome to Advanced Installer forums,

In order to achieve this you can take advantage of the AI_EXIST_INSTANCES property. This property is not set when installing the default instance ( when running for the first time the installer on a machine).

So, the condition would be NOT AI_EXIST_INSTANCES since you need a condition that is evaluated as true in order to have those files installed. You can take a look on the How to conditionally install a file or a registry article which may be useful to you.

Please let me know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
andyeaust
Posts: 20
Joined: Mon Mar 05, 2018 10:14 am

Re: Multible Instances Install/Uninstall Component only in first Instance

Thanks for your help. Thats what i need

Return to “Building Installers”