Is there a way to make the NSIS installer skip certain dialogs?
It has these command-line arguments,
/S, /NCRC and /D=dir
Although /S and /NCRC can used for silent and unattended modes, is there are command-line arguments to make the installer skip certain dialogs in the installer and show the rest of the dialog? For example. skip the Welcome dialog and the next two dialogs and go to the fourth one.
/S, /NCRC and /D= are the only installer parameters with built-in support, anything else you have to handle yourself.
Pages can be skipped by calling
Abortin the page pre callback. It is also possible to jump forward a specific number of pages. TheGetOptionsmacro can be used to parse the command line.Run as
Test /SkipL /SkipCto skip both.Or:
...and run as
Test /Skip=2.