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

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:

Unknown said...

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

iPhone/XCode - not all cases are equal!

This bit me! Having made some changes to an iPhone application (Obj-C); everything worked fine in the simulator. But, when deploying the s...