vpodans
Posts: 28
Joined: Tue Dec 27, 2011 3:03 pm

Custom MSI switch

In the MSI dialog manager I modified FolderDlg by adding a checkbox there. If checkbox is unchecked, default path is used, when checked -- an alternate path is used. I created corresponding events, so in GUI it works. The question is: is there a way to attach a command-line switch, so end user can select default or alternate path?
®
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom MSI switch

Hi,

In order to check or uncheck the checkbox from command line you can use its related property as below:
  • CHECKBOX_PROP="1" (the checkbox will be checked)
    CHECKBOX_PROP="" (the checkbox will be unchecked)
Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
vpodans
Posts: 28
Joined: Tue Dec 27, 2011 3:03 pm

Re: Custom MSI switch

sounds good. Is there a way to rename this checkbox to some user-friendly name? I see, there are multiple references to checkbox name.
®
Eusebiu
Posts: 4931
Joined: Wed Nov 14, 2012 2:04 pm

Re: Custom MSI switch

Hi,

Yes, in order to change the property related to the checkbox you can select it and change its "Property name" value from the "Properties" left pane.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”