MSIMSP says: "ERROR: UpgradedImages.MsiPath 'c:targetLeanMean.MSI' is not a proper MSI." Any hints?

Problem

We had a report of two MSIs that operate fine independently but when using Msimsp.exe [Windows Installer] to generate a patch, the following error was generated:

ERROR: UpgradedImages.MsiPath 'c:\target\LeanMean.MSI'

Drill Down

Open the upgrade image in Orca, check Summary Information dialog, and look for a value for the comment field. If there isn't anything there, you need the following solution.

Solution

Add a space or a . to the Comment field of the Summary Information stream just so it is non-null.

 

[Author: Robert Flaming]

 

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm.