Old 2nd May 2008, 06:39   #1
akshay.sharma
Junior Member
 
Join Date: Apr 2008
Posts: 25
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.
akshay.sharma is offline   Reply With Quote
Old 2nd May 2008, 06:59   #2
jiake
Senior Member
 
jiake's Avatar
 
Join Date: Oct 2007
Location: Shanghai, China
Posts: 207
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".

Contact me: 137729898@qq.com
jiake is offline   Reply With Quote
Old 2nd May 2008, 07:24   #3
akshay.sharma
Junior Member
 
Join Date: Apr 2008
Posts: 25
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
akshay.sharma is offline   Reply With Quote
Old 2nd May 2008, 07:37   #4
jiake
Senior Member
 
jiake's Avatar
 
Join Date: Oct 2007
Location: Shanghai, China
Posts: 207
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.

Contact me: 137729898@qq.com
jiake is offline   Reply With Quote
Old 2nd May 2008, 07:55   #5
akshay.sharma
Junior Member
 
Join Date: Apr 2008
Posts: 25
No I don't use Marquee plug-in to show image
akshay.sharma is offline   Reply With Quote
Old 2nd May 2008, 12:50   #6
Vytautas
Major Dude
 
Vytautas's Avatar
 
Join Date: May 2003
Location: Victoria, Australia
Posts: 643
Send a message via ICQ to Vytautas
Is this what you are looking for?

http://nsis.sourceforge.net/ModernUI...stalling_files
Vytautas
Vytautas 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