![]() |
#1 |
Junior Member
Join Date: Nov 2003
Posts: 2
|
How to skip dialogs?
Hello,
I am trying to convert an installer from Installshield to NSIS. In one screen I ask if it is a new installation or an update. If it is an update the component screen should be skipped. I am using 2.0b4 and the Modern UI. I read the Modern UI Manual but cannot find the right information. It says something of defining a new function. In the prev version there was it in a way like this: !define MUI_CUSTOMFUNCTION_COMPONENTS_PRE your_function Function your_function StrCmp ${UPDATE} 0 Show_component +1 Abort Show_Component: FunctionEnd Is it right that this would skip the component page ?? And can I change the text Nullsoft Install System v2.0b4 ??? In the froum there is something with BrandingText. But I tried it and it doesn't run. regards Stefan |
![]() |
![]() |
![]() |
#2 |
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
1) You should define MUI_PAGE_CUSTOMFUNCTION_PRE, see Modern UI Readme.
2) BrandingText "yourtext" works just fine. |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|