Re: [WiX-users] WixExtension: how to use a messages.xml file

2014-03-11 Thread Bob Arnson
On 27-Feb-14 14:45, Phill Hogland wrote: > Is there a way to display an Information message to the Output window, > without having to set the 'Verbose' property and without it being either an > Error or a Warning. I don't think so. The "info" logging level doesn't really exist. -- sig://boB http:

Re: [WiX-users] WixExtension: how to use a messages.xml file

2014-02-27 Thread Phill Hogland
Thanks for the tip. ILSpy seems to be a very helpful tool. There were several issues, but basically I had set the EmbeddedResource property on the messages.xml file, when what was needed was to set that property to 'none' and generate a 'messages.resources' file with MsgGen, which was added to th

Re: [WiX-users] WixExtension: how to use a messages.xml file

2014-02-26 Thread Bob Arnson
On 25-Feb-14 10:34, Phill Hogland wrote: > candle.exe(0,0): error CNDL0001: Stream is not a valid resource file. Open the extension in ILSpy (etc) and make sure the name is what you're expecting. -- sig://boB http://joyofsetup.com/ --

Re: [WiX-users] WixExtension: how to use a messages.xml file

2014-02-25 Thread Phill Hogland
Actually it turns out that it is not actually "working". It was "working' in the sense that the above changes allowed the Compiler Extension project to compile succesfully. However in a nost project, if the compiler encounters any message related to this XML file it throws the following exception

Re: [WiX-users] WixExtension: how to use a messages.xml file

2014-02-22 Thread Phill Hogland
Thanks for the assistance. Got it working. I'm not sure that I fully understand how the ContainerName and BaseContainerName attributes should be set in the messages.xml file, but it seems to work with the strings I provided. Thanks again for the assistance. http://schemas.microsoft.com/genmsgs/

Re: [WiX-users] WixExtension: how to use a messages.xml file

2014-02-21 Thread Bob Arnson
On 15-Feb-14 18:31, Phill Hogland wrote: > In studying the source code I notice that the GamingExtension and the > IISExtension, among others, have a data\messages.xml in the wixext project You need to run MsgGen as part of the build, like in a BeforeBuild target. -- sig://boB http://joyofsetup.c