Prev Previous Post   Next Post Next
Old 12th April 2018, 07:00   #1
Junior Member
Join Date: Apr 2018
Posts: 6
Create shortcut optionally by commandline


I try to add a command line option to enable Shortcut Creation in my NSIS script - but it's not working as expected.

I use the SHOWREADME options to show the checkbox in the last page of the installation wizard - and add the following line to Init function


Function .onInit

${GetOptions} $CMDLINE "/NoShortcut" $commandLineNoShortcut
${If} $commandLineNoShortcut == "=1"

But it seems that the command


do not work at this part of the script - the checkbox is always checked! Also if if use the checked command line option - how can I customize my script that it use my command line option? Can I set the value for MUI_FINISHPAGE_SHOWREADME_NOTCHECKED?

Thanks in advance
OliverM is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

command line options, nsis, shortcut

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump