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
- :
- Windows Firewall - Adding Exceptions
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 25, 2008
02:38 PM
Windows Firewall - Adding Exceptions
Summary
Need to add application and port exceptions to Windows Firewall during install.
Details
I know that this can easily be done via a custom action using netsh.exe tool. The disadvantage of doing custom actions is that need to create corresponding custom actions for rollback and uninstall.
Ideally, this would be natively supported in Windows Installer. Searching the web, I only seemed to find one related article which appears to create its own MSI tables and using a custom FirewallInstallHelper.dll assembly. I haven't looked at it closely so not sure if anything promising there. http://msdn2.microsoft.com/en-us/library/bb173455%28VS.85%29.aspx#Integrating_into_Windows_Installer
Questions
Is configuring the Windows Firewall supported in Windows Installer (MSI tables) or InstallShield 2008 (via standard custom actions)?
How have others accomplished this in your projects - custom action using netsh.exe?
Need to add application and port exceptions to Windows Firewall during install.
Details
I know that this can easily be done via a custom action using netsh.exe tool. The disadvantage of doing custom actions is that need to create corresponding custom actions for rollback and uninstall.
Ideally, this would be natively supported in Windows Installer. Searching the web, I only seemed to find one related article which appears to create its own MSI tables and using a custom FirewallInstallHelper.dll assembly. I haven't looked at it closely so not sure if anything promising there. http://msdn2.microsoft.com/en-us/library/bb173455%28VS.85%29.aspx#Integrating_into_Windows_Installer
Questions
Is configuring the Windows Firewall supported in Windows Installer (MSI tables) or InstallShield 2008 (via standard custom actions)?
How have others accomplished this in your projects - custom action using netsh.exe?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 25, 2008
02:47 PM
Nothing in MSI or InstallShield native. But read:
http://msdn2.microsoft.com/en-us/library/bb173455%28VS.85%29.aspx
The article needs some refactoring to work with IS2008. The TARGETDIR variables are incorrect and considerations need to be made for deferred CA's and the CustomActionData property.
http://msdn2.microsoft.com/en-us/library/bb173455%28VS.85%29.aspx
The article needs some refactoring to work with IS2008. The TARGETDIR variables are incorrect and considerations need to be made for deferred CA's and the CustomActionData property.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2008
03:00 AM
Hi Aaron,
Did you manage to make it work using installscript?
Regards, Claudiu
Did you manage to make it work using installscript?
Regards, Claudiu
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)