rsegal
28th July 2003 21:05 UTC
Problem with InstallOptions in latest development snapshot
I got the latest CVS development snapshot today and have run into a problem with a install options
I have a custom page at the end of my installer that allows the user to perform certain actions once they hit "Finish" to close the installation. These actions are selectable in a list of checkboxes.
If I select a checkbox and then hit the "Back" button to return to the previous page InstallOptions will crash. If I leave the default settings I have set for the checkboxes and hit "Back" everything works great. Also if I leave the default checkbox selections and hit "Finish" to finish the install process everything works great. Any thoughts on why this could be happening? Everything worked great prior to the latest snapshot.
rsegal
28th July 2003 21:10 UTC
More details....
I replaced the InstallOptions.dll with an older version and everything works great. I tried to build a debug version of InstallOptions.dll to see what was wrong but I keep getting the following compiler errors. I'm pretty sure these constants are defined as I was able to look them up on MSDN so I don't know why I'm getting errors. Maybe an out of date library or something.
C:\Program Files\NSIS\Contrib\InstallOptions\InstallerOptions.cpp(765) : error C2065: 'COLOR_HOTLIGHT' : undeclared identifier
C:\Program Files\NSIS\Contrib\InstallOptions\InstallerOptions.cpp(800) : error C2065: 'IDC_HAND' : undeclared identifier
Anyone have a debug version of InstallOptions available?
Afrow UK
28th July 2003 21:10 UTC
Have you got a link control on your Finish page?
If so then that is causing the problem, and removing that should fix it.
This is a bug, and is yet to be fixed (I am waiting for it to be fixed myself)
-Stu
rsegal
28th July 2003 21:12 UTC
No, no link control.
Afrow UK
28th July 2003 21:16 UTC
Ok, another bug :(
Have you tried moving the custom page to before the Finish page?
-Stu
rsegal
28th July 2003 21:44 UTC
Essentially it is before the finish page as I have eliminated the standard finish page completely. My custom page replaces what would be the regular finish page.
kichik
3rd August 2003 22:57 UTC
To compile IO you need the latest Platform SDK.
Please try InstallOptions.dll in the latest CVS version.
ramon18
4th August 2003 10:50 UTC
Hi rsegal,
Can you post more info? Which OS version, attach ini file and script function for your custom page function
TIA
ramon18
4th August 2003 16:17 UTC
Try latest CVS, a bug has been fixed by Kichik
rsegal
14th August 2003 04:19 UTC
I haven't tested it extensively but the latest dev snapshot's seem to work for me. Thanks all for your help.