Archive: Compiler good, bad installer


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...


Can you please translate that message?


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 :(

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]


Reattached, shouldn't give too much trouble, just a general protection fault.


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:

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)?


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...

I don't understand what you've changed. Can you please attach the new script?


It was:
!define MUI_CUSTOMFUNCTION_GUIINIT
Compare the first script with this...
this one works..


It was probably banner. I'll upload a new version today, won't be perfect yet but at least it'll work.