Archive: Another problem with CSV (2003-05-25)


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?

Please attach (not post) the complete script, to I verify (if you want that I do it). And if you can, attach the output file to compare.


Attached the script, although the script worked fine before CSV Update.
NOTE: You can also see the script in the NSIS Example Archive as it is from a previous discussion.


Fixed, thanks.