For files that have been modified after an MSI installation, if these 
files are in an update package (MSP) as far as I know there are 2 
options available during the MSP installation:
REINSTALLMODE=omus : Don't update files modified after installation
REINSTALLMODE=amus: Overwrite files modified after installation.

We are dealing with installation of software components that have 
configuration files that WILL be modified after installation. If these 
files are updated in the MSP package, we need to support the following 
options:
1. If it is possible to auto merge the changes between the updated file 
and the installed file then perform the merge.
2. If there are conflicts that need manual intervention, then save the 
updated file as a new file (with a different extension for e.g. foo.ini.new)

Is there any built in facility in MSP to support these requirements, 
specially #2, this is supported by RPM on Linux.

I could not find any information that this is supported by MSP, so 
assuming the answer is no, the approach I was thinking of was execute a 
custom action after MSP installation either invoked from within the MSP 
or by the driver that executes the MSP installation. This custom action 
would interrogate the MSP for the files it contains and check if any of 
the files is a "config" file that needs to be either auto-merged or 
saved as a new file for manual merge. Examining an MSP package in Orca 
only shows MsiPatchMetaData table and MsiPatchSequence. There is no 
InstallExecuteSequence table for adding custom actions or File table to 
get the list of files in the package.

At a minimum I would need to know the files within the MSP package. Is 
there a way to get the list of file in the package ? If so, please 
advise on how to get this information.

Thanks much for your help.

-Sandip



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to