If it's a data file the MsiFileHash table may need an update. MsiFiler.exe from the Windows SDK might be useful.
Phil -----Original Message----- From: Natalie Carr [mailto:natalie.c...@measuresoft.com] Sent: Thursday, August 01, 2013 6:57 AM To: chr...@iswix.com; 'General discussion for Windows Installer XML toolset.' Subject: Re: [WiX-users] Replace a file in MSI Hi Christopher, That certainly seems a far better approach. Would you have an example or point me in thr right direction on how to implement this please? Thank You Natalie Carr -----Original Message----- From: Christopher Painter [mailto:chr...@iswix.com] Sent: 01 August 2013 14:48 To: General discussion for Windows Installer XML toolset.; wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Replace a file in MSI 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 ---------------------------------------------------------------------------- -- 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