Old 5th July 2003, 13:13   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Small bug

Here's something I noticed just now...
With this, first time it works and places all the files where they should go.
code:
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:
code:
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
Afrow UK is offline   Reply With Quote
Old 5th July 2003, 14:23   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Not a bug. Read the documentation about labels.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 5th July 2003, 15:37   #3
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK is offline   Reply With Quote
Old 5th July 2003, 15:44   #4
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 681
@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.

Greets, Brummelchen
Brummelchen is offline   Reply With Quote
Old 5th July 2003, 15:46   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 5th July 2003, 15:55   #6
Brummelchen
Major Dude
 
Join Date: May 2003
Posts: 681
I have to wipe my glasses again

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

I think that's it.

Greets, Brummelchen
Brummelchen is offline   Reply With Quote
Old 5th July 2003, 15:57   #7
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
I just downloaded Development Snapshot again, and put the link back in.
It still crashes on page-leave

-Stu
Afrow UK is offline   Reply With Quote
Old 5th July 2003, 15:58   #8
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Just tried the TestLink.exe on my Win98 machine too (came with IO) and that crashes on page-leave aswell.

-Stu
Afrow UK is offline   Reply With Quote
Old 5th July 2003, 16:03   #9
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
Dunno if this is anyhelp?
code:
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
Afrow UK is offline   Reply With Quote
Old 5th July 2003, 16:50   #10
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
LINK disabled until issue is resolved.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump