Run as Admin on First Launch ONLY
I just packaged an application which has a shortcut that runs an EXE from a network drive. The problem is, it requires to be run as admin for the first launch and the subsequent launches are fine.
I am trying to fix this issues with creating a shim using ACT but it's not working. I have never created shims before and this is my first time and am only following instructions I can find on the internet.
I have tried the RunAsInvoker and RunAsAdmin both. If I use RunAsInvoker, I get the UAC prompt and the app launches fine if I click YES but with RunAsAdmin, I just get an error.