Blair, all files we patch are part of merge modules. There are no files 
outside of a merge module at all. I guess that rules out the WIXPDB approach. 
Anyway, wixpdb files are introduced in WIX3, isn't it? In that case, we do not 
have any original wixpdb files since we used WIX 2 to generate the MSIs.

Is there any other alternative for admin installations? This process does not 
allow me to explode the MSI and patch it because of file sequencing issues from 
the SP1 MSP.

Thanks,

Sharat Janapareddy
~ 40269


-----Original Message-----
From: Blair [mailto:os...@live.com] 
Sent: Wednesday, November 04, 2009 3:34 PM
To: 'General discussion for Windows Installer XML toolset.'
Cc: Murugesan Vivekananthan; Jude Nwoko; Clive Eastwood; Marc Reyhner; Anandha 
Ganesan
Subject: Re: [WiX-users] Duplicated primary key in _SummaryInformation table of 
the transform

Regarding an alternative to admin installations:
If you aren't trying to patch merge module contents, you could try using the 
wixpdb files instead of the admin images.

If your "original" wixpdb doesn't have access to the older binaries, you can do 
the following in order to force a "bound/binary" wixpdb:

Each time you build an MSI you might patch later, you call light twice. The 
first time you specify the following two arguments: "-bf" and "-xo" and the 
"-o[ut]" argument (if present) should have an extension of ".wixout". The 
second time you call light, you pass it the .wixout as the only "objectFile" 
(along with all the same extensions as the first call). The resulting .wixpdb 
will also contain the files from the corresponding MSI.

You can then move that wixpdb forward in time to any build machine and torch & 
pyro will be able to find the embedded files in the wixpbd.

-----Original Message-----
From: Sharat Janapareddy [mailto:sharat.janapare...@microsoft.com] 
Sent: Wednesday, November 04, 2009 2:53 PM
To: General discussion for Windows Installer XML toolset.
Cc: Jude Nwoko; Anandha Ganesan; Marc Reyhner; Murugesan Vivekananthan; Clive 
Eastwood
Subject: [WiX-users] Duplicated primary key in _SummaryInformation table of the 
transform

The only entry I see related to this error is the _SummaryInformation table's 
(from the Diff.wixmst) field '11'. Here's the corresponding row
entry for that. 

        <row op="add" sectionId="/" 
sourceLineNumber="d:\Enlistments\SP1.QFE_ROLLUP\private\product\setup\wix\patch\server\obj\i386\V3USelCd\Product.msi">
                <field>11</field>
                <field>2009/11/04 09:36:30</field>
        </row>

It looks like this field 11 is PID_LASTPRINTED property which has the timestamp 
when the admin image is created. Got this info from 
http://msdn.microsoft.com/en-us/library/aa369748(VS.85).aspx. I don't see any 
other row in the table with the same field number which is what the error seems 
to be suggesting.

So, what I would like to understand is - 
1.      Since this WIXMST is generated by TORCH.exe, is there a way to skip 
generating this field.
2.      Is there a way to apply a patch directly to an MSI instead of its admin 
image? I am currently using something like below to generate the Release --> 
SP1 admin image before generating a DIFF against the updated MSI:
                MSIEXEC -a ReleaseProduct.msi -p SP1_Patch.msp 
TARGETDIR=C:\Product

Thanks,

Sharat Janapareddy
~ 40269

-----Original Message-----
From: Sharat Janapareddy [mailto:sharat.janapare...@microsoft.com] 
Sent: Tuesday, November 03, 2009 7:58 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Error generating MSP for multiple SKUs

I am trying to create an SP1 rollup MSP using these steps - Apply the same SP1 
patch to both the Eval and Select SKUs of Release version separately, and then 
generate the DIFFs by comparing the corresponding updated versions.

I was able to get to the point where we have the transforms (wixmst) but I get 
this error while generating the MSP. The problem here is - the error does not 
say which WIXMST or WIXOBJ or what file is causing this.
1>errors in directory 
1>d:\enlistments\sp1.qfe_rollup\private\product\setup\wix\patch\server
1>d:\enlistments\sp1.qfe_rollup\private\product\setup\wix\patch\server\pyro.
exe : error PYRO0130 : The primary key '11' is duplicated in table 
'_SummaryInformation'.  Please remove one of the entries or rename a part of 
the primary key to avoid the collision.
1>NMAKE : fatal error U1077: 'd:\enlistments\
sp1.qfe_rollup\public\ext\wix\wix3-binaries\pyro.exe' : return code '0x82' 
BUILD: NMAKE.EXE /nologo BUILDMSG=Stop. LINKONLY=1 NOPASS0=1 NTTEST= UMTEST= 
386=1 failed - rc = 2

Any ideas on what this is talking about? I don't see any "11" in any of the 
WIX* files generated during this process.

Thanks,

Sharat Janapareddy
~ 40269

----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to