[wix-devs] FirewallException to winmgmt (WMI In)
rob at firegiant.com
Wed Dec 21 17:27:15 PST 2016
IIRC, the WixGamingExtension is a pretty self-contained good example.
Also, I generally despise shelling out to executables when there is a Windows API available. So look for that before writing a bunch of ::CreateProcess() code.
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Ofir Cohen
Sent: Wednesday, December 21, 2016 5:19 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] FirewallException to winmgmt (WMI In)
Got it, thanks a lot :-)!
I know that this isn't just about executing the "netsh advfirewall" command, it's about doing it in a transaction-like approach so if the installer for instance fails during execution, I need to rollback my CA.
Could you please recommend a tutorial/walkthrough on how to implement it safely?
Even a "Hello World" .wxs with a minimalistic custom CA that captures the "install-rollback-uninstall" cycle will be great!
More information about the wix-devs