Re: [WiX-users] Replace a single file in an MSI

2009-11-11 Thread John Daintree
or Windows Installer XML toolset. > Subject: Re: [WiX-users] Replace a single file in an MSI > > This is possible using msidb which is part of the Windows Installer > Development Tools. > > I think you will need to do the following: > - extract cab file using "msidb -x&qu

Re: [WiX-users] Replace a single file in an MSI

2009-11-10 Thread Sascha Beaumont
Assuming you don't mind having an external CAB file, it's not too hard... here's a (simplified) script that I'm using to permit end-users to customize a configuration file prior to deployment. The example code modifies the MSI (which is fine for testing), however our production code creates a copy,

Re: [WiX-users] Replace a single file in an MSI

2009-11-10 Thread Kim Gybels
This is possible using msidb which is part of the Windows Installer Development Tools. I think you will need to do the following: - extract cab file using "msidb -x" - replace the file in the cabinet - delete the cab file from the msi using "msidb -k" - add the changed cabinet back using "msidb -a

Re: [WiX-users] Replace a single file in an MSI

2009-11-10 Thread Blair
x and http://msdn.microsoft.com/library/aa371255.aspx for that tool). -Original Message- From: Raj, Vijay [mailto:v...@ti.com] Sent: Tuesday, November 10, 2009 8:22 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Replace a single file in an MSI I reckon, Creating a

Re: [WiX-users] Replace a single file in an MSI

2009-11-10 Thread Raj, Vijay
I reckon, Creating a patch for the MSI is the best option. http://tinyurl.com/installerpatches Cheers' Vijay -Original Message- From: John Daintree [mailto:jo...@dyalog.com] Sent: Tuesday, November 10, 2009 8:18 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Replace a sing