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: Radio Button Controls
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
Jun 17, 2011
03:56 PM
Radio Button Controls
I created a new Basic .MSI project. I then created a custom dialog. On this custom dialog I added a Radio Button Control Group. I then added 2 radio buttons within this control group. They are:
Run Regedit
Run Explorer
Run Regedit has a value of 1
Run Explorder has a value of 2
But since they are inside a control group I can't execute Regedit or Explorer when they are picked. I've even tried to have my NEXT button have the Radio Button Control group as it's argument but that did not work.
So I guess my question is this. How do you have a radio button call the program you want? And once that program is run return to your .MSI script for the next dialog?
Thank you.
Run Regedit
Run Explorer
Run Regedit has a value of 1
Run Explorder has a value of 2
But since they are inside a control group I can't execute Regedit or Explorer when they are picked. I've even tried to have my NEXT button have the Radio Button Control group as it's argument but that did not work.
So I guess my question is this. How do you have a radio button call the program you want? And once that program is run return to your .MSI script for the next dialog?
Thank you.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jun 17, 2011
05:15 PM
What's the ControlEvent used to launch the program? If you have not, please familiarize yourself with RadioButtonGroup Control, PushButton Control and a list of available Control Events. Depending on Windows Installer version, you may be able to use DoAction ControlEvent or MsiLaunchApp ControlEvent.
hh1234 wrote:
But since they are inside a control group I can't execute Regedit or Explorer when they are picked. I've even tried to have my NEXT button have the Radio Button Control group as it's argument but that did not work.
So I guess my question is this. How do you have a radio button call the program you want? And once that program is run return to your .MSI script for the next dialog?