Steve Wood (OCS) wrote:

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


WiX doesn't "see into" the merge module so it can't resolve the directory-with-GUID. Slightly hacky, but you could use MsiSetProperty from a C++ CA, though that won't cascade to subdirectories.
-- 
sig://boB
http://joyofsetup.com/


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