installer - How to force rights elevation for WiX setupbld.exe -


I created an MSI file and setup.exe with setupbld.exe. I have to put this shield on the setup.exe icon, so when the user tries to run this installer, the user will immediately get this screen (UAC) height. What should I do?

Currently I create setup.exe with the following CMD line:

  setupbld.exe -out c: \ Setup.exe -mpsu c: \ outtest \ A.msi -setup setup.exe -title "setup"   

Now users will have to click setup.exe and run as administrator select my application

You can edit the manifest in Setup.exe as your result and change its requestedExecutionLevel Attribute for .

However, as Bob had said, you should use better with no code bit copy. Deified custom actions can only be used for a limited number of properties, see for more information.

In addition, take a look.

Comments