What if you need to run exe as admin mode?
Currently Build Specifications is not enought for doing it.
Here you are what you need to do:
1. Built the executable
2. Install mt.exe (https://www.microsoft.com/en-us/download/confirmation.aspx?id=8279)
3. Opened cmd as adminstrator and ran mt.exe -inputresource:"Application directory\application.exe" -out:application.manifest
4. Opened application.manifest and changed input="asInvoker" to "requireAdministrator".
5. Saved application.manifest
6. ran mt.exe -manifest:application.manifest -outputresource:"Application directory\application.exe";#1
Is it an effective method?
It would be better the following:
1. Create Manifest
2. Easy modification in My Application Properties
Hope it helps to do a more effective LabVIEW!
Álvaro
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.