hobbes487
14th November 2010, 17:09
I have search the forum and read all the thread relating to this topic, but cant seem to get it to work. Here is the code I am using:
createShortCut "$SMPROGRAMS\OSA\Manager.lnk" "$INSTDIR\OSAE Manager.exe"
ShellLink::SetRunAsAdministrator "$SMPROGRAMS\OSA\Manager.lnk"
The shortcut is created, but it is not set to run as administrator. I am testing on Windows 7. Do I need to use the UAC plugin?
createShortCut "$SMPROGRAMS\OSA\Manager.lnk" "$INSTDIR\OSAE Manager.exe"
ShellLink::SetRunAsAdministrator "$SMPROGRAMS\OSA\Manager.lnk"
The shortcut is created, but it is not set to run as administrator. I am testing on Windows 7. Do I need to use the UAC plugin?