Hi Nils,

Yes, I was happy to see that you just added the ability to specify WIX
Light and Candle extensions to CMake. I built the next branch from source
and adding WixFirewallExtension worked just fine.

I would be agreeable to a CMake list variable with key-value (target - xml
snippet?) pairs to embed within the File target, although more
investigation of the WIX elements will be required to figure out if this
will be sufficient for all use cases. The optional XML input file sounds
like a workable idea too. I'm not a CMake developer though, so take my
opinion with a grain of salt :).

Thanks,
Daiwei


On Tue, Nov 12, 2013 at 12:07 AM, Nils Gladitz <nilsglad...@gmail.com>wrote:

>  On 11/12/2013 03:46 AM, Daiwei Li wrote:
>
> Hello,
>
>  I'm having trouble adding a FirewallException (
> http://wixtoolset.org/documentation/manual/v3/xsd%5Cfirewall%5Cfirewallexception.html)
>  element
> for my main executable. The documentation says that it must have a File or
> Component parent, both of which are generated by the CPack WIX generator.
> It doesn't seem like I can add a FirewallException by using a custom WIX
> template file, because of the previously mentioned restriction.
>
>  Any suggestions on how I can get this element added? Am I missing
> something?
>
>   One more problem with that would probably be that in the current
> release you can not pass the command line options to the WiX tools to load
> the required extension (though it will probably be in 3.0).
>
> I don't yet know how to allow customization of the generated code to allow
> integration of extension elements like this and would be open for
> suggestions or opinions in that regard as well.
>
> One random though would be an optional extra XML input file (or other
> format with XML snippets) that I interleave into the generated code based
> on some sort of insertion point specification.
> And/Or a CMake list variable with key, value pairs consisting of insertion
> points and XML snippets.
>
> Nils
>
--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to