Old 6th March 2003, 14:57   #1
dirtydingus
Junior Member
 
Join Date: Feb 2003
Posts: 9
Unhappy Install Corrupted: invalid opcode (IP.dll prob?)

I'm getting the error message in the title occasionally.

The install script I'm creating is quite complex and uses custom dialgs and some ExecWait "perlscript.pl" commands as well as calls to ip.dll and the System dll

The weird thing is that a cut down script using the exact same sequence of perl Exec Waits and the exact same custom dialog and dll calls never produces the error. Also the full blown script version only produces this error some of the time - usually when modifying a text box from nothing to something or vice versa.

With some investigation it looks like the problem could be being caused by a call to the ip.dll since when I comment that line out it doesn't happen. HOWEVER it also doesn't happen all the time with that line IN so I'm not sure whether that is just luck or not. Also it always works the first time around!

Problem occurs using the latest 2.0b2 nightly as well as earlier ones 2.0 versions.

Any ideas?

DD
dirtydingus is offline   Reply With Quote
Old 6th March 2003, 15:53   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Can you plesae attach the script so I can test 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 6th March 2003, 22:35   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
It's most probably because of a relative jump over a plug-in call.
Please see the relative jumps section in the documentation for more information. If that doesn't help attach the script.

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