Old 18th February 2020, 12:09   #1
meoit
Member
 
Join Date: Oct 2014
Location: $DESKTOP
Posts: 95
Post How to hide the INSTALLING PAGE when have custom silent

How to hide the INSTALLING PAGE when have custom silent.

I am custom the silent mode in my installer, and I want to skip /S parameter, and instead of /IS_SILENT to default parameter of the silent mode.

PHP Code:
Function .onInit
    
${GetParameters} $0
    ClearErrors
    
${GetOptions} `$0'/s' $1
    IfErrors 0 NOTIFY1
        
Goto EXIT
    
NOTIFY1:
        
MessageBox MB_OK|MB_ICONINFORMATION|MB_TOPMOST 'Please use /IS_SILENT parameter in your command line.'
        
Quit
    
EXIT:
;
    ${
GetParameters} $0
    ClearErrors
    
${GetOptions} `$0'/IS_SILENT' $1
    IfErrors 0 NOTIFY2
        
Goto START
    NOTIFY2
:
        
MessageBox MB_OK|MB_ICONINFORMATION|MB_TOPMOST 'Using /IS_SILENT parameter in the command line.'
    
START:
FunctionEnd 
All working fine, but it's alway show the INSTALLING PAGE WINDOW.

In my case, How to hide the INSTALLING PAGE WINDOW ?.

Thanks.

Last edited by meoit; 18th February 2020 at 14:51.
meoit is offline   Reply With Quote
Old 18th February 2020, 14:13   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,218
IfSilent to detect. SetSilent to change.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
custom_silent_mode

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