Yeah, I followed that tutorial which is in the help. Right after I posted, I
figured out how to do it. I just didn't understand how to properly use the
EvaluateFunction method.

All is well now

Thanks


Brian Rogers wrote:
> 
> Did you follow these steps first?
> 
> http://wix.cvs.sourceforge.net/viewvc/wix/wix/src/chm/html/extension_development_simple_example.htm?view=markup
> 
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
> 
> 
> On Wed, Mar 4, 2009 at 9:11 AM, jnewton <jonathan.new...@ni.com> wrote:
> 
>>
>> I'm trying to create a basic preprocessor extension that will do simply
>> what
>> Peter blogged about
>>
>> http://blogs.msdn.com/pmarcu/archive/2007/04/27/wix-functional-preprocessing.aspx
>> here  (i.e. the functional preprocessing blog). I've tried to follow the
>> steps in the WiX help to create my own function, but Wix never seems to
>> find
>> my function. Do I add my function to my derived PreprocessorExtension
>> class?
>> For example, in the WiX help, you have
>>
>>  public class SamplePreprocessorExtension : PreprocessorExtension
>>  { .... }
>>
>> I would like to just be able to do have a function called GetGuid or
>> something in that class. Then I could refer to it as
>> $(sample.GetGuid(...))
>>
>> I then tried to implement the code in the "
>>
>> http://www.atalasoft.com/cs/blogs/dterrell/archive/2009/01/12/extending-wix-preprocessing-a-how-to-with-reflection.aspx
>> Extending WiX Preprocessing " blog but ran into the same issue of WiX not
>> recognizing the function. I must be doing something wrong in general.
>> Does
>> anybody have an example of implementing your own custom function?
>>
>> Thanks
>> --
>> View this message in context:
>> http://n2.nabble.com/Having-Problems-Creating-a-Simple-PreProcessor-Extension-tp2424122p2424122.html
>> Sent from the wix-users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
>> CA
>> -OSBC tackles the biggest issue in open source: Open Sourcing the
>> Enterprise
>> -Strategies to boost innovation and cut costs with open source
>> participation
>> -Receive a $600 discount off the registration fee with the source code:
>> SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> _______________________________________________
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Having-Problems-Creating-a-Simple-PreProcessor-Extension-tp2424122p2424565.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to