Archive: Small bug


Small bug
Here's something I noticed just now...
With this, first time it works and places all the files where they should go.

IfFileExists "$EXEDIR\manual\manual.htm" +3
SetOutPath "$EXEDIR\manual"
File "${NSISDIR}\mappackager\manual\manual.htm"
IfFileExists "$EXEDIR\manual\pics\dialog*" +3
SetOutPath "$EXEDIR\manual\pics"
File "${NSISDIR}\mappackager\manual\pics\dialog*"

Second time I run it, it places the dialog* files all over the C: drive, when it is not meant to extract them at all.

I fixed it by having to do this:
IfFileExists "$EXEDIR\manual\manual.htm" skip1
SetOutPath "$EXEDIR\manual"
File "${NSISDIR}\mappackager\manual\manual.htm"
skip1:
IfFileExists "$EXEDIR\manual\pics\dialog*" skip2
SetOutPath "$EXEDIR\manual\pics"
File "${NSISDIR}\mappackager\manual\pics\dialog*"
skip2:


-Stu

Not a bug. Read the documentation about labels.


Ok. This is a major bug this time.
I have placed a new link control on one of my pages.

Whenever I leave the page, it crashes. This happens under Win98 (at home) and under WinNT (a user reported it)

I've replaced the link with a checkbox fro now, until it is fixed?

-Stu


@kichik

>> Not a bug. Read the documentation about labels.

What do you mean exactly (link in docs) ?

i didn't found any hint concerning the 3 instructions.


Section 4.3 about labels and then 4.4 about relative jumps explain this.

Afrow, latest CVS version? I think Ramon has already fixed this.


I have to wipe my glasses again ;)

>> Note: relative jumps don't work with Exch, File,

I think that's it.


I just downloaded Development Snapshot again, and put the link back in.
It still crashes on page-leave :(

-Stu


Just tried the TestLink.exe on my Win98 machine too (came with IO) and that crashes on page-leave aswell.

-Stu


Dunno if this is anyhelp?

MAPPACKAGER executed an invalid instruction in
module <unknown> at 0000:000005d7.
Registers:
EAX=00000001 CS=0177 EIP=000005d7 EFLGS=00010206
EBX=00000000 SS=017f ESP=0065ec60 EBP=00000000
ECX=004540e4 DS=017f ESI=0000000e FS=2bff
EDX=0043003c ES=017f EDI=00000d0c GS=0000
Bytes at CS:EIP:
f0 6f ef 00 f0 83 b7 00 f0 f3 ec 00 f0 6f ef 00
Stack dump:
0000000c 0000000d 80010210 10001b6a 0065ec84 00008cf2
0065ecce 0065ec9c bff7363b 00000a04 00000408 00000001
00000000 8ccc4db7 0000017f 0065ecb0


-Stu

LINK disabled until issue is resolved.