From: Rob M. <ro...@us...> - 2005-10-30 19:41:40
|
If they authored their Merge Module correctly, that should work. Look in the Merge Module using Orca. Check to see what directories are retargetable (only those with TARGETDIR as their parent are retargetable). If you see ProgramFilesFolder there or one of the other standard directories... that's the problem. _____ From: wix...@li... [mailto:wix...@li...] On Behalf Of Peter Provost Sent: Sunday, October 30, 2005 11:08 AM To: wix...@li... Subject: [WiX-users] Problem Retargeting an MSM Yes, another MSM question. I've got my MSM installing, but it doesn't seem to be going where I want. This MSM was created by someone else using the Visual Studio Installer Wizard. I'm referencing the MSM in my WXS file like this: <Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id="INSTALLDIR" Name="CAB" LongName="Microsoft Composite UI App Block"> <Merge Id="MyModule" Language="1033" src="MyMergeModule.msm" DiskId="1" /> <!-- Etc --> </Directory> </Directory> </Directory> My feature list looks like this: <Feature Id="MainFeature" Title="My Main Feature" Display="expand" ConfigurableDirectory="INSTALLDIR" Level="1"> <Feature Id="MergeModFeature" Title="My Merge Mod Feature" Level="1"> <MergeRef Id="MyModule" /> </Feature> </Feature> What happens when I install it is that I get a directory structure that is something like this: C:\Program Files\MyInstallDir\Module Retargetable Folder\MsmProvidedFolder. I asked the person who made the MSM and he said, "I have that merge module setup to put it in a folder under your install folder." I'm guessing that I haven't set a property properly, but I don't know what to do. Any help will be much appreciated. -- Peter Provost Weblog: http://www.peterprovost.org/ |