We ship a component of our software as MSI to customers who have AppLocker activated. The installation fails with AppLocker kicking in. As far as I understand, the problem is:
- AppLocker default rules only allow Administrators to install MSI files
- By design, Windows installer runs MSI files unprivileged at first and only switches later to elevated privileges
So the installer is "to late" for AppLocker. What works (only tried the 1-3):
- Open a Command Prompt as Admin and run the MSI file
- Create an AppLocker rule to allow normal users to install MSI from a specified directory
- Let a setup.exe run the MSI and run setup.exe as an Administrator
- Hack Windows to create a "run as" context menu entry for MSI files
- Wrap the MSI into a self extracting EXE
All of these are either require changes on the customer's side (2, 4), are not as easy as installing should be (1, 3) or double the packages (5). (Other customers require MSI for deployment.)
Is there an easy way to make MSI work with AppLocker?