Normally you should use TARGETDIR as the root of your components in a merge module. When merging, these components' Directory entries will be rewritten to have their parent set to the <Directory> that you place the <Merge> element in.
Any other directories you specify in your merge module are not retargeted. -- Mike Dimmick _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steve Wood (OCS) Sent: 25 October 2007 19:34 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Undefined reference in Type 35 custom action I have an installer that includes a merge module: . <Merge Id="Merge_UCCApi.msm" DiskId="1" Language="1033" SourceFile="$(var._LCSROOT)\external\mgc\UCCApi.msm" /> . <MergeRef Id="Merge_UCCApi.msm" /> And I want to set the INSTALLDIR of the merge module to track the INSTALLDIR of my installation package, so I tried this: <!-- Set value of INSTALLDIR in UccApp.msm to track the INSTALLDIR of this installation package --> <CustomAction Id="CA_SetUCCAPI_INSTALLLOCATION" Directory="INSTALLDIR.C1402412_4C1F_48DB_B516_EE41CFE8BCA9" Value="[INSTALLDIR]" /> And get this error from light.exe: 100>foo.wxs : error lght0112 : unresolved reference to symbol 'directory:installdir.c1402412_4c1f_48db_b516_ee41cfe8bca9' in section 'product:3212588d-108a-47a6-9ff1-56b425010302'.(0) : error 0112 : Unresolved reference to symbol 'Directory:INSTALLDIR.C1402412_4C1F_48DB_B516_EE41CFE8BCA9' in section 'Product:3212588D-108A-47A6-9FF1-56B425010302'. Looking at UccApi.msm in Orca, I see this is the Directory table: Any thoughts as to how to get around this error? Thanks. -Steve
<<image002.jpg>>
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users