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

Custom MSI switch

Sun Aug 10, 2014 4:53 pm

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

Mon Aug 11, 2014 6:34 am

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

Mon Aug 11, 2014 12:59 pm

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

Mon Aug 11, 2014 1:06 pm

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”