G.Schuster
5th March 2007 00:11 UTC
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 14:27 UTC
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 17:39 UTC
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 17:40 UTC
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 18:04 UTC
Added it, hope I made it clear and understandable.
Keep in mind I'm speaking German generally.