Using FirewallException api in Wix to apply setting to all network profiles in Win7

StackOverflow https://stackoverflow.com/questions/3666581

  •  01-10-2019
  •  | 
  •  

문제

An installer with wix I've made uses the FirewallException api to register some components of the package with the Windows firewall, in order to try and prevent firewall popups.

It seems that in Windows7, it only registers with exception for the network profile (ie Work/Home/Private) that is currently active when the user runs the installer. When the user changes network profile, and runs our application, they are presented with firewall popups.

Can we use the firewall exception to apply the settings to all Network Profiles? The syntax I'm currently using is:

<fire:FirewallException Id="XXXX" Name="Program Name" Scope="any" File="WixFileRef"/>
도움이 되었습니까?

해결책

Your code didn't come through but you can control the profile(s) used using the Profile attribute. It's available in WiX v3.5 and later.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top