easterbunny
Posts: 8
Joined: Tue Apr 26, 2011 11:27 am

Cannot generate a primary transform

Hi,

I am getting the following error while trying to creating patches.

Using internal SQL cmd to create 'Patch' table.
Using internal SQL cmd to create 'PatchPackage' table.
Using internal SQL cmd to create 'MsiPatchHeaders' table.

ERROR: Cannot generate a primary transform.


Any suggestions on how to solve this problem?
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Cannot generate a primary transform

Hi,

I am not sure what is the problem. Have you tried following our tutorial when creating the patch?
Please note that is very important to follow the patching rules mentioned there.

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
easterbunny
Posts: 8
Joined: Tue Apr 26, 2011 11:27 am

Re: Cannot generate a primary transform

Yes, I tried your tutorial. What I did was the following:

- I've created a new enterprise installation
- Ive added a text file to install with the content "Test"
- Ive changed the file's version to 1.0
- I've build the installer and placed it into the folder "Setup/Original" and named it "setup.msi"
- Then I've changed the version of the installer and selected "No" when it asked for changing the product code
- Then I've changed the text file's content to "T3st"
- Then I've changed the text file's version to 1.1
- Then I've build the installer and placed it into the folder "Setup/New" and named it "setup.msi"
- After creating both installers, I've created a new patch and followed the steps of the wizard using the same product name as used in the other installers. The I've tried to run it and got the error
Bogdan
Posts: 2794
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Cannot generate a primary transform

Hi,
Ive changed the file's version to 1.0
From what I know a txt file has no version, can you please elaborate more on this?

Except from the txt file version problem which I suspect, everything else seems to be in order. Can you please send us the aip files used to create the two MSI files and the patch to
support at advancedinstaller dot com so we can analyze them?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
easterbunny
Posts: 8
Joined: Tue Apr 26, 2011 11:27 am

Re: Cannot generate a primary transform

I have read somewhere that you should define the file's version if you changed a file. So I changed it in Properties -> Version and then selected User specified.

Return to “Common Problems”