Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 4th March 2007, 23:11   #1
G.Schuster
Junior Member
 
Join Date: Mar 2007
Posts: 5
nsPerl can't be loaded on XP

Hello,

Yet another problem with my installer :/
On Win2K everything works fine - but not on XP.
I get an error when it tries to load nsPerl.dll from the temp directory: "Error loading C:\Documents...\myprofile\Local Se...\Temp\nsr2B.tmp\nsPerl.dll"
I checked the temp dir, the file is there.

The installer requires admin-rights and checks for thos .onInit - therefor I think this shouldn't be the problem.
Any ideas about this?
Or any chances to get a more specific error message from the installer?

As side info, I use Perl to search and replace in some text files with regular expressions, afaik this isn't possible with pure NSIS, right?

Thanks in advance!
G.Schuster is offline   Reply With Quote
Old 5th March 2007, 13:27   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Did you redistribute the Perl files as well? It's not a standalone plug-in. It requires Perl's files.

To replace strings in a file, use the functions available in the included headers.

http://nsis.sourceforge.net/Docs/AppendixE.html

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 March 2007, 16:39   #3
G.Schuster
Junior Member
 
Join Date: Mar 2007
Posts: 5
Oh, OK, that was the issue - perhaps this should be explicitly mentioned on the nsPerl wiki pages.
On my Win2K-sys I have Perl installed - that was why I didn't get errors.

I can't use the included functions because I need a complete set of regular expressions.
Perl offers me this - and if it's only the 800kb extra space I choose this as the simplest way.

Thank you for making things clear, now my installer works fine so far
G.Schuster is offline   Reply With Quote
Old 5th March 2007, 16:40   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,337
Quote:
Originally posted by G.Schuster
Oh, OK, that was the issue - perhaps this should be explicitly mentioned on the nsPerl wiki pages.
It's a wiki page. Go right ahead

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 March 2007, 17:04   #5
G.Schuster
Junior Member
 
Join Date: Mar 2007
Posts: 5
Added it, hope I made it clear and understandable.
Keep in mind I'm speaking German generally.
G.Schuster is offline   Reply With Quote
Reply
Go Back   Winamp 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