Boyito
3rd May 2007 19:46 UTC
DumpLog
In section D.4 says
This function will dump the log of the installer (installer details) to a file of your choice. I created this function for Afrow_UK who requested a way to dump the log to a file in this forum thread.
To use it, push a file name and call it. It will dump the log to the file specified. For example:
GetTempFileName $0
Push $0
Call DumpLog
Could anyone explain to me in wich part of my scrip put this 3 lines of code?
TIA
Afrow UK
3rd May 2007 20:36 UTC
Section
Push "$INSTDIR\install.log"
Call DumpLog
SectionEnd
Also put that below all other sections so that it gets executed last.
Stu
Boyito
3rd May 2007 20:47 UTC
HI Stu
I do it like that and doesnt work
Ive ShowInstDetails hide, maybe the problem??
Boyito
3rd May 2007 21:10 UTC
This is very weird, if i put below the others sections like you said
Section
Push "$INSTDIR\install.log"
Call DumpLog
SectionEnd
It doesnt work, but if ive put like this works fine
Section
Push "C:\TEMP\install.log"
Call DumpLog
SectionEnd
How?
$INSTDIR is not possible??
Afrow UK
3rd May 2007 21:58 UTC
Does your $INSTDIR contain the installation path or are you not using it?
MessageBox MB_OK $INSTDIR
Stu
Boyito
3rd May 2007 22:03 UTC
Sorry Stu i make a mistake, just you say my $instdir only contain the root directory
Thanks for all