If your MSI doesn't work properly, how do you troubleshoot? The easiest way is to turn on tracing to get the setup log file. The command line is:
msiexec /i product.msi /L*v log.txt
'L' means generating a log file; 'v' means verbose. Open log.txt file, you can see detailed information of the setup process. For example, if you run product.msi like below:
msiexec /i product.msi MYPARAM=cool /l*v "c:\log.txt"
Open log.txt, you will see MYPARAM has been added to the properties:
MSI (c) (D8:58) [01:12:36:093]: PROPERTY CHANGE: Adding MYPARAM property. Its value is 'cool'.
...
Property(S): MYPARAM = cool
For detailed command line options of msiexec, you can check out MSDN.
THIS POST IS PROVIDED "AS-IS" WITH NO WARRANTIES AND CONFERS NO RIGHTS. Build time: Sun 01/27/2008 . ©2007 Dalun Software. All rights reserved. Back to Article List