Now that Edit XML File is supported in a Merge Module I was trying to set a value based on a global parameter, e.g. CXMY_OVERRIDE_UAC, that WAS NOT defined in the Merge Module's Module Details -> Properties panel at build time BUT instead gets created, or passed from the parent MSI, at runtime by a SET INSTALLER PROPERTY in the Merge Module.
It seemed like the XML file always got updated with an "empty value", e.g. <OverrideUACLaunch Value="" />.
Based on the log file it seems that AI_XmlConfig always ran after the property was created, i.e. this:
Line 556: MSI (s) (78:DC) [10:21:42:705]: Doing action: SetProperty_CXMY_OVERRIDE_UAC.4E72A4E1538744C6A2EC5B2DE0D2CEDE
Line 557: Action 10:21:42: SetProperty_CXMY_OVERRIDE_UAC.4E72A4E1538744C6A2EC5B2DE0D2CEDE.
Line 558: Action start 10:21:42: SetProperty_CXMY_OVERRIDE_UAC.4E72A4E1538744C6A2EC5B2DE0D2CEDE.
Line 560: Action ended 10:21:42: SetProperty_CXMY_OVERRIDE_UAC.4E72A4E1538744C6A2EC5B2DE0D2CEDE. Return value 0.
FOLLOW US
Get the latest news in Application Packaging