Greetings, We have a framework implemented as a merge module that will be used in multiple products. We would like the merge module to perform framework configuration of our .NET assemblies using XmlConfig.
The issue I have run into, and am looking for guidance on, is that our configuration file name changes depending upon the product, and it appears that the merge module is unable to find the file defined by the property in the product setup. In our product.wxs: <Property Id="CONFIG_FILE" Value="SomeAssembly.config" /> (this Id is then used to copy the File without error) In our module.wxs: <util:XmlConfig Id="ConfigSectionCachingAdd" File="[CONFIG_FILE]" ... Upon installation, I get an error: "Failed to open XML file SomeAssembly.config, system error: -2147024786" So I know it has got the property name, so it smelt like a path issue, until I change the property to contain the full path and it still failed. Is this the correct approach to take? If so, any ideas as to where I'm going wrong? Thanks for any help. I'm using Wix 3.0.3516. cheers si p.s. I thought the error number was the lowest bounds of signed int32, but that's -2,147,483,648, so perhaps it actually means something? :) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users