upgrade patch cannot be installed by windows installer - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

SandyRumble
Posts: 17
Joined: Wed Mar 24, 2010 5:10 pm

upgrade patch cannot be installed by windows installer

I created an upgrade patch (and recreated a few times), and there doesn't seem to be a lot of options to select. However, no matter what I do, I get a message from the Windows Installer:

The upgrade patch cannot be installed 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 upgraded exists on your computer and that you have the correct upgrade patch.

I've tried the patch as an MSP and EXE and neither work. I get a warning that the original disk was created using 8.0 vs 8.0.2 but there is nothing I can do about that as that is what shipped to the users on CD. Is that the problem? Is there any way to capture or log the reason that the patch fails the checks? There are so few options, that I must be missing something simple

I'm using Advanced Installer Enterprise, 8.0.2.

Sandy
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: upgrade patch cannot be installed by windows installer

Hi Sandy,
The upgrade patch cannot be installed 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 upgraded exists on your computer and that you have the correct upgrade patch.
Usually this type of error occurs when you are trying to apply a patch on a machine which doesn't have the target package installed.

There are some rules that need to be kept, as well as having the same Package Code between upgraded and target versions to make a patch work properly. To understand how patches work we recommend you follow our step by step tutorial.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
SandyRumble
Posts: 17
Joined: Wed Mar 24, 2010 5:10 pm

Re: upgrade patch cannot be installed by windows installer

Hi Mihai,

I did follow the tutorial and did exactly as it says. The product is installed on the other machine. Is there a way to find out why windows installer thinks there is a problem? The patch, when it is built, correctly identifies the 6 files that changed and see the compression of the files into the .MSP. What avenues can I pursue to figure out why there is an issue?

Sandy
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: upgrade patch cannot be installed by windows installer

Hi Sandy,

I am not sure what is happening, it could be something related to one of the patching rules or something else.

Could you please send us the aip files used to create the two versions of your application and the patch project file so I can take a look over them, at support at advancedinstaller dot com.
Maybe there is a rule that you missed or something else.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”