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
DumpLog
6 posts
Also put that below all other sections so that it gets executed last.Section
Push "$INSTDIR\install.log"
Call DumpLog
SectionEnd
Stu
HI Stu
I do it like that and doesnt work
Ive ShowInstDetails hide, maybe the problem??
I do it like that and doesnt work
Ive ShowInstDetails hide, maybe the problem??
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??
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??
Does your $INSTDIR contain the installation path or are you not using it?
MessageBox MB_OK $INSTDIR
Stu
MessageBox MB_OK $INSTDIR
Stu
Sorry Stu i make a mistake, just you say my $instdir only contain the root directory
Thanks for all
Thanks for all