Archive: Conditional caption change and page display


Conditional caption change and page display
I wanna change the installer caption and display or hide certain page depending on the cmd line parameter ,is it possible to achieve?


You could use variables in the caption or any other string and set those variables according to whatever conditions you wish, including the command line.

Var CAPTION
Caption $CAPTION
Function .onInit
${If} $0 == "something"
StrCpy $CAPTION "some caption"
${EndIf}
FunctionEnd