Nmap Development mailing list archives

Re: Nmap-4.85b1 >> zenmap.exe : librsvg-2-2.dll not found!


From: Fyodor <fyodor () insecure org>
Date: Thu, 29 Jan 2009 21:36:37 -0800

On Tue, Jan 27, 2009 at 10:08:19PM +0000, jah wrote:
On 27/01/2009 19:48, Rob Nicholls wrote:

There is another possible solution for windows users.  Adding a registry
key named "zenmap.exe" to
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ and adding a
String value (REG_SZ) named "Path" with a value of (for example)
"C:\Program Files\Nmap\py2exe" will cause the value to be added to the
PATH environment variable when zenmap is loaded (I believe it's
prepended to the path).

Hi Jah.  Thanks for the research, though I wasn't able to get this to
work for me.  I made this change to our Nmap.nsi:

--- Nmap.nsi    2009-01-29 21:02:37.000000000 -0800
+++ Nmap-reg-test.nsi   2009-01-29 21:12:00.000000000 -0800
@@ -244,6 +244,8 @@
   File /r ..\nmap-${VERSION}\share
   File /r ..\nmap-${VERSION}\py2exe
   StrCpy $zenmapset "true"
+  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\zenmap.exe" "" '"$INSTDIR\zenmap.exe"' 
+  WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\App Paths\zenmap.exe" "Path" '"$INSTDIR\py2exe"' 
 SectionEnd

Then I built a new installer and installed from it.  I verified in
regedt32 that the entries were created.  But I was still getting the
32 librsvg-2-2.dll errors.

I haven't figured out a good solution to this problem yet, though I
think I'll just duplicate the GTK\bin\*.dll files for a quick test
release coming soon.

Cheers,
-F

_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://SecLists.Org


Current thread: