Issue in Patch Installation - Advanced Installer Community
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Issue in Patch Installation

Hi All,

I am facing some issue in Patch Installation in Advance Installer. Below are the steps.

I created one msi file with version 1.0.0. This msi is having 2 features and I added the files in “Files and Folders”. I build and install. Also copy the msi in other location.
After that I made some changes in one of the feature (added some controls on form) changed the version to 1.0.1. After that I build it.
When I moved to another page, it prompts for changing the Product Code. I clicked “No”.

Now created the Patch project and added the latest version (1.0.1) as Upgrade and version 1.0.0 added as Target.
After building, while running the patch it is showing the following message.

"The upgrade patch cannot be installer by the Windows Installer service because the program to be upgraded may be missing or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgraded patch."

Please help me if any one has any idea regarding the same.

Thanks
Amit
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Issue in Patch Installation

Hi Amit,

I'm not sure why you are encountering this behavior. Can you please send us the AIP files your are using to support at advancedinstaller dot com so we can investigate it? Your email should contain:
- the AIP of the target package (1.0.0)
- the AIP of the upgraded package (1.0.1)
- the AIP of the patch project

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: Issue in Patch Installation

Hi Cosmin,

For one step it is working now (means which I am using 1.0.0 to upgrade with 1.0.1 it is working fine, but when I want to upgrade 1.0.1 to 1.0.2 then issue)
, but for next step again I am facing the same problem. Below is the explanation about, what I did in first step and in next.

Step 1
1) Created a msi version 1.0.0 Build, installed and save the copy of msi file in some other location
2) On the same msi file, I changed version to 1.0.1, change some controls in form and include the new exe. Build only
3) Create Patch Project
4) Provide msi version 1.0.1 as Upgread
5) Provide msi version 1.0.0 as Target.
6) Build and Run the project, it is running.
7) Now I save the copy of msi version 1.0.1 file in some other location
8 ) Update the msi version to 1.0.2 and make the modification
9) Create the Patch project and add msi version 1.0.2 as Upgread and msi version 1.0.1 as Target.
10) Build and Run the project, it will display the same message
“The upgrade patch cannot be installer by the Windows Installer service because the program to be upgraded may be missing or the upgrade patch may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgraded patch.“

I am attaching following files

1) AIP of the target package - 1.0.1
2) AIP of the upgraded package 1.0.2
3) AIP of the Patch project (which is using 1.0.1 as Target and 1.0.2 as Upgrade).


Thanks
Amit
Attachments
PWPatch.zip
AIP - Patch
(785 Bytes) Downloaded 345 times
PW1.0.2.zip
AIP - 1.0.2
(110.7 KiB) Downloaded 360 times
PW 1.0.1.zip
AIP -1.0.1
(109.41 KiB) Downloaded 382 times
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: Issue in Patch Installation

Hi Amit,

We tested the projects you provided on multiple machines and we were unable to reproduce the behavior you encountered. This problem may be caused by an incorrect configuration for the path images (for example, the older version is set as the Upgraded package). Please make sure that the patch images are set correctly. Also, please test the patch on multiple machines.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Ruben
Posts: 57
Joined: Fri Apr 10, 2015 2:35 pm

Re: Issue in Patch Installation

That can depend on the target system.
We made a patch that reproduceably fails with this message under a Windows XP SP3. But the patch causes no error message with Windows 8.1.

Return to “Common Problems”