As an aside, that function and a host of other functions that query MSI tables 
is the foundation for making data driven custom actions.   Instead of hard 
coding "&FOO=3" in your CA you can create a custom table that has a Feature_, 
Component_ or Condition  column and then use that inside of your CA when 
calling MsiEvaluateCondition().

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Mon, 12/27/10, Christopher Painter <chr...@deploymentengineering.com> 
wrote:

> From: Christopher Painter <chr...@deploymentengineering.com>
> Subject: Re: [WiX-users] obtaining a features install state
> To: "General discussion for Windows Installer XML toolset." 
> <wix-users@lists.sourceforge.net>
> Date: Monday, December 27, 2010, 5:26 PM
> Checkout:
> 
> MSICONDITION MsiEvaluateCondition(
>   __in  MSIHANDLE hInstall,
>   __in  LPCTSTR szCondition
> );
> 
> http://msdn.microsoft.com/en-us/library/aa370104(VS.85).aspx
> 
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread
> that deserves attention? E-Mail Me
> 
> 
> --- On Mon, 12/27/10, Sean Farrow <sean.far...@seanfarrow.co.uk>
> wrote:
> 
> > From: Sean Farrow <sean.far...@seanfarrow.co.uk>
> > Subject: Re: [WiX-users] obtaining a features install
> state
> > To: "General discussion for Windows Installer XML
> toolset." <wix-users@lists.sourceforge.net>
> > Date: Monday, December 27, 2010, 4:47 PM
> > Hi: 
> > How can I use these conditions in a c++ custom
> action?
> > Cheers
> > Sean.
> > 
> > -----Original Message-----
> > From: Jeffrey Bindinga [mailto:jeffrey.bindi...@cybertech-int.com]
> > 
> > Sent: 27 December 2010 13:06
> > To: General discussion for Windows Installer XML
> toolset.
> > Subject: Re: [WiX-users] obtaining a features install
> > state
> > 
> > Hi Sean,
> > 
> > You can use the expression syntax for feature states.
> > http://www.tramontana.co.hu/wix/lesson6.php Chapter
> > 6.2
> > 
> > Regards,
> > Jeffrey
> > 
> > -----Original Message-----
> > From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk]
> > Sent: maandag 27 december 2010 12:06
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] obtaining a features install
> state
> > 
> > Hi:
> > Is there a way using wcaUtil/Dutil to determine
> whether a
> > feature is being installed/uninstalled/repaired etc. I
> know
> > I can do this on a component level, but was wondering
> > whether the same functionality exists for features.
> > Regards
> > Sean.
> >
> ------------------------------------------------------------------------------
> > Learn how Oracle Real Application Clusters (RAC) One
> Node
> > allows customers to consolidate database storage,
> > standardize their database environment, and, should
> the need
> > arise, upgrade to a full multi-node Oracle RAC
> database
> > without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > 
> > 
> > CyberTech B.V. is registered in The Netherlands,
> Alkmaar
> > KvK 37.05.01.69
> > 
> > This message is intended for the addressee only.
> Unless
> > clearly stated that this disclaimer should not apply,
> the
> > email is not intended to create legally binding
> commitments
> > on behalf of CyberTech B.V.. Any unauthorised
> disclosure,
> > use or dissemination, either whole or partial, is
> > prohibited. If you are not the intended recipient of
> the
> > message, please notify the sender immediately.
> > 
> > CyberTech B.V. email system is for business purposes
> only.
> > Messages are not confidential. All email may be
> reviewed by
> > authorised personnel.
> > 
> > CyberTech B.V. would kindly ask that you consider the
> > environment before printing this mail
> > 
> > 
> > 
> >
> ------------------------------------------------------------------------------
> > Learn how Oracle Real Application Clusters (RAC) One
> Node
> > allows customers
> > to consolidate database storage, standardize their
> database
> > environment, and, 
> > should the need arise, upgrade to a full multi-node
> Oracle
> > RAC database 
> > without downtime or disruption
> > http://p.sf.net/sfu/oracle-sfdevnl
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > 
> 
> 
>       
> 
> ------------------------------------------------------------------------------
> Learn how Oracle Real Application Clusters (RAC) One Node
> allows customers
> to consolidate database storage, standardize their database
> environment, and, 
> should the need arise, upgrade to a full multi-node Oracle
> RAC database 
> without downtime or disruption
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 


      

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to