FirewallException for perUser installation #8985
-
Hi! I'm developing an installer using WiX5 (also tried latest 6.0.0.rc-2) and would like to add an FirewallException for my application. If I set Could you tell me if it's possible to use FirewallException for perUser installation without elevation? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Have you configured the Firewall rules like this without WiX being involved at all? Make sure that when you're trying to configure the firewall rules, you've got UAC enabled, but don't approve any UAC requests (because that would then be an elevation requirement). |
Beta Was this translation helpful? Give feedback.
Not really... that's not how the Windows Installer system wants things to be.
If you are authoring a perUser package, then any user without admin privileges is supposed to be able to install it, in face multiple users are supposed to be able to install it on the same machine all independently. It's kind of like the Windows Installer version of a 'portable app', everything that the installer touches should be ONLY for that user, and not visible to any other user.
Based on this, your firewall concept isn't correct. Firewall rules are shared a…