CommonFilesFolder is a standard directory so you don't need to define a specific value, but add a Directory element with that Id like so:
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="CommonFilesFolder" Name="Common"/> <!-- rest of your directories or directory references --> </Directory> Are you referencing that directory anywhere else your all of your authoring? On Fri, Apr 10, 2009 at 2:05 PM, Matt Gollob <mattgol...@gmail.com> wrote: > Hello everyone - > > I'm trying to build a merge module that contains some Help2 documentation > that I want to integrate into VS2008. However, I'm getting the following > error from Light when I try to build the merge module: > > > C:\delivery\Dev\wix30_public\src\ext\VSExtension\wixlib\HTML_Help_Registration__RTL_X86_---.wxs(4,0): > error LGHT0094: Unresolved reference to symbol > 'Directory:CommonFilesFolder' > in section 'Fragment:'. > > I've been able to simplify the problem down to the following element in my > source file: > > <vs:PlugCollectionInto TargetCollection="MS.VSIPCC.v90" > TableOfContents="F_Test.SDKCollection.HxT" > TargetFeature="Help" > TargetTableOfContents="FL_vsipcc_hxt_86880_86880_cn_ln"/> > > I'm building this in VS 2008 SP1 using WiX 3.0.5207.0. Can anyone confirm > whether I am doing something wrong or if this is a bug somewhere in WiX? > Below is the full build output from VS's Output Window and an entire > project > demonstrating the problem is attached (WixMergeModule1.zip). > > ------ Build started: Project: WixMergeModule1, Configuration: Release x86 > ------ > C:\Program Files\Windows Installer XML v3\bin\candle.exe > -d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\\" > -dSolutionDir=C:\Projects\Priv\Sandbox\WixMergeModule1\ -dSolutionExt=.sln > -dSolutionFileName=WixMergeModule1.sln -dSolutionName=WixMergeModule1 > -dSolutionPath=C:\Projects\Priv\Sandbox\WixMergeModule1\WixMergeModule1.sln > -dConfiguration=Release -dOutDir=bin\Release\ -dPlatform=x86 > -dProjectDir=C:\Projects\Priv\Sandbox\WixMergeModule1\WixMergeModule1\ > -dProjectExt=.wixproj -dProjectFileName=WixMergeModule1.wixproj > -dProjectName=WixMergeModule1 > > -dProjectPath=C:\Projects\Priv\Sandbox\WixMergeModule1\WixMergeModule1\WixMergeModule1.wixproj > > -dTargetDir=C:\Projects\Priv\Sandbox\WixMergeModule1\WixMergeModule1\bin\Release\ > -dTargetExt=.msm -dTargetFileName=WixMergeModule1.msm > -dTargetName=WixMergeModule1 > > -dTargetPath=C:\Projects\Priv\Sandbox\WixMergeModule1\WixMergeModule1\bin\Release\WixMergeModule1.msm > -out obj\Release\MergeModule.wixobj -arch x86 -ext "C:\Program > Files\Windows > Installer XML v3\bin\WixVSExtension.dll" MergeModule.wxs > C:\Program Files\Windows Installer XML v3\bin\Light.exe -ext "C:\Program > Files\Windows Installer XML v3\bin\WixVSExtension.dll" -out > > C:\Projects\Priv\Sandbox\WixMergeModule1\WixMergeModule1\bin\Release\WixMergeModule1.msm > -pdbout > > C:\Projects\Priv\Sandbox\WixMergeModule1\WixMergeModule1\bin\Release\WixMergeModule1.wixpdb > obj\Release\MergeModule.wixobj > > C:\delivery\Dev\wix30_public\src\ext\VSExtension\wixlib\HTML_Help_Registration__RTL_X86_---.wxs(4,0): > error LGHT0094: Unresolved reference to symbol > 'Directory:CommonFilesFolder' > in section 'Fragment:'. > Done building project "WixMergeModule1.wixproj" -- FAILED. > Build FAILED. > ========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ========== > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > -- Heath Stewart Deployment Technologies Team, Microsoft http://blogs.msdn.com/heaths ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users