I followed your suggestions and used "MergeMod.dll" via COM interop in my 
little repackaging tool. This works perfectly.

After the successful merge I still have to do a couple of steps to patch the 
resulting msi:

1. Extract the merge module's cab file
2. Insert the cab file into the "_Streams" table of the msi
3. Insert a record into the "Media" table of the msi using the appropriate 
"LastSequence" number

Thanks a lot for your hints!

Frank

Richard schrieb:
> In article 
> <139942f2536b7c4fbde6b44132f80c84286210a...@na-exmsg-c111.redmond.corp.microsoft.com>,
>     Jason Ginchereau <jason...@microsoft.com>  writes:
>
>> The real logic for merging merge modules is in mergemod.dll, which DTF
>> does n ot attempt to use or expose. So I would not recommend using DTF for
>> this purpos e, unless you augment it with the object model of mergemod.dll
>> using COM intero p. I don't have any example code for doing that in C#.
>
> Has anyone tried using COM interop to talk to mergemod.dll?
>
> I knwo when I tried to use COM interop to talk to msi.dll's automation
> interface, it didn't work properly.

____________________________________________________________________
Psssst! Schon vom neuen WEB.DE MultiMessenger gehört? 
Der kann`s mit allen: http://www.produkte.web.de/messenger/?did=3123


------------------------------------------------------------------------------
Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to