I have searched the help, the examples and this message board for an answer to this problem I have.
In the Additional Tasks example, it shows how to ask and test if Desktop shortcuts should be added. But not how to actually add the shortcut.
In this forum, I see plenty of messages that thrash out the various issues, but I still cannot get it to work. I have tried all three candidate CSIDL values but none work. Here is what have tested with. I am testing this on a VMware virtual XP machine.
Code:
If %SHORTCUTDT% Equals "1" Then
Create Shortcut "LMS RESOLVE Configure" to Custom\%_CSIDL_DESKTOPDIRECTORY%\LMS RESOLVE Configure
Create Shortcut "LMS RESOLVE-CDD" to Custom\%_CSIDL_DESKTOPDIRECTORY%\LMS RESOLVE-CDD
Create Shortcut "LMS RESOLVECCDD" to Custom\%_CSIDL_COMMON_DESKTOPDIRECTORY%\LMS RESOLVECCDD
Create Shortcut "LMS RESOLVECD" to Custom\%_CSIDL_DESKTOP%\LMS RESOLVECD
Refresh Desktop()
End
Should not at least one of these work?
Thanks
John Griffiths