Wireshark-dev: Re: [Wireshark-dev] need help : NSIS
From: Pascal Heude <[email protected]>
Date: Tue, 19 Feb 2008 21:33:39 +0100
Hi,

I had the same problem than bijjou200 and I found the following solution :

- edit the config.nmake file (the one in the installation directory of wireshark)
- copy the following line
VCREDIST_EXE=$(WIRESHARK_LIBS)\vcredist_x86.exe
between the following 2 lines (in the section "C-Runtime Redistributable"
!ELSEIF "$(MSVC_VARIANT)" == "MSVC2005"
and
MSVCR_DLL=$(PROGRAM_FILES)\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\*.*
- finally put in comment the line (the previous one)
MSVCR_DLL=$(PROGRAM_FILES)\Microsoft Visual Studio 8\VC\redist\x86\Microsoft.VC80.CRT\*.*

I have choosen to modify the part "MSVC2005" of the section "C-Runtime Redistributable" because I am currently using this compiler. If you get the same problem with another compiler, you should choose the part according to your compiler.

Regards.

Pascal

khalid habibi a écrit :
hi

p have in line 371:



; C-runtime redistributable 
!ifdef VCREDIST_EXE
; vcredist_x86.exe (MSVC V8) - copy and execute the redistributable installer
File "${VCREDIST_EXE}"
ExecWait '"$INSTDIR\vcredist_x86.exe"' $0
DetailPrint "vcredist_x86 returned $0"
!else
!ifdef MSVCR_DLL

thanks

-------- Original-Nachricht --------
  
Datum: Tue, 19 Feb 2008 12:23:47 -0500
Von: Bill Meier <[email protected]>
An: Developer support list for Wireshark <[email protected]>
Betreff: Re: [Wireshark-dev] need help : NSIS
    
  
bijjou2000 wrote:
    
hi
 i want create a .exe file with NSIS. But I have this Failure:

Error in script "wireshark.nsi" on line 371 -- aborting creation process
      
Line 371 seems to be at the end of the following:
   !else
   !if ${MSVC_VARIANT} != "MSVC6"
   !error "C-Runtime redistributable for this package not available / 
not    redistributable!"
   !endif
   !endif	; MSVCR_DLL
   !endif	; VCREDIST_EXE


So: please see section 2.2.1.3 of the Wireshark Developer's Guide about 
getting the redistributable.

A link to the guide is at http://www.wireshark.org/docs/


_______________________________________________
Wireshark-dev mailing list
[email protected]
http://www.wireshark.org/mailman/listinfo/wireshark-dev
    
  



Windows Live Messenger 2008 vient de sortir, encore plus de fun ! Téléchargez gratuitement Messenger 2008