PDA

View Full Version : Mulitple patches problem



fouadromieh
11-07-2015, 07:38 AM
Hi,

I'm trying to generate an msp out of the latest and previous msis as below scenario:

The previous MSI is fixed as used as a basleline
The latest msi is generated with the new modification on the files included everynight and and it will get a new ProductVersion on every generation (which happens with every build on the server)
The previous msi that is the baseline is installed on the machine let's say it version 1.0.0.0
The msp generated on the first build is installed successfully, now the product version 1.0.0.1
The latest msi now is 1.0.0.2 and has new modifications in it and we want to generate a new msp to get those modifications to the machine, the msp is generated based on the difference between previous msi 1.0.0.0 and latest which is now 1.0.0.2.

The problem is that we are getting an error when trying to install the second msp saying: Un-installation of the package is not supported.
And below is the error log:
**************************************
MSI (s) (78:EC) [07:57:01:214]: Final Patch Application Order:
MSI (s) (78:EC) [07:57:01:214]: {C39177DC-24FD-432E-9D50-159E7E3CC62C} - C:\temp\Agilis EmPower SBSA.msp
MSI (s) (78:EC) [07:57:01:214]: Other Patches:
MSI (s) (78:EC) [07:57:01:214]: Unknown\Absent: {9BEBFF56-7735-4618-BF01-01E96548FA81} -
MSI (s) (78:EC) [07:57:01:214]: Product: Agilis EmPower SBSA - Update 'Agilis EmPower SBSA' could not be removed. Error code 1646.
Additional information is available in the log file C:\Users\Administrator\Desktop\msp.log.

MSI (s) (78:EC) [07:57:01:214]: Windows Installer removed an update. Product Name: Agilis EmPower SBSA. Product Version: 1.3.0.0.81.159. Product Language: 1033.
Manufacturer: Diebold. Update Name: Agilis EmPower SBSA. Removal success or error status: 0.

MSI (s) (78:EC) [07:57:01:214]: Product: Agilis EmPower SBSA - Update '{C39177DC-24FD-432E-9D50-159E7E3CC62C}' could not be installed. Error code 1646.
Additional information is available in the log file C:\Users\Administrator\Desktop\msp.log.

MSI (s) (78:EC) [07:57:01:214]: Windows Installer installed an update. Product Name: Agilis EmPower SBSA. Product Version: 1.3.0.0.81.159. Product Language: 1033.
Manufacturer: Diebold. Update Name: {C39177DC-24FD-432E-9D50-159E7E3CC62C}. Installation success or error status: 1646.

MSI (s) (78:EC) [07:57:01:214]: Product: Agilis EmPower SBSA -- Installation failed.

MSI (s) (78:EC) [07:57:01:214]: Windows Installer installed the product. Product Name: Agilis EmPower SBSA. Product Version: 1.3.0.0.81.159. Product Language: 1033.
Manufacturer: Diebold. Installation success or error status: 1646.

Uninstallation of the update package is not supported.
C:\Windows\Installer\5d9684f.msi
********************************************

So is this allowed to do? or do we have to change the previous msi on each msp installation so we keep the each msp with distinct files only?

Thank you.