[wix-devs] Testing late-bound properties

Ron Martin cpuwzd at comcast.net
Fri Apr 16 22:45:03 PDT 2021

I'm having trouble coming up with a good scenario for testing late-bound 
"properties". I'm trying to come up with an expression that requires 
late binding to complete the definition of a CacheId. At the moment, I'm 

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
         <PackageGroup Id="BundlePackages">
             <ExePackage Id="Manual1" SourceFile="test.msi" 
Name="manual1\test.msi" DetectCondition="anything" 
CacheId="!(bind.ProductCode.test.msi)" />
             <ExePackage Id="Manual2" SourceFile="test.msi" 
Name="manual2\test.msi" DetectCondition="anything" 
CacheId="!(bind.ProductCode.test.msi)" />

This is late bound, but the symbol resolution fails. It does not 
generate an error or a warning, but it remains in its unresolved state. 
The test.msi file appears to be referenced, but not opened, according to 

I can send more code if that will help. If my approach is wrong, I'd 
appreciate your suggestions. There really is a paucity of good examples 
that I can find via Google.



More information about the wix-devs mailing list