Unable to create patch database

Got a problem you cannot solve? Try here.
Post Reply
ssloka
Posts: 11
Joined: Mon Jan 26, 2009 8:43 am

Unable to create patch database

Post by ssloka »

I am getting the following error when trying to generate a patch against an old build. It was built on another computer, but should still be the same version of IA.

Error during build: Unable to create patch database [TargetImages.Target = 'TARGET1': ProductVersion is not valid.]

Thanks,

~ Steve
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

The error is pretty clear (fortunately in the case of patching, MSI API errors generally are). Make sure you have a valid version - numeric only in the form of X.YY.ZZZ.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
ssloka
Posts: 11
Joined: Mon Jan 26, 2009 8:43 am

Post by ssloka »

Gotcha, I was using 7.0.2.1108.1 which doesn't match your pattern.

Is there a way to change this on an old build so I don't have to rebuild? I don't have access to the machine that built the old one.

Thanks,

~ Steve
MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Post by MichaelNesmith »

No, but MSI takes only the first three version numbers into account, so maybe you can increment one of the first three numbers so the patch engine recognizes it as a new version. According to Microsoft docs, any information after the first three numbers are discarded; so I'm hoping this helps. If it does not, in that case, you will really need to update the original package - of course this might not be practically feasible, but there is no alternative.
Michael Nesmith
Install[b]Aware[/b]
[i]Home of The Next Generation MSI Installer[/i]
Get your free copy today - http://www.installaware.com/
Post Reply