Ian Sullivan wrote: > <DirectoryRef Id="INSTALLDIR"> > <Directory Id="DIR_VS2005_SCHEMAS" /> > <Directory Id="DIR_VS2005_PROJECTTEMPLATES" /> > <Directory Id="DIR_VS2005_ITEMTEMPLATES" /> > </DirectoryRef> > > <PropertyRef Id='VS2005_SCHEMAS_DIR'/> > <SetDirectory Id="DIR_VS2005_SCHEMAS" Value="[VS2005_SCHEMAS_DIR]" > Sequence="both" /> >
I don't think you need the custom actions. If you use a Directory/@Id of the same name as the property Id, MSI will use the property value instead of the calculated directory path. So if you named DIR_VS2005_SCHEMAS VS2005_SCHEMAS_DIR instead, it would "just work." Yes, it's confusing that you'd have both Directory and PropertyRef with the same Id, but it's how MSI handles directories and properties. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users