Hi, I am looking at this forum thread and I have downloaded the example up.zip. I included it in my script and came up with an error that I do not understand. The error is:
Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Error: resolving leave-page function ": User name and password" in install pages
Note: uninstall functions must begin with "un.", and install functions must not
Error - aborting creation process
I think it has something to do with the following part of my script:
Page custom SetCustom ": User name and password" ;Custom page. InstallOptions gets called in SetCustom.
Must I change the value of ": User name and password" to the user name and password of my choice?
For a better understanding I am attaching my script too. Sorry if my question sounds redundant but I am a newbie to programming.
Thanks!🙂
error while creating password
7 posts
Remove the ": User name and password" and password part from:
Page custom SetCustom ": User name and password" or at least comment it out like this.
Page custom SetCustom ;": User name and password"
Page custom SetCustom ": User name and password" or at least comment it out like this.
Page custom SetCustom ;": User name and password"
Hey thanks scully13, it works fine now. I did not know it was as easy as commenting out that part of the script. Thanks a million!!
I think the code snippet you used was old. ": User name and password" would have originally set the Custom Page's title, but now that's where the Custom Page Leave Function is defined.
-Stu
-Stu
Thanks for the info Afrow UK. Now it makes sense!!
Originally posted by Afrow UKIs there anyway to give it a custom page title since it changed?
I think the code snippet you used was old. ": User name and password" would have originally set the Custom Page's title, but now that's where the Custom Page Leave Function is defined.
-Stu
See NSIS User Manual section 4.5.4:
If your custom page does not need a "leave" function, use
Page custom SetCustom "" ": User name and password"
If your custom page does not need a "leave" function, use
Page custom SetCustom "" ": User name and password"