Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   nsPerl can't be loaded on XP (http://forums.winamp.com/showthread.php?t=267147)

G.Schuster 4th March 2007 23:11

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!

kichik 5th March 2007 13:27

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

G.Schuster 5th March 2007 16:39

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 :)

kichik 5th March 2007 16:40

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 :)

G.Schuster 5th March 2007 17:04

Added it, hope I made it clear and understandable.
Keep in mind I'm speaking German generally.


All times are GMT. The time now is 04:14.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.