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!

Cashels
Posts: 2
Joined: Thu Apr 17, 2014 4:07 pm

Condition Based on a Parameter passed to the MSI

The MSI allows to pass parameters like /quiet and others. It also allows to set Properties from commandline.

What I have done is creating a property via the Table Editor in the Property Table. I would like to make from this value condition, if a component should be installed or not.

But I have no idea how to read my value from the Table and make a condition of this.

Any ideas?

PS: The background is to define if a desktop shortcut should be created or not, depending on the passed parameter in the MSI.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Condition Based on a Parameter passed to the MSI

Hello and welcome to Advanced Installer forums,

Please note that a similar subject is debated on our Custom Features Installation Through Command Prompt forum thread.

Let us know if you need any help.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Cashels
Posts: 2
Joined: Thu Apr 17, 2014 4:07 pm

Re: Condition Based on a Parameter passed to the MSI

Thanks a lot.
The Set Property Custom action was my missing information.

Problem solved
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Condition Based on a Parameter passed to the MSI

You're welcome,

I'm glad you got this working. 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”