Reputation: 1759
I have programmed a Bootstrapper application with WiX 3.8, which installs IIS Express 8.0 and activates IIS-features. But the feature-activation only works, when the user is a local administrator at least. How can i check in a WiX-Bootstrapper, if the user has admin rights? Thanks in advance!
Upvotes: 1
Views: 1421
Reputation: 55601
See:
•Privileged - non-zero if the process could run elevated (on Vista+) or is running as an Administrator (on WinXP).
This is similar to the Windows Installer Privileged property.
Also check that you are using the PerMachine attribute on the ExePackage element if you are using it.
Upvotes: 3