Look at the CustomAction/@Execute attribute. This should be set to
firstSequence or Immediate. If you have a UI on your installer, I would use
firstSequence, in which case you will want to schedule the custom action in
both InstallExecuteSequence and InstallUISequence.

- Don Benson -

On Wed, Mar 11, 2009 at 3:23 PM, Alex Ivanoff <alex.ivan...@shavlik.com>wrote:

> This is what I have:
>
> <Condition Message="Windows Server Core is not supported">
>  NOT ServerCore
> </Condition>
>
> <CustomAction Id="DetectServerCoreAction"
>              BinaryKey="InstallActions"
>              DllEntry="DetectServerCore"
>              Return="check" />
>
> <InstallExecuteSequence>
>  <Custom Action="DetectServerCoreAction" Before="LaunchConditions">
>    NOT REMOVE
>  </Custom>
> </InstallExecuteSequence>
>
> But my DetectServerCore never gets called. What am I doing wrong?
>
>
> -----Original Message-----
> From: Don Benson [mailto:dbenso...@gmail.com]
> Sent: Wednesday, March 11, 2009 13:04
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Detecting Server 2008 Core
>
> Where to schedule the CA depends on how you intend to use the results.
> If
> you want to use it to prevent installation, you should schedule it
> before
> LaunchConditions as an immediate CA and use a Condition element based on
> the
> property set by the CA.
>
> - Don Benson -
>
>
>
>
>
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>  _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to