I think I figured it out!  Using the pyro/torch approach, patching can be
done from MSIs without the original source dirs.  Sorry to add so much noise
to the list.

For the benefit of future generations, here is what I did that differed from
the  http://wix.sourceforge.net/manual-wix3/wix_patching.htm tutorial :

- Administrative installs of both MSIs (put them in "1.0\admin" and
"1.1\admin")
- Add the "-ax <direcotry>" flag to torch.exe.  I pointed it to my patch
directory: "-ax patch\" (I don't know why this is necessary, but I get
errors without it)
- Remove -xi flag, add -xo flag to torch.
- Point torch to "1.0\admin\product.msi" (and "1.1\admin\product.msi")
instead of the original "1.0\product.wixpdb"  (and "1.1\product.wixpdb").

- John Burak



john.burak wrote:
> 
> I browsed the bug database and eventually found out "
> https://sourceforge.net/tracker/index.php?func=detail&aid=2086871&group_id=105970&atid=642714
> pyro actually diffs the files on disk " and not from inside the MSIs.  In
> other words, the 'before' and 'after' copy of files have to exist at the
> same time in different source directories.
> 
> That's annoying because then I have to keep old copies of files (multiple
> gigs in large directory structure) in addition to the copies of these
> files are already in the previous MSIs.  I think I have to make sure that
> the source paths for files point to the correct directory structures (old
> vs. new).  It would be nice if pyro just fetched them from the MSIs.
> 
> I think this will be a feature request. ;)
> 
> - John
> 


--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Patch-with-a-simple-file-change-tp6956231p6960657.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to