clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Patch Project Wizard

Using the "New Patch Project Wizard" on the second dialog (Patch images) where the old and new MSIs are selected, when I select either one, the results are not entered into the editbox and the "Next" button remains grey.
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Patch Project Wizard

Hi,

Those fields are read-only, all you have to do is to click on the "..." buttons from the end of each edit box and select the MSI files, after that the NEXT button should become active.

The behavior you've explained could not be reproduced on our machines. Could you please tell us what version of Advanced Installer are you using?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Patch Project Wizard

Bogdan wrote:Hi,

Those fields are read-only, all you have to do is to click on the "..." buttons from the end of each edit box and select the MSI files, after that the NEXT button should become active.
Yes, I realize this (Read-only) but after selecting the msi file, the results are not entered into the edit box and the NEXT button is still diabled.
Bogdan wrote: The behavior you've explained could not be reproduced on our machines. Could you please tell us what version of Advanced Installer are you using?
AI 7.1.1 on W2000 SP4
I tried different MSI files, even a AI sample file, and it still is the same.
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Patch Project Wizard

Ok. Now it is now working (the Wizard)

What I had was AI 7.0.1 and AI 7.1.1 installed side-by-side (wanted to first make sure 7.1.1 was operating correctly).

When I would open a *.aip it would show version 7.1.1, and this is the version the MSI was created with.

But when I started AI from the Start-menu and select PATCH, it was 7.0.1.

Apparently , selecting an MSI created with 7.1.1 was not accepted, (or there was a bug in the 7.0.1 Patch Wizard)

However, now after finalizing the Wizard steps and the project is being created, an MsiMsp error is reported:
"Failed to create patch. Error code: 0xC00E5126"

EDIT:
The old and new MSIs have the same product and upgrade codes and the same product names. Only the new msi the version number was changed, and one component (file) in both projects/packages has a different date and version number.

Basically, what I did was I copied the AI project and files to a new folder, changed the one component (version and date), changed the project version number, answered NO to changing product code, then created the new MSI file.

Then started a patch project, selected the old/tartget msi and the new updated msi. Then I changed the name, description and media stuff, and then clicked BUILD.

EDIT 2:
I also tested this with the AI whitewiztheme.aip project

1. Created a fresh msi file
2. Moved the msi and cab files to a different folder
3. Changed the product version
4 Created the new upgraded msi file.
5. Started a patch project, selected new and old MSIs.
6 Clicked BUILD
7. Same error
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Patch Project Wizard

Hi,

Please note that the Patch Rules must be applied entirely, otherwise the project will fail to build.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Patch Project Wizard

Bogdan wrote:Please note that the Patch Rules must be applied entirely, otherwise the project will fail to build.
Hello Mitrache Bogdan,

As far as I can tell, I have followed the rules.

As I wrote in my previous post, with the steps included, I even tried this with a simple sample project from AI.

Regards,

Charles
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Patch Project Wizard

Hi,

I've tested the same version of AI on several machines and this behavior doesn't appears. Could you please send us the .aip files of your 3 projects(target, upgraded, and patch) to support at advancedinstaller dot com so we can investigate the problem.

You can also try installing AI 7.1.1 on another machine an test the same projects.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
clint
Posts: 135
Joined: Fri Jun 19, 2009 9:46 am
Location: Germany

Re: Patch Project Wizard

Hi,

What I have done is I checked the version of the installer sdk patch tool files and had for example version 1.20.xxx of the MsiMsp.Exe.
So I updated the sdk and now have MsiMsp.Exe version 3.14.xxx.

This has corrected the problem.

Thank you for your time and patience.


Best Regards,
Charles

Return to “Common Problems”