Use pragmas instead of functions. Override ProcessPragma() and place your
implemention there.
-Blair
> Date: Tue, 24 May 2011 09:15:30 -0700
> From: kevin.c.di...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] custom preprocessor generating XML for WXS to compile?
>
> I'm trying to write a preprocessor extension that can generate XML
> based on some arguments, for example:
>
> <InstallExecuteSequence>
> $(func.GenerateStackSequence(CustomAction1, CustomAction2, CustomAction3)
> </InstallExecuteSequence>
>
> where the method would then return a string like
> <Custom Action="CustomAction1".../> and so forth
>
> However the compiler complains because that tag may not contain text.
> Is there anything like <?echo ?> or something I can use to invoke my
> method before the compiler hits it?
>
> Thanks,
>
> -Kevin
>
> ------------------------------------------------------------------------------
> vRanger cuts backup time in half-while increasing security.
> With the market-leading solution for virtual backup and recovery,
> you get blazing-fast, flexible, and affordable data protection.
> Download your free trial now.
> http://p.sf.net/sfu/quest-d2dcopy1
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users