Desktop Shortcut problem - Part 2
Posted: Sun Apr 03, 2016 11:54 am
I am going a bit wacky here.
I am trying to create an install for a single user.
I have a variable DTOP set to the users Desktop
Get Folder Location System->Desktop Directory into DTOP
~InstallAware Clipboard Data~
~Get Folder Location~
~{CCEB9F18-4EF5-410E-B3FB-6DB2584B2AA6}~
~DTOP~
~17~
~FALSE~
When I go create a shortcut using the following
Create Shortcut $DTOP$\Hurrtrak EMPro to $TARGETDIR$\hurrtrak.exe
~InstallAware Clipboard Data~
~Create Shortcut~
~{A0B5DE4B-41B1-4A5D-8CA6-487859978166}~
~$TARGETDIR$\hurrtrak.exe|FALSE~
~Hurrtrak EMPro~
~$DTOP$|FALSE~
~~
~~
~|FALSE~
~|FALSE~
~0|~
~0|~
It is installing to the public desktop folder.
Using display message I am confirming that the DTOP variable is set to C:\users\george\desktop
But the shortcut ends up at c:\users\public\desktop
How can this happen when I never set DTOP to the public desktop location?
Help is definitely needed here.
Thanks,
George
PS.. I chose DTOP after trying the normal variable of DESKTOP to make sure it was not being set somewhere else.
I am trying to create an install for a single user.
I have a variable DTOP set to the users Desktop
Get Folder Location System->Desktop Directory into DTOP
~InstallAware Clipboard Data~
~Get Folder Location~
~{CCEB9F18-4EF5-410E-B3FB-6DB2584B2AA6}~
~DTOP~
~17~
~FALSE~
When I go create a shortcut using the following
Create Shortcut $DTOP$\Hurrtrak EMPro to $TARGETDIR$\hurrtrak.exe
~InstallAware Clipboard Data~
~Create Shortcut~
~{A0B5DE4B-41B1-4A5D-8CA6-487859978166}~
~$TARGETDIR$\hurrtrak.exe|FALSE~
~Hurrtrak EMPro~
~$DTOP$|FALSE~
~~
~~
~|FALSE~
~|FALSE~
~0|~
~0|~
It is installing to the public desktop folder.
Using display message I am confirming that the DTOP variable is set to C:\users\george\desktop
But the shortcut ends up at c:\users\public\desktop
How can this happen when I never set DTOP to the public desktop location?
Help is definitely needed here.
Thanks,
George
PS.. I chose DTOP after trying the normal variable of DESKTOP to make sure it was not being set somewhere else.