VS2005_SCHEMAS_DIR is a Property not a Directory. You can't create a DirectoryRef to a Property. To set a Directory to the value of a Property use the SetDirectory element. For example:
<SetDirectory Id="Dir_ParentOfMyProjectTemplatesVS2005" Value="[VS2005_SCHEMAS_DIR]" Sequence="both" /> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Sullivan Sent: Friday, July 11, 2008 20:35 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How do you use VS2005_PROJECTTEMPLATES_DIR, etc... from WixVSExtension I'm trying to use <PropertyRef Id='VS2005_SCHEMAS_DIR'/> <PropertyRef Id='VS2005_PROJECTTEMPLATES_DIR'/> <PropertyRef Id='VS2005_ITEMTEMPLATES_DIR'/> <PropertyRef Id='VS90_SCHEMAS_DIR'/> <PropertyRef Id='VS90_PROJECTTEMPLATES_DIR'/> <PropertyRef Id='VS90_ITEMTEMPLATES_DIR'/> For things like <DirectoryRef Id="VS2005_PROJECTTEMPLATES_DIR"> <Directory Id="Dir_MyProjectTemplatesVS2005" Name="MyTemplates"> <Component Id="Comp_ProjectTemplatesVS2005" DiskId="1" Guid="$(var.Comp_ProjectTemplatesVS2005_Guid)"> But I'm getting the following link errors Unresolved reference to symbol 'Directory:VS2005_PROJECTTEMPLATES_DIR' in section 'Fragment:'. Installer\Integration.wxs 302 1 Installer Unresolved reference to symbol 'Directory:VS2005_ITEMTEMPLATES_DIR' in section 'Fragment:'. Installer\Integration.wxs 312 1 Installer Unresolved reference to symbol 'Directory:VS90_PROJECTTEMPLATES_DIR' in section 'Fragment:'. Installer\Integration.wxs 323 1 Installer Unresolved reference to symbol 'Directory:VS90_ITEMTEMPLATES_DIR' in section 'Fragment:'. Installer\Integration.wxs 334 1 Installer Unresolved reference to symbol 'Directory:VS2005_SCHEMAS_DIR' in section 'Fragment:'. Installer\Integration.wxs 348 1 Installer Unresolved reference to symbol 'Directory:VS90_SCHEMAS_DIR' in section 'Fragment:'. Installer\Integration.wxs 362 1 Installer I'm pretty sure I've got the correct WixVSExtension referenced, since these references <PropertyRef Id='VS2005DEVENV'/> <CustomActionRef Id="VS2005Setup"/> seem to work (I don't get any reference errors about VS2005Setup or VS2005DEVENV) <Custom Action="VS2005Setup" Before="InstallFinalize"> VS2005DEVENV </Custom> <Extension Id="myext" ContentType="text/xml"> <Verb Id="Open" Command="&Open in Visual Studio 2005" TargetProperty="VS2005DEVENV" Argument=""%1"" /> </Extension> I'm using version 3.0.4123.0 Any help would be appreciated. Thanks, -Ian Ian Sullivan Software Development Engineer Microsoft Inc., Windows Live Agents: SDK ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users