Discussion:
[WiX-users] Delete/Add Firewall exception
Harrison Le
2009-02-12 22:32:09 UTC
Permalink
How can I translate these commands into WiX:
netsh advfirewall firewall delete rule name="User Mode Remote Desktop"
netsh advfirewall firewall add rule name="User Mode Remote Desktop" dir=in protocol=tcp localport=3389 service=termservice action=allow enable=yes
?

Thanks,

- Harrison
Bob Arnson
2009-02-16 03:26:39 UTC
Permalink
Post by Harrison Le
netsh advfirewall firewall delete rule name="User Mode Remote Desktop"
netsh advfirewall firewall add rule name="User Mode Remote Desktop" dir=in protocol=tcp localport=3389 service=termservice action=allow enable=yes
?
The attributes to FirewallException are fairly straight mappings to the
netsh command line; which are you have difficulties with? Note that
WixFirewallExtension doesn't use INetFwRule*, so advanced features like
direction aren't supported.
--
sig://boB
http://joyofsetup.com/
Loading...