vun
21st September 2004 11:01 UTC
error while creating password
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!:)
scully13
21st September 2004 14:31 UTC
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"
vun
22nd September 2004 02:21 UTC
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!!
Afrow UK
22nd September 2004 13:26 UTC
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
vun
23rd September 2004 04:58 UTC
Thanks for the info Afrow UK. Now it makes sense!!
Urd
28th September 2004 23:50 UTC
Originally posted by Afrow UK
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
Is there anyway to give it a custom page title since it changed?
pengyou
29th September 2004 02:34 UTC
See NSIS User Manual section 4.5.4:
http://nsis.sourceforge.net/Docs/Chapter4.html#4.5.4
If your custom page does not need a "leave" function, use
Page custom SetCustom "" ": User name and password"