Thanks John for prodding me in the right direction.  After looking around a bit 
more (particularly Peter Marcu's blog entry of 30-May-2008) I did admin 
installs such as the following :

"msiexec /a orig\setupproject1.msi TARGETDIR=c:\wix\admin"

"msiexec /a new\setupproject1.msi TARGETDIR=c:\wix\admin2"

Then I ran torch with the -ax option :

"torch -ax c:\wix\admin2 -p -xo c:\wix\admin\setupproject1.msi 
c:\wix\admin2\setupproject1.msi -out patch\diff2.wixmst"

This seemed to work as desired.
-Rob

--
As the error message implies, you need to do an /admin install of the MSI 
before running pyro/torch so that it has access to the files if you don't want 
to use wixpdb's.

--
John Merryweather Cooper
Jack Henry & Associates, Inc. (Premier Tech, Inc.)
Build & Install Engineer - jXchange
Office:  913-341-3434 x791011
JoCooper@...




-----Original Message-----
From: robert_yang@... [mailto:robert_yang@...]
Sent: Tuesday, September 20, 2011 12:18 PM
To: wix-users@...
Subject: [WiX-users] Patches: torch MSI or WIXPDB ?

Hi all - I've been experimenting with torch/pyro/patching on our Wix installer, 
which I'm proud to say has completely replaced InstallShield for our 
application.

The thing I'm wondering about is this: do you have to use .wixpdb files as 
input to torch, or can you use .msi's instead ?  The docs imply the answer is 
"yes".  Everything works fine if I try using .wixpdb's but if I use .msi's I 
get the following error from pyro :

"pyro.exe : error PYRO0315 : Source information is required for the product 
'{GUID omitted}'. If you ran torch.exe with both target and updated .msi files, 
you must first perform an administrative installation of both  .msi files then 
pass -a when running torch.exe."

Here's how I invoked torch :

"torch -p -xo orig\SetupProject1.msi new\SetupProject1.msi -out 
patch\diff2.wixmst"

Are .wixpdb's really necessary to get this to work ?  Do the .MSI's not contain 
enough info by themselves ?  Thanks for any info !
-Rob

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to