Colin Fox wrote: > <Property Id="INSTALLDIR"> > <RegistrySearch Id='SharepointRegistry' Type='raw' > Root='HKLM' Key='SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\' > Name='SharePoint' /> > </Property> > > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="INSTALLDIR"> > <Directory Id="INSTALLLOCATION" Name="ml"> >
Using the same IDs works because WiX schedules the AppSearch action (which processes RegistrySearch) after it creates properties from the directory layout. That means that the searches have to set the complete path. If you need to install files into a subdirectory of a directory found from an AppSearch, you need to use a custom action to set the value. So you want to use a SetDirectory element: <SetDirectory Id="INSTALLLOCATION" Value="[REGISTRYSEARCHID]ml" /> -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users