On 11/28/06, John Calcote <[EMAIL PROTECTED]> wrote:

Can anyone point me to some docs that describe how to incorporate an MSM
into my Wix installer?

I would like to incorporate the vc8 redistributable package into my WIX
MSI, but I don't have a clue how to do that.


I'm not 100% certain that I'm doing it right, but I use:

   <Directory Id="TARGETDIR" Name="SourceDir">

     <Merge Id="VC8Runtime" SourceFile="C:\Program Files\Common Files\Merge
Modules\Microsoft_VC80_CRT_x86.msm" Language="1033" DiskId="1"/>
     <Merge Id="VC8Policy" SourceFile="C:\Program Files\Common Files\Merge
Modules\policy_8_0_Microsoft_VC80_CRT_x86.msm" Language="1033" DiskId="1"/>
     <Merge Id="MFCRuntime" SourceFile="C:\Program Files\Common Files\Merge
Modules\Microsoft_VC80_MFC_x86.msm" Language="1033" DiskId="1"/>
     <Merge Id="MFCPolicy" SourceFile="C:\Program Files\Common Files\Merge
Modules\policy_8_0_Microsoft_VC80_MFC_x86.msm" Language="1033" DiskId="1"/>
...

Then add as sub-features to my main program:
     <Feature Id="VC8RuntimeFeature" Level="1" AllowAdvertise="no"
Display="hidden">
       <MergeRef Id="VC8Runtime"/>
       <MergeRef Id="VC8Policy"/>
     </Feature>

     <Feature Id="MFCFeature" Level="1" AllowAdvertise="no"
Display="hidden">
       <MergeRef Id="MFCRuntime"/>
       <MergeRef Id="MFCPolicy"/>
     </Feature>

This causes ICE warnings about duplicate sequence numbers, but it seems they
are unavoidable and harmless.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to