Afrow UK
29th March 2003 09:39 UTC
Bug?
http://myweb.tiscali.co.uk/imker/afr...ics/nsis_1.jpg
I get this when I run my logging program.
It happens after the 'Medic Heals' count, which makes you assume that it is the 'Medic Heals' count function, or maybe the next count function that is causing this error.
BUT
If I blank out the Calls for all functions accept the first function (for getting the 'kills' count,) then instead I get this error appearing from that function instead!
Is this some bug being caused by the compiler?
opcode, I assumed the IntOp, but that looks fine:
IntOp $3 $3 + 1
Another problem I have:
I have a Custom Page MainPage in my script, and then I have a InstFiles page. However, the Next > button on the Custom Page doesn't go to the InstFiles page, but instead does nothing.
I have included the whole script below.
kichik
29th March 2003 13:52 UTC
Can you please pin point the exact command that causes this message?
The next button that does nothing was caused because you had only that custom page defined and no other page. When using Page you have to define all of the pages that your installer is using.
Afrow UK
29th March 2003 15:35 UTC
Originally posted by kichik
Can you please pin point the exact command that causes this message?
The next button that does nothing was caused because you had only that custom page defined and no other page. When using Page you have to define all of the pages that your installer is using.
I have narrowed it down to the SpecialKillsCount, because clearing the whole of that function fixes it.
I'm now going to remove parts of the function until it stops happening.
-Stuart
kichik
29th March 2003 15:41 UTC
You can also add DetailPrint before each command until you see one DetailPrint that isn't printed and then you'll know the command before it is the one.
Afrow UK
29th March 2003 16:01 UTC
Here is what I removed, and that fixed it. I can't see anything visually wrong though! Can you?
Push $1
Push "${NAME}'s handgrenade"
Call StrStr
Pop $2
# Add to count
StrCmp $2 "" +3
IntOp $7 $7 + 1
OMG wait...
I haven't changed the +3 to a +2!!!
ACK
It works now.
-Stuart
Joost Verburg
29th March 2003 18:11 UTC
That's right :) Invalid jumps cause this error.
kichik
29th March 2003 18:16 UTC
That's actually Exch not having anything to Exch with because that wrong jump skipped a Push.