08 June, 2009

MSI problem: The installer was interrupted before Application could be installed. You need to restart the installer to try again

MSI is a nice little thing to use when deploying and releasing a product. However – it is pretty f*** far from easy to troubleshoot when it decides to fail!

To gain insight into why an MSI-package decided to fail during an installation; you can perform an installation with the logging option enabled like this:

msiexec /i <msi-packagename.msi> /lv installLog.log

Example:
msiexec /i Helloworld.msi /lv installlog.log
This will install the application packed into “HelloWorld.msi” in the current directory and leave a verbose log with the name “installlog.log”. Be prepared for a pretty verbose log with a lot of information inside.

1 comment:

Mark said...

To speed up finding the problem search for the text "Return Value 3"

InRiver: Not loading your extensions?

(You really need to in the loop to appreciate the issue this post addresses). Man, I've been fighting this problem for hours before I ...