How to set a property based on another - Advanced Installer Community

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!

gjandris
Posts: 15
Joined: Tue Jan 12, 2010 8:51 pm

How to set a property based on another

One of the products I am trying to create an msi installer for needs to have JVM parameters set depending on if the
client wants to configure clusters or not. I got around this with the gui install by setting published events on a next button
depending on which checkbox was set in a previous screen. This sets a property which has properties set from the previous
screens, then use this as the JVM parameters
This doesn't work for a silent install however. Is there a way I am missing to just set a property, based on the value of another, without tying it to a button action? After what would be the panel display. Customers will want to be able to set parameters for a silent install. I tried setting it in the Install Parameters page, but none of the properties needed to make the command are
set yet.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: How to set a property based on another

Hello,

Without a user interface, you can set properties from the command line in the form of:

Code: Select all

yoursetup.msi PROPERTY="value" PROPERTY2="value2"
Setting a property based on the value of another can be achieved using a Property Set with Formatted custom action.
Let me know if this helps.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”