Hi, Here is a sample :
<MsiPackage Name="2010 Redistributable x86 SP1" SourceFile="Sources\PreReqs\Vcredist_2010_SP1\x86\vc_red.msi"> <MsiProperty Name="ROOTDRIVE" Value="C:\"/> <MsiProperty Name="REBOOT" Value="ReallySuppress"/> <MsiProperty Name="USING_EXUIH_SILENT" Value="1"/> <Payload Name="vc_red.cab" SourceFile="Sources\PreReqs\Vcredist_2010_SP1\x86\vc_red.cab"/> </MsiPackage> <MsiPackage Name="2010 Redistributable x64 SP1" InstallCondition="VersionNT64" SourceFile="Sources\PreReqs\Vcredist_2010_SP1\x64\vc_red.msi"> <MsiProperty Name="ROOTDRIVE" Value="C:\"/> <MsiProperty Name="REBOOT" Value="ReallySuppress"/> <MsiProperty Name="USING_EXUIH_SILENT" Value="1"/> <Payload Name="vc_red.cab" SourceFile="Sources\PreReqs\Vcredist_2010_SP1\x64\vc_red.cab"/> </MsiPackage> Le %:Date:, Jack Sojourn <jack.sojo...@gmail.com> a écrit: > Thanks Jacob. > > You wouldn't have any example code or sample wxs file would you? > > > On Tue, Mar 5, 2013 at 2:35 PM, Hoover, Jacob > <jacob.hoo...@greenheck.com>wrote: > > > Skip the merge module, use burn, and add the two redistributables as > > prerequisites. Make the x64 specific redistributable, give it an > > InstallCondition of VersionNT64 and a DetectCondition based on a variable > > you define with a search. > > > > > > -----Original Message----- > > From: Jack Sojourn [mailto:jack.sojo...@gmail.com] > > Sent: Tuesday, March 05, 2013 12:32 PM > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] Noobie Help > > > > Hello...I am new to wix and installation programming in general. I have a > > pretty simple setup requirement but am not sure how to do it. My first > > hurdle is the redist install. I know I should use the "Merge Id" and > > Microsoft_VC100_ATL_x86.msm or Microsoft_VC100_ATL_x64.msm. > > > > However what I need to do is if the OS is 32bit then install the x86 one. > > if 64bit then I need to install both as my app has a 32 bit dll and can > > not be recompiled. > > > > can anyone give me some direction on the best way to do this? > > > > Thanks. > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics Download AppDynamics Lite for > > free today: > > http://p.sf.net/sfu/appdyn_d2d_feb > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > ------------------------------------------------------------------------------ > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_feb > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > ------------------------------------------------------------------------------ > Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester > Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the > endpoint security space. For insight on selecting the right partner to > tackle endpoint security challenges, access the full report. > http://p.sf.net/sfu/symantec-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users -- Sincèrement, Gabriel "I know no way of judging the future but by the past." Patrick Henry "You can never plan the future by the past." Edmund Burke ------------------------------------------------------------------------------ Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users