Hi.
Is there any way I can conditionally enable or disable controls using install script in installshield?
I have a text box that I only want enabled based on the user's selection of a Radiobutton in the group above. In other words, if option "a" is selected the user does not have to fill in the text box, but if option "b" is selected, the text box becomes enabled to allow the details to be entered...
Is there any way I can access/set the "enabled" property of the text box through installscript?
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Enable/Disable Controls
Started by
Lost Sheep
, Sep 19 2002 15:30
3 replies to this topic
Posted 26 September 2002 - 11:54
You should use the ControlCondition table.
Use the DirectEditor to add 2 conditions to the table, specifying that the edit field (and accompanying text tag) should be Enabled/Disabled depending on the value of the radio button property. That will adjust their state accordingly. It's how the License Agreement dialog works.
Use the DirectEditor to add 2 conditions to the table, specifying that the edit field (and accompanying text tag) should be Enabled/Disabled depending on the value of the radio button property. That will adjust their state accordingly. It's how the License Agreement dialog works.
Posted 25 March 2010 - 12:30
How to do it?
I'm using install script msi project and can not find any conditions window in the dialog view and I can not enable/Disable controls.
I'm using install script msi project and can not find any conditions window in the dialog view and I can not enable/Disable controls.
Posted 30 March 2010 - 15:33
InstallScript MSI doesn't use Windows Installer's dialogs. Instead it uses InstallScript to display dialogs, and thats a completely different technology. You will need to edit your InstallScript for this purpose.
Please start a new thread in the "InstallScript MSI" section of this forum if you have questions how to do this.
Please start a new thread in the "InstallScript MSI" section of this forum if you have questions how to do this.
Stefan Krüger
InstallSite.org twitter facebook