HI guys,
is there anyway whatever that I can prevent the run as administrator dialog box appearing
I dont want my users to have to keep right clicking every time to open my exe from a desktop shortcut
This is the Windows OS normal behavior when opening applications which require Administrator privileges. To avoid this you can try making sure that your application doesn't need Administrator privileges to run:
- it does't write data in per-machine locations
- the main application EXE has a manifest with an "As Invoker" execution level
I dont really understand this tbh..(will read up though)
I do notice that if i click on the exe on the desktop it runs no problem no run as admin dialog.
if i install the same exe file to the progam files folders and create a shortcut on the desktop, it gives me the run as administator dialog......same exe but depending on location different restrictions.
i dont get it, if the exe was writing as per machine basis or a "as invoker" manifest, surley it would bring up the dialog
run as admin...wherever it was launched.
FOLLOW US
Get the latest news in Application Packaging