Using the bootstrapper worked for me. http://wix.sourceforge.net/manual-wix3/install_dotnet.htm
I use bootstrapper to install VC++ redistributable as well. Note that, even though I mentioned to run setup.exe rather than msi in my document, a lot of users tried to install by double-clicking msi. I would recommend that: * Implement blocking logic to msi even if you built a bootstrapper. * Use your creativity to name the msi file so that users don't think it is the file to double-click. I was using "<my product name>.msi", and from my experience, this is bad. 2009/5/28 Kim Gybels <kim.gyb...@metris.com>: > Hi > >> Is there any other way to install vc++ redistributable file and .net >> framework sp1 installer through our .msi installler >> > You can use the merge modules provided by MS for the vc++ redistributables. > > Here is what I use for this in WiX: > <?xml version="1.0" encoding="UTF-8"?> > <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> > <Fragment> > <DirectoryRef Id="TARGETDIR"> > <Merge Id="Atl" Language="0" SourceFile="C:\Program > Files\Common Files\Merge Modules\microsoft_vc80_atl_x86.msm" > DiskId="1" /> > <Merge Id="Crt" Language="0" SourceFile="C:\Program > Files\Common Files\Merge Modules\microsoft_vc80_crt_x86.msm" > DiskId="1" /> > <Merge Id="Mfc" Language="0" SourceFile="C:\Program > Files\Common Files\Merge Modules\microsoft_vc80_mfc_x86.msm" > DiskId="1" /> > <Merge Id="AtlPolicy" Language="0" SourceFile="C:\Program > Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_atl_x86.msm" > DiskId="1" /> > <Merge Id="CrtPolicy" Language="0" SourceFile="C:\Program > Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_crt_x86.msm" > DiskId="1" /> > <Merge Id="MfcPolicy" Language="0" SourceFile="C:\Program > Files\Common Files\Merge Modules\policy_8_0_microsoft_vc80_mfc_x86.msm" > DiskId="1" /> > </DirectoryRef> > > <FeatureGroup Id="MicrosoftRedistributables"> > <MergeRef Id="Atl" /> > <MergeRef Id="Crt" /> > <MergeRef Id="Mfc" /> > <MergeRef Id="AtlPolicy" /> > <MergeRef Id="CrtPolicy" /> > <MergeRef Id="MfcPolicy" /> > </FeatureGroup> > > </Fragment> > </Wix> > > Hope this helps. > Can't help you with the .Net part, though. > > Best regards, > Kim > > -- > > *Kim Gybels > Software Developer > * kim.gyb...@metris.com <mailto:kim.gyb...@metris.com> > Tel: +32 16 74 01 01 > Fax: +32 16 74 01 02 > > > > * Metris Europe > * Interleuvenlaan 86 > 3001 Leuven > Belgium > www.metris.com <http://www.metris.com/> > > > > > > This message and any attachment are privileged, confidential and contain > private information. If you are not the addressee named above any disclosure, > reproduction, copying, distribution, or other dissemination or use of this > communication is prohibited. If you have received this transmission in error, > please notify the sender immediately and destroy this e-mail. Metris does not > guarantee that the integrity of this communication has been maintained or that > this communication is free of viruses, interceptions or interference, and > shall not be liable for the improper or incomplete transmission of the > information contained in this communication nor for any delay in its receipt > or damage to your system. Incoming and outgoing email communications may be > monitored by Metris, as permitted by applicable law and regulations. > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > ------------------------------------------------------------------------------ Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers & brand creativity professionals. Meet the minds behind Google Creative Lab, Visual Complexity, Processing, & iPhoneDevCamp as they present alongside digital heavyweights like Barbarian Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users