Limiting amount of details in LogText
Hi.
I know this question has been asked before, but i'm unable to find the thread of that particular query. And hence I ask again.
I've set LogSet to 'on' in the first section of my installer.
Later i've done the following check :
ReadRegStr $R9 HKLM "SOFTWARE\Microsoft\DevDiv\VC\Servicing\9.0\RED\1033" "Install"
${If} $R9 == '1'
LogText "Visual C++ 2008 Redist exists"
${EndIf}
Now my question is a 2-part question.
1. install.log gets created successfully in my $INSTALLDIR. However, the amount of details in it is way too much than i need. How can i control what goes into the log file, and what does not ?
2. When i searched for the text "Visual C++ 2008 Redist exists" from the above code snippet in the log file, it wasn't present. Is there anything i'm doing wrong ?
Thanks for your help and time.
Rohit.