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: netsh open firewall port
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
‎Jan 07, 2009
01:50 PM
netsh open firewall port
IN basic MSI project I have the following CA (Image attached)
command line: netsh advfirewall firewall add rule name="MyAccess" protocol=TCP dir=in localport=18777 action=allow
But firewall port isn't getting opened. Any idea what's wrong?
Thanks
command line: netsh advfirewall firewall add rule name="MyAccess" protocol=TCP dir=in localport=18777 action=allow
But firewall port isn't getting opened. Any idea what's wrong?
Thanks
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2009
03:25 PM
What happens if you do not ignore the exit code? Does it make a different if you use netsh.exe instead of just netsh? And specify [SystemFolder] (or whatever's correct) in the Working Directory field?
As an aside, actions that make system changes should be scheduled for deferred execution, usually in system context, so it might be worth changing that, too.
As an aside, actions that make system changes should be scheduled for deferred execution, usually in system context, so it might be worth changing that, too.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 07, 2009
05:18 PM
Working Directory had to be set to SystemFolder
Thanks for the tip!:)
Thanks for the tip!:)