Another problem with CSV (2003-05-25)
I found another problem with the CSV, 25th May 2003, version of NSIS.
The following code is supposed to create a shortcut on the Desktop and in the 'SM\Programs\Harbinger\' for all users.
SubSection /E "Shortcuts"
Section "Desktop"
SectionIn 1
SetOutPath "$2"
SetShellVarContext all
CreateShortCut "$DESKTOP\Harbinger 2003 Standard Edition.lnk" "$2\Harbinger.exe"
SectionEnd
Section "Start Menu"
SectionIn 1
SetOutPath "$2"
SetShellVarContext all
CreateDirectory "$SMPROGRAMS\Harbinger"
CreateShortCut "$SMPROGRAMS\Harbinger\Harbinger 2003 Standard Edition.lnk" "$2\Harbinger.exe"
SectionEnd
SubSectionEnd
But it creates the shorcuts as shown by this output log :confused:
Create folder:
Output folder: C:\Program Files\Harbinger 2003 Standard Edition
Create shortcut: C:\Documents and Settings\All Users\Start Menu\Harbinger 2003 Standard Edition.lnk
Output folder: C:\Program Files\Harbinger 2003 Standard Edition
Create folder: C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Harbinger
Create shortcut: C:\Documents and Settings\All Users\Start Menu\Programs\Startup\Harbinger\Harbinger 2003 Standard Edition.lnk
Any ideas?