http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx

Take a look at the ! and ?  Access Prefixes and Feature and Component State 
Values topics.

Otherwise, be sure to give proper consideration to the transactional nature of 
MSI and how calling out to various setup.exe's may not accomplish those goals 
very well.


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 Thu, 6/19/08, Trevor Balcom <[EMAIL PROTECTED]> wrote:

> From: Trevor Balcom <[EMAIL PROTECTED]>
> Subject: [WiX-users] CustomAction tied to feature?
> To: wix-users@lists.sourceforge.net
> Date: Thursday, June 19, 2008, 3:01 PM
> I need to call two separate 3rd party installation Setup.exe
> files during my
> WiX installation.  I have managed to do so by using the
> following XML:
> 
>  
> 
>                                 <!-- Install Intermec
> Active X controls
> after the installation -->
> 
>                                 <Binary
> Id="ItcAXSetup"
> SourceFile="data\Intermec
> Drivers\IntermecActiveXControls.exe" />
> 
>                                 <CustomAction
> Id="ItcAXSetup"
> BinaryKey="ItcAXSetup" ExeCommand=""
> />
> 
>                                
> <InstallExecuteSequence>
> 
>                                                 <Custom
> Action="ItcAXSetup"
> After="InstallFinalize" />
> 
>                                
> </InstallExecuteSequence>
> 
>  
> 
>                                 <!-- Install Intermec
> drivers after the
> Intermec Active X controls -->
> 
>                                 <Binary
> Id="ItcSetup"
> SourceFile="data\Intermec
> Drivers\Intermec.exe" />
> 
>                                 <CustomAction
> Id="ItcSetup"
> BinaryKey="ItcSetup" ExeCommand=""
> />
> 
>                                
> <InstallExecuteSequence>
> 
>                                                 <Custom
> Action="ItcSetup"
> After="ItcAXSetup" />
> 
>                                
> </InstallExecuteSequence>
> 
>  
> 
> I was wondering if there is a way to only run these custom
> actions if a
> feature I have defined is installed?
> 
>  
> 
> One more question, these custom actions are executed when I
> uninstall the
> program as well.  How do I prevent these custom actions
> from executing when
> the user uninstalls my program?  Thank you for your time.
> 
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


      

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to