NetInverse Developers Blog

April 3, 2009
Category: WiX — Tags: , , , — admin @ 9:39 pm

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.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

©2009 NetInverse. All rights reserved. Powered by WordPress