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.
Custom install page: Back or Abort also start installation
8 posts
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
Page Custom ShowFunction [LeaveFunction]
Stu
Well, I didn't have a leave page at all.
I tried adding an empty leavepage, but that doesn't help.Page custom Updates
I have some function calls in that page, could that be a problem?Page custom UpdatesShow UpdatesLeave
Can't help without the code.
Stu
Stu
Here it is, I hope you can find something. It's a bit chaotic.
Thanks for the help.
Thanks for the help.
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
Stu
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...
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...
I can't see any errors but you could start by moving everything but the code to show the dialog to sections.
Stu
Stu