Page 1 of 1

Create shortcut on desktop

Posted: Wed May 25, 2011 3:54 am
by tosch
In out app we can run any updates using a different account (which has admin privileges).

When I create a shortcut on the desktop will the shortcut be on the users desktop or on the desktop of the user running the update?

Thomas

Re: Create shortcut on desktop

Posted: Wed May 25, 2011 9:33 am
by giaviv
Dear Thomas,

That really depends on where you create the shortcut - if you create it in \Users\{USERNAME}\Desktop that it will be in that user's desktop..

Re: Create shortcut on desktop

Posted: Thu May 26, 2011 2:07 am
by tosch
The shortcut is created like this:

Create Shortcut $DESKTOPDIR$\MyAppname to $TARGETDIR$\MyAppname.exe

so I guess this is on the desktop of the user running the setup, in my case the admin account.
Thomas

Re: Create shortcut on desktop

Posted: Thu May 26, 2011 6:40 am
by giaviv
Exactly.