Chris83
Posts: 3
Joined: Tue Apr 10, 2012 5:36 pm

Pb with patch execution The file is not marked for install

Hi

I have a problem with the operation of a patch
During the execution i have this message : The file "MyApp1.exe" is not marked for installation.

The patch wad created with advanced installer from the packages A and B.
Both are identical except the version and the product code(I test the patch).
There's four custom actions to stop and start "MyApp1.exe" and "MyApp2.exe".
The install, uninstall and upgrade for both A and B package works fine

When i try to apply the patch created from A and B i have this message : The file "MyApp1.exe" is not marked for installation.
When the message is displayed "MyApp1.exe" and "MyApp2.exe" are present on the drive.

Could you help me to solve this problem.

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

Re: Pb with patch execution The file is not marked for ins

Hello,
Both are identical except the version and the product code(I test the patch).
Please keep in mind, as mentioned in our Creating Patches user guide article, that one of the patch rules is:
The Target and Upgraded MSI packages must have the same Product Code.

Patching is a very delicate process and requires careful settings, not to mention keeping the patch rules. To avoid any unwanted behavior, we recommend you first follow our Patch Tutorial and the above article before implementing the functionality onto your project.

Perhaps the "How do I create a patch that runs a custom action?" article will also help.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”