Winamp & Shoutcast Forums

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

akshay.sharma 2nd May 2008 06:39

Customising MUI_PAGE_INSTFILES page
 
Hi, I have a custom installer. my last page MUI_PAGE_INSTFILES. Here on this page it shows a progress bar. I want to display a image on this page, which says thanks for installing....... etc. Now i have two issues:

1. How to put a image there. And when user clicks Show details btn, that image should get hide.

2. Secondly, while uninstalling the same page comes, so I don't want to show that image there.

Thanks in advance, plz reply.

jiake 2nd May 2008 06:59

If you want use different images on welcome page and finish page, you must prepare an image named "modern-wizard.bmp", use a hidden section to replace the image file on finish page:

code:
Section
SetOutPath "$PluginsDir"
File "modern-wizard.bmp"
SectionEnd



If you want to custom the finish page, an easy way is use "!define MUI_PAGE_CUSTOMFUNCTION_SHOW Function" before "!insertmacro MUI_PAGE_FINISH". Write your custom ini file completely replace the file "$PluginsDir\ioSpecial.ini".

akshay.sharma 2nd May 2008 07:24

My pages are like:

Page custom nsDialogsWelcome
Page custom nsDialogsDirectory

!insertmacro GetRoot
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
!insertmacro MUI_PAGE_INSTFILES

I want to put an image on MUI_PAGE_INSTFILES page, but I don't want to show that image on uninstall page. Moreover when the user clicks on show detail button on install page that image shud get hidden

jiake 2nd May 2008 07:37

You may try:
ShowUninstDetail Show
to directly show the details.

Do you use Marquee plug-in to show image? I never use it and I can help you anumore.

akshay.sharma 2nd May 2008 07:55

No I don't use Marquee plug-in to show image

Vytautas 2nd May 2008 12:50

Is this what you are looking for?

http://nsis.sourceforge.net/ModernUI...stalling_files
Vytautas


All times are GMT. The time now is 18:08.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.