|
|
#1 |
|
Junior Member
Join Date: May 2003
Posts: 4
|
Finish page
Hi all
I've trying to make installer to show custom page after file copying and do some actions before showing finish page. like this code: This works, but finish page having buttons "Back" and "Cancel" enabled. I understand that I miss something, but can't find what. Please help me a bit. Thanks, Alex. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
So your custom page goes in before the finish page?
You will need to write to the ioSpecial.ini file in your custom page function like so: code: The ioSpecial.ini file is MUI's InstallOptions file that it uses for its own pages (e.g. Welcome / Finish pages) This should hopefully work. -Stu |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: May 2003
Posts: 4
|
Yes, my custom page goes before finish page.
And I have written "Function IconsPage" already and my page works and shows fine. My question is : "Why Finish page which described as : code: has enabled "Back" and "Cancel" buttons???" How could I fix this error? (Make them disabled). |
|
|
|
|
|
#4 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
maybe attaching the hole script we can review it.
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: May 2003
Posts: 4
|
My script is very simple
I've modified standart example to make it work as mine. I found that "Cancel" button is enable when present "!define MUI_FINISHPAGE_RUN" - I think it's not correct. But all questions stay. |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Just put this in your IconPage Function.
code: This should fix it. The reason it enables the back button, is because you have a custom page befor eit. Just ike if you put a custom page beforea Directory page, you would be allowed to go back. The Finish page is actually a Custom InstallOptions page too, but because it comes after the InstFiles page as default, the back button is always greyed out. The piece of code will tell InstallOptions to grey out the back button on the finish page no matter where the finish page is. -Stu |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: May 2003
Posts: 4
|
Ok
I did not thank you for the back button. Works fine. Great thanks. Only problem with "Cancel" button remains. Is it possible to disable it too or it's a bug? |
|
|
|
|
|
#8 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Take a look here for the answer:
http://forums.winamp.com/showthread....hreadid=134996 NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|