Hi,
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
Thanks in advance
Oliver
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
But it seems that the commandcode:
Function .onInit
${GetOptions} $CMDLINE "/NoShortcut" $commandLineNoShortcut
${If} $commandLineNoShortcut == "=1"
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
${EndIf}
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?code:
!define MUI_FINISHPAGE_SHOWREADME_NOTCHECKED
Thanks in advance
Oliver
Comment