PC Review


Reply
Thread Tools Rating: Thread Rating: 4 votes, 3.00 average.

Cannot generate a primary transform

 
 
Calvin
Guest
Posts: n/a
 
      23rd Oct 2003
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


 
Reply With Quote
 
 
 
 
Chris Gouge [MSFT]
Guest
Posts: n/a
 
      23rd Oct 2003
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>


"Calvin" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
 
Calvin
Guest
Posts: n/a
 
      23rd Oct 2003
Thanks very much.
After I modify the "Version" value, it is working.

Calvin Lu

"Chris Gouge [MSFT]" <(E-Mail Removed)> ¦b¶l¥ó
news:(E-Mail Removed) ¤¤¼¶¼g...
> 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...ment/msi_faq.a
sp>
>
>
> "Calvin" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > 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
> >
> >

>
>



 
Reply With Quote
 
New Member
Join Date: Sep 2011
Posts: 1
 
      9th Sep 2011
Thanks guys..!! Bless u all
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot generate a primary transform RonKremborg Microsoft Windows 2000 MSI 0 12th Aug 2005 01:15 AM
Cannot add primary key constraint since primary key is already set for the table Microsoft VB .NET 1 3rd Dec 2003 02:14 AM
XSL Transform Problem using Xml.XSL.Transform John Lehmann Microsoft Dot NET 2 22nd Sep 2003 11:09 PM
XSL transform Using XSL.Transform John Lehmann Microsoft Dot NET Framework Forms 1 21st Sep 2003 11:07 PM
XslTransform.transform does not generate xhtml Bob Yuan Microsoft ASP .NET 1 31st Jul 2003 09:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:02 AM.