This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Show/Hide a control in a custom dialog during install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2008
10:08 AM
Show/Hide a control in a custom dialog during install
I've created a custom dialog in my InstallScript project and I'm trying to figure out how to show/hide a control (edit box) based on the selection of radio buttons in the same dialog. There may be a knowledge base article explaining how this is done, but now that everything has moved to Acresso, I can't access the articles anymore. 😞 I've been reading about the ControlCondition table and it sounds like I need to edit this in order to change the visibility property of my control during installation. Is this correct? If so, how do I do it and what code do I need in my Install script? I'm still fairly new to InstallShield, so if anyone could provide some useful instructions that would be great.
Thanks!
Clark
Thanks!
Clark
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2008
11:29 AM
For IntsallScript, please see [thread=179248]this recent thread[/thread]. The ControlCondition and related tables are used only in Basic MSI projects.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2008
11:57 AM
Right, I can disable the controls just fine, but what I would really like to do is work with the visibility of the control. Is there any way to change the value of the visibility property within the install script?
Thanks.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2008
12:37 PM
Oh, right, I believe it would be similar, with calls to EnableWindow replaced with ShowWindow.
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)