Cannot generate a primary transform


C

Calvin

Hi, All
I want to make a patch .msp file to upgrade my application.
What I want to upgrade is primary excutable file named "project1.exe".
But when I use msimsp.exe to generate .msp file,
there is error happen.
Following is part of error log file:

Files differ: 'E:\temp\Upgrade\.\Project1.exe',
'E:\temp\Target\.\Project1.exe'.
Patch file created: FTK=_69C085C6429C47F1A674E2B50A17ADA2; temp
location=TestApps\01000.HDR.
ERROR: Cannot generate a primary transform.

Could anyone advise some hints to me?

Thanks very much.

Calvin Lu
 
Ad

Advertisements

C

Chris Gouge [MSFT]

Your databases are probably exactly the same. MsiMsp (actually the underlying
PatchWiz code) will not let you generate a patch between two identical
databases. (If the databases are identical, you don't need a patch.) If the
files are different between the two images, the database for the updated image
should also be updated to reflect those same changes (and it should have a
different PackageCode as well).

As a test, you can try running msitran.exe to try and generate the transform:

D:\test>msitran -g server_rtm.msi server_qfe.msi server.mst
Error 232. Error 2223: server_qfe.msi, ,

It fails with error 2223 which in msi.chm is:
Database: [2]. Databases are the same. No transform generated.


-Chris Gouge
Microsoft Windows Installer Team

This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.asp>
 
C

Calvin

Thanks very much.
After I modify the "Version" value, it is working.

Calvin Lu

Chris Gouge said:
Your databases are probably exactly the same. MsiMsp (actually the underlying
PatchWiz code) will not let you generate a patch between two identical
databases. (If the databases are identical, you don't need a patch.) If the
files are different between the two images, the database for the updated image
should also be updated to reflect those same changes (and it should have a
different PackageCode as well).

As a test, you can try running msitran.exe to try and generate the transform:

D:\test>msitran -g server_rtm.msi server_qfe.msi server.mst
Error 232. Error 2223: server_qfe.msi, ,

It fails with error 2223 which in msi.chm is:
Database: [2]. Databases are the same. No transform generated.


-Chris Gouge
Microsoft Windows Installer Team

This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.

MSI FAQ:
<http://www.microsoft.com/windows2000/community/centers/management/msi_faq.a
sp>


Calvin said:
Hi, All
I want to make a patch .msp file to upgrade my application.
What I want to upgrade is primary excutable file named "project1.exe".
But when I use msimsp.exe to generate .msp file,
there is error happen.
Following is part of error log file:

Files differ: 'E:\temp\Upgrade\.\Project1.exe',
'E:\temp\Target\.\Project1.exe'.
Patch file created: FTK=_69C085C6429C47F1A674E2B50A17ADA2; temp
location=TestApps\01000.HDR.
ERROR: Cannot generate a primary transform.

Could anyone advise some hints to me?

Thanks very much.

Calvin Lu
 
Ad

Advertisements


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top