Old 5th November 2003, 10:54   #1
steewan
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
steewan is offline   Reply With Quote
Old 5th November 2003, 12:22   #2
Joost Verburg
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.
Joost Verburg is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump