I take a slightly different approach.  Not as optimal but simpler and less 
invasive.  Using C#/DTF:

Create a new cab with my file.
Stream cab into MSI
Update Media Table
Update File Table

This essentially orphans the original file and touches as little MSI table 
data as possible.

----------------------------------------
 From: "Natalie Carr" <natalie.c...@measuresoft.com>
Sent: Thursday, August 01, 2013 8:41 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Replace a file in MSI

Hi everyone,

I have a customer who would like to replace a certain file in my MSI 
setup.
At the moment I am currently writing a guide on how to do this and at the
moment I have this scenario:

Remove cab from MSI

Extract all files from Cab

Replace file

Rebuild cab file

Add cab back into MSI

This is done using the SDK commands.

Is there an easier way to do this via orca/transforms?

My user wold like the new file embedded inside the MSI and not at the root
folder.

Thank you.

----------------------------------------------------------------------------
--
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk


_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to