steewan
10th November 2003 15:57 UTC
Modern UI StartMenu-Page
Hello,
why does the StartMenu-Page has no Show-Function. Is it a big effort to include a show function to the Startmenu-Page or can someone tell me how I can skip it if a special option is selected ?
I have tried it with the pre-function:
Test
StrCmp${INSTALL_VERSION} "3" not_abort_startmenu +1
MessageBox MB_OK "Abort Startmenu ${INSTALL_VERSION}"
Abort
not_abort_startmenu:
>FunctionEnd
>
But it seems that the variable ${INSTALL_VERSION} is not set.
Best regards
Stefan
Joost Verburg
10th November 2003 16:03 UTC
You can skip the page in the Pre function (not the Show function, which can be used to modify fonts/colors of custom pages).
${INSTALL_VERSION} is a compile-time defined symbol, you can't assign a value to it on run-time.
You should define a variable
Var INSTALL_VERSION
and use
$INSTALL_VERSION
Comm@nder21
10th November 2003 18:04 UTC
also, u can write 0 instead of +1 in relative jumps :)
deguix
12th November 2003 22:11 UTC
Or nothing, because the "go_to_if_not" parameter is optional.
Means:
StrCmp ${INSTALL_VERSION} "3" not_abort_startmenu +1
=
StrCmp ${INSTALL_VERSION} "3" not_abort_startmenu