[vlc] NSIS Error during compiling
Dan Czuchra
dczuchra at bluepay.com
Wed Feb 5 22:59:06 CET 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20140205/10156e3c/attachment.html>
More information about the vlc
mailing list