NSIS Error during compiling

Dan Czuchra <[email protected]> Wed, 5 Feb 2014 15:59:06 -0600
Newsgroups gmane.comp.video.videolan.vlc.general
Message-ID <[email protected]>
Hi,



I'm trying to customize VLC 2.1.3 for distribution across a corporate
network for Windows 7 via WSUS.  In versions 2.1.0 and below; I was able to
customize the installer to disable updates and not create a desktop icon
for users.



For 2.1.0 I would add /o to this section of the .nsi file to stop the
desktop icon from being created:



Section /o $Name_Section02b SEC02b

  SectionIn 1 2 3

  CreateShortCut "$DESKTOP\VLC media player.lnk" \

    "$INSTDIR\vlc.exe" ""

SectionEnd



However if I do this in versions 2.1.1-2.1.3; the /o causes the script
compiler to fail:



${MementoSection} /o $Name_Section02b SEC02b

  SectionIn 1 2 3

  CreateShortCut "$DESKTOP\VLC media player.lnk" \

    "$INSTDIR\vlc.exe" ""



${MementoSectionEnd}



What do I need to differently in the newer version of the NSIS script? Is
there a better way I should be doing this? Any help would be greatly
appreciated.



Thanks!



Dan

______________________________________________________
vlc mailing list
To unsubscribe or modify your subscription options:
https://mailman.videolan.org/listinfo/vlc