October 2010
Intermediate to advanced
348 pages
7h 10m
English
If you get into trouble with your installer, it may help to run it with logging turned on. To do so, install your package from a command prompt using msiexec with the arguments /l*v and the name of a file to write the log to. For example, if you had an installer called myInstaller.msi, you could use this command to write a log during the installation to a file called myLog.txt:
msiexec /i myInstaller.msi /l*v myLog.txt
Every event that occurs during installation will be recorded here. It works for uninstalls too. Simply use the /x argument instead of /i. The log can be pretty helpful, but also very verbose. If your installer fails midway through, you might try searching the log for the text return value
Read now
Unlock full access