That works perfectly for Win7, but not XP.

Do you have a corresponding entry for XP? 

Thanks


-----Original Message-----
From: Steven Ogilvie [mailto:steven.ogil...@titus.com] 
Sent: Friday, March 22, 2013 9:20 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] FirewallException and WCF

Classification: Public
Hey John,

This works for me:

<Component Id="cmpCreateFireWall" Guid="{<some GUID>}" KeyPath="yes">
          <!-- Add port to firewall -->
          <firewall:FirewallException Id="ManagementFirewallPort"
Port="[MANAGEMENTSERVICEPORTNUM]" IgnoreFailure="yes" Name="MYCORP Service
Port" Profile="domain" Protocol="tcp" Scope="any"/>
          <Condition><![CDATA[NOT Installed AND
SERVER_INSTALL="1"]]></Condition>
          </Component>

Steve

-----Original Message-----
From: John Lalande [mailto:j...@psrm.ca]
Sent: March-22-13 11:05 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] FirewallException and WCF

I am building an installer for a product that uses WCF and needs an
exception added to the Windows firewall.

 

Unfortunately, I have been unable to get a FirewallException element to work
for me. I found this solution at

 

http://geoffwebbercross.blogspot.mx/2011/08/wix-3-netsh-customaction.html

 

and this does work, but I would rather use the WIX FirewallException since
calling commands via a CA gives me the willies. 

 

Does anyone know how I can accomplish this?

----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



This message has been marked as Public by Steven Ogilvie on March-22-13
11:19:31 AM.

The above classification labels were added to the message by TITUS Message
Classification.
Visit www.titus.com for more information.

----------------------------------------------------------------------------
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for
free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to