Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   page pass (http://forums.winamp.com/showthread.php?t=244897)

print 29th April 2006 03:00

page pass
 
code:
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_Finish
!insertmacro MUI_UNPAGE_WELCOME
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_UNPAGE_Finish

ShowInstDetails show
ShowUninstDetails show

...

question:
if $CMDLINE == 'pass'
show UNPAGE_INSTFILES
else
show MUI_UNPAGE_WELCOME
show MUI_UNPAGE_INSTFILES
show MUI_UNPAGE_Finish
endif

uninstall parameter chcek

parameter is pass then only MUI_UNPAGE_INSTFILES show

Afrow UK 29th April 2006 09:00

To check the parameters passed, use the GetParameters function which is in the documentation under Useful Scripts.
To skip pages, declare their PRE function with !define MUI_PAGE_CUSTOMFUNCTION_PRE un.Func and call Abort in that function.

-Stu


All times are GMT. The time now is 04:48.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.