Old 8th January 2008, 19:00   #1
vaughnsphotoart
Junior Member
 
Join Date: Jan 2008
Posts: 2
Jump to global label, but all controls are disabled

Hello. I'm a total n00b at NSIS, and yet somehow have managed to make an installer that mostly works, much to NSIS's credit.

I have an installer that uses the MUI. I insert a custom page for getting user input using nsDialogs, and give the function a global label. Upon the intial iteration through the dialog it works fine. I then attempt to download a file using inetc, and if the download fails (any status other than "OK"), jump back to the global label to get the user input again.

When I jump back to the global label, the dialog renders, but all buttons are greyed out, including the red X in the corner of the installer. I have to CAD to kill the process.

I've attached the .nsi in question. If you want to test the resulting EXE, you can use install code 2502 for a correct install (this adds a signature file to Windows Mail in Vista only) or use 9999999 to make it fail.

I'm obviously doing something wrong, but I don't even know what to search for on the forums to resolve it. Any pointers (on this problem, or on improving my installer in general) would be welcome.
Attached Files
File Type: nsi ecard_installer9.nsi (3.9 KB, 166 views)
vaughnsphotoart is offline   Reply With Quote
Old 8th January 2008, 19:34   #2
vaughnsphotoart
Junior Member
 
Join Date: Jan 2008
Posts: 2
Installer attached, if you don't have the plugins to compile it with

see attached (inside zip file)
Attached Files
File Type: zip ecard-installer9.zip (83.5 KB, 196 views)
vaughnsphotoart is offline   Reply With Quote
Old 9th January 2008, 09:42   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
You cannot display custom pages while on another page.
I.e. You can only show pages in the show function [CustomPageShow] of Page Custom CustomPageShow CustomPageLeave

Stu
Afrow UK 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