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:

[cid:image001.png@01C816FA.8EA210C0]

Any thoughts as to how to get around this error?

Thanks.

-Steve

<<inline: image001.png>>

-------------------------------------------------------------------------
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

Reply via email to