Desktop shortcut not running as Administrator
Posted: Sat Jul 09, 2016 9:20 pm
Hi,
I am creating a Desktop shortcut with the option to "Run as administrator" but after installing it, this option will be disabled on end user computer.
I am using IA Studio X4 Build 5.13.2016 (Buddha), and I am testing this on 2 Windows 7 Pro VM x86 and x64. If I install the shortcuts on other locations like $QUICKLAUNCHDIR$, $SHORTCUTFOLDER$ or $SHORTCUTROOT$ it will work as expected, only the one with link Location $DESKTOPDIR$ will not have the "Run as Administrator" checked once installed.
Here is the command:
Any idea on what may be wrong will be greatly appreciated as always!!!
Thanks
P.S.
I already looked a the "Shortcuts sample" available from the following link http://www.installaware.com/forum/viewtopic.php?f=2&t=6772&p=25655#p25655 and don't see anything different that what I am doing.
I am creating a Desktop shortcut with the option to "Run as administrator" but after installing it, this option will be disabled on end user computer.
I am using IA Studio X4 Build 5.13.2016 (Buddha), and I am testing this on 2 Windows 7 Pro VM x86 and x64. If I install the shortcuts on other locations like $QUICKLAUNCHDIR$, $SHORTCUTFOLDER$ or $SHORTCUTROOT$ it will work as expected, only the one with link Location $DESKTOPDIR$ will not have the "Run as Administrator" checked once installed.
Here is the command:
Code: Select all
Create Shortcut $DESKTOPDIR$\TBR Utility to $TARGETDIR$\TBRUtility.exe, run as administrator
Code: Select all
~InstallAware Clipboard Data~
~Create Shortcut~
~{06E79C46-14E9-490A-9494-2DDF9E9A270A}~
~$TARGETDIR$\TBRUtility.exe|FALSE~
~TBR Utility~
~$DESKTOPDIR$|FALSE~
~ThomBiller Revision Utility~
~~
~|TRUE~
~|FALSE~
~|~
~0|~
Any idea on what may be wrong will be greatly appreciated as always!!!
Thanks
P.S.
I already looked a the "Shortcuts sample" available from the following link http://www.installaware.com/forum/viewtopic.php?f=2&t=6772&p=25655#p25655 and don't see anything different that what I am doing.