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
- :
- How to pass parameter to custom Action script in InstallShield?
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 09, 2011
03:26 AM
How to pass parameter to custom Action script in InstallShield?
I made the following script
"[SystemFolder]cmd.exe" /c "netsh advfirewall firewall add rule name="RuleName" action=allow protocol=TCP dir=in localport=399"
and i made a dialog in setup that take the Port number and set it to a property called ServerPort ..
now my question is how to pass this value to this script ?
"[SystemFolder]cmd.exe" /c "netsh advfirewall firewall add rule name="RuleName" action=allow protocol=TCP dir=in localport=399"
and i made a dialog in setup that take the Port number and set it to a property called ServerPort ..
now my question is how to pass this value to this script ?
(4) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2011
05:00 AM
Why dont you use VBS instead of command prompt? This will be silent
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2011
05:40 AM
I dunno how to do that 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 09, 2011
06:03 AM
If it's Basic MSI project
Save the value to a public property [TEST]--all caps in your dialog which can be retrieved in your script using MsiGetProperty
Save the value to a public property [TEST]--all caps in your dialog which can be retrieved in your script using MsiGetProperty
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 12, 2011
07:58 AM
thanks a lot
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)