Mike Dimmick-2 wrote: > > The VC2005 merge modules will install files to: > > - [WindowsFolder]System32 on Windows 9X and 2000; > - The appropriate WinSxS folder on Windows XP, 2003 and Vista. > > They are not retargetable. > >
I'm trying to put the dlls msvcp71.dll and msvcr71.dll in the installation folder. I merge them to my msi using the merge modules CRT and STL, as I've understood using the merge modules is the way to go (correct?). The problem is that I can't make the dlls be put in the installation folder - or some systemfolder where I can reach it. Inside the merge modules the directory is defined to TARGETDIR. And I've set the TARGETDIR to SourceDir as I've got an impression this is the common way it should be done. The That leaves me with something like: <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="CompanyDir" Name="company"> <Directory Id="INSTALLDIR" Name="install_folder"> <Merge Id='VC_STL' Language='0' src='$(var.msmdir_71)\VC_User_STL71_RTL_X86_---.msm' DiskId='1' /> .. </Directory> </Directory> </Directory> </Directory> .. <Feature Id='Complete' Level='1'> <MergeRef Id="VC_STL" /> .. </Feature> I was hoping that the files in the STL merge module would be put into the INSTALLDIR together with the other files I define at the same Directory, but apparently this isn't the case. You say that they aren't retargetable. So, does this mean that I can't change the directory to put the dlls in? Then I need to make sure TARGETDIR is what I want it to be.. When installing they are put in the root (c:\). Is this what my WinSxS folder is set to then? I didn't think so.. Can I change the WinSxS? Do I have to say explicitally that I use WinSxs? Note that I'm new to WiX.. Best Regards Stian -- View this message in context: http://www.nabble.com/Consensus-about-CRT-MCF-merge-modules--tf3415449.html#a9571860 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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