cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
polosheng
Level 5

log function for installscript msi project

Is there any log function for installscript msi project(lanched by setup.exe rather than .msi) like SprintfMsiLog function?
I found it's easy to use SprintfMsiLog to write log in both of script and CA,
but by far I can't find any log function for installscript msi project(lanched by setup.exe rather than .msi).
So I have to write the log function by myself?
I will appreciate any of your help, thanks.
Labels (1)
0 Kudos
(2) Replies
polosheng
Level 5

I found it's easy to write log when installing .msi package
like msiexec /i product.msi /L*v everything.log.
But when installing setup.exe, it's not so easy!
0 Kudos
polosheng
Level 5

OK, I resolved my problem.
Because the msi is launched by setup.exe,
so msiexec.exe can't be used.
In the cmd, I used "setup.exe /v"/l c:\logname.log"" to write log.
0 Kudos