How can I supress msimsp pop-up: 'Target ProductVersion is greater than the Upgraded Image; do you want to proceed anyway?'?

Question

I am presently trying to automate patch builds for my product code, and I am using msimsp.exe with the following command-line

 Msimsp.exe –s  -p -l 

It pops up a confirmation dialog saying –

 Target ProductVersion is greater than the Upgraded Image; do you want to proceed anyway?

I need to know-

  1. Why does this pop-up come? I am unable to figure out.
  2. How do I suppress this?

Answer

Set AllowProductVersionMajorMismatches in Properties Table of PCP to confirm Product version mismatch. See Properties Table (Patchwiz.dll)

Content credit also belongs to

[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.