- NSIS Discussion
- Compiler good, bad installer
Archive: Compiler good, bad installer
Joel
27th May 2003 23:35 UTC
Compiler good, bad installer
I'm attaching a problem that popup when
trying to changed my script due the new
updates...
OK, change the script, compiler sucessfull,
when run the app for test, appears an error...
check please both screenshot and script...
kichik
28th May 2003 13:11 UTC
Can you please translate that message?
Joel
28th May 2003 15:51 UTC
Racional II Installer caused on error in
<unknown>
Racional II instaler will close.
If the problems continues, try again
after rebooting PC.
I reboot my PC, and the problem stills :(
kichik
28th May 2003 16:19 UTC
Is .onInit called? Is .onGUIInit called?
Can you please attach a screen shot of the error you get with the attached program?
[edit]deleted attachment. Let me check it on my Windows 98 machine first to make sure it doesn't do too much damage[/edit]
kichik
28th May 2003 16:28 UTC
Reattached, shouldn't give too much trouble, just a general protection fault.
Joel
28th May 2003 16:38 UTC
I use
!define MUI_CUSTOMFUNCTION_GUIINIT "DetectarPC"
It's almost the same error as mine...
Crash caused on error in CRASH.EXE
Crash will close.
If the problems continues, try again
after rebooting PC.
:igor:
kichik
28th May 2003 16:42 UTC
Add a message box in .onInit and .onGUIInit and tell me if it pops up.
Does it happen in other installers? Can you please attach a small installer that crashes for you (with no File commands)?
Joel
28th May 2003 16:52 UTC
Fix my error. :)
It was
!define MUI_CUSTOMFUNCTION_GUIINIT "DetectarPC"
Maybe a bug on MUI_CUSTOMFUNCTION_GUIINIT...
I delete that define and use:
Function ".onInit"
;here was Function "DetectarPC"
FunctionEnd
Now works like the "old" ones :D
I think that could be a bug...
kichik
28th May 2003 17:01 UTC
I don't understand what you've changed. Can you please attach the new script?
Joel
28th May 2003 22:40 UTC
It was:
!define MUI_CUSTOMFUNCTION_GUIINIT
Compare the first script with this...
this one works..
kichik
29th May 2003 09:57 UTC
It was probably banner. I'll upload a new version today, won't be perfect yet but at least it'll work.