I have one .net application that will be installed in the โprogram filesโ working in two different modes:
- "ADVANCED_MODE" with all plugins that must display the UAC to run as administrator
- "BASIC_MODE" with several plugins which should work as usual by the user
What to do to solve this case?
If I insert a manifest file ( requireAdmininstalled), it will not work for BASIC_MODE. If I do not use manifests, then I have no way to pop up in UAC in ADVANCED_MODE. If I use " asInvoker" or " highestAvailable", I get strange effects when starting the application from Program Files as a normal user account: it closes immediately after launch without any failure.
What would you do? What are my options?
source
share