|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Aug 2007
Location: Ruhrpott, Germany
Posts: 37
|
Custom install page: Back or Abort also start installation
Well, the problem is quite strange. I have a custom page that basically just starts a bunch of other installers. NSIS automatically added a Install button and waits for the user to press it to start the installations.
That works fine, but the same happens when I press Back or Abort or X. It still starts the installers. If I press the abort button I get an abort confirmation box, but the installer still runs along merrily after I click "yes, I want to abort". I can only get it to stop by aborting the process from the task manager. I could disable the back button, but I do need a way to abort the installer at this time. I don't think this is working as intended, please give me a hint how to avoid this behaviour. |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
You must have your custom page set up incorrectly, i.e. you are calling nsDialogs/InstallOptions from the leave function as opposed to the show function.
Page Custom ShowFunction [LeaveFunction] Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2007
Location: Ruhrpott, Germany
Posts: 37
|
Well, I didn't have a leave page at all.
code: I tried adding an empty leavepage, but that doesn't help. code: I have some function calls in that page, could that be a problem? |
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
Can't help without the code.
Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Aug 2007
Location: Ruhrpott, Germany
Posts: 37
|
Here it is, I hope you can find something. It's a bit chaotic.
Thanks for the help. |
|
|
|
|
|
#6 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
I doubt that script even compiles as your page show function is FrameworkShow and yet you have Page Custom Framework as opposed to Page Custom FrameworkShow.
Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Aug 2007
Location: Ruhrpott, Germany
Posts: 37
|
Ah well, I just forgot to take that out after experimenting with a leave page.
I wouldn't have compiled anyway, since I had to clean up some stuff, cut out program names and texts. I added a compiling version, if that helps... |
|
|
|
|
|
#8 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
I can't see any errors but you could start by moving everything but the code to show the dialog to sections.
Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|