Prev Previous Post   Next Post Next
Old 29th January 2009, 17:55   #1
jweinraub
Senior Member
 
Join Date: Jan 2004
Posts: 197
Send a message via AIM to jweinraub
how do i enable full logging?

I am trying to do a test on if a file version is set, and that check seems to work (even if the file isn't there) but the action i want it to do, doesn't seem to work.

it does on my system, but not other systems i try it on.

i used the standard event viewing (but normally i turn off output in production), but cant find anything of use.

the loggin from kichik doesnt seem to work for me, when it dumps, it is always blank.

the code in question is:

code:
; Install WinPcap
GetDllVersion "$SYSDIR\Packet.dll" $R0 $R1
IntOp $R2 $R0 / 0x00010000
IntOp $R3 $R0 & 0x0000FFFF
IntOp $R4 $R1 / 0x00010000
IntOp $R5 $R1 & 0x0000FFFF
StrCpy $0 "$R2.$R3.$R4.$R5"
MessageBox MB_OK $0

; 4.0.0.1040
${If} $0 == "4.0.0.1040"
MessageBox MB_OK "We have Packet.dll installed. Go_on_further"
Goto go_on_further
${Else}
SetDetailsPrint textonly
DetailPrint "Installing WinPcap 4.02..."
SetDetailsPrint none
MessageBox MB_OK "We do not have it, we will now attempt to install"
; enable full logging here to see what is going on here.
ExecWait `"$EXEDIR\WinpCap\winpcap-nmap-4.02.exe" /S` $R0
${EndIf}
; End install WinPcap



my the msgbox, i do enter the else clause, but the installer doesn't seem to run at all.

any feedback is appreciated.
jweinraub is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast 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