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!

psharpe
Posts: 3
Joined: Tue Sep 06, 2016 4:23 pm

Set Component Condition from Command Line

Hi,

I am trying to add 3 different configuration files to an installer, then based on the value in a variable install only the correct one. (Setting the variable value via a command line argument at installation)

I have established i can do this manually by adding the file into a folder with "install folder content to parent" set, then setting the install condition on the component that file creates to the condition.

The problem is i am running the creation of this installer via continuous integration with TFS. So i need a means to do this via the command line when the file is added at that time.

Are there any methods or other ways for me to achieve this via the command line?

thanks

For any help
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Set Component Condition from Command Line

Hello,

The existing Set Component Attribute Command Option does not support adding install condition for a component.

I have added this improvement on our TODO list and it will be available in a future version of Advanced Installer. Thank you for your suggestion.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”