Dear  Blair,

Thank you for your advice and concern.

Yes, I will use "&FeatureName=3" style syntax for CustomAction by feature.

> I don't know what you mean by 
> "selected by command internally" but if you need help with 
> that please elaborate more.
I haven't decided yet how I implement the source regarding turning the features 
on/off internally.
But as is now, I intend to use a feature level modified by its child condition.
The information which features are set on/off comes from a pre-defined custom 
action's return values.

Best Regards,
Takashi SEKIDO

> -----Original Message-----
> From: Blair [mailto:os...@live.com] 
> Sent: Monday, August 31, 2009 12:59 PM
> To: 'General discussion for Windows Installer XML toolset.'
> Subject: Re: [WiX-users] CustomAction Exectuion by Feature
> 
> Are all of your feature-dependant custom actions sequenced in 
> the InstallExecuteSequence table after CostFinalize? If so, 
> you can use the "&FeatureName=3" style syntax to condition 
> your custom actions.
> 
> As to how to conditionalize your features, you can't use a 
> bitmap of InstallLevel (1: because InstallLevel is intended 
> as a scalar value where the values that are larger are "worth 
> more", and 2: as you noted, there aren't enough bits) but you 
> mention that "Those features are selected by command 
> internally during installation." I understand that to mean 
> that you already know how to identify which features you are 
> turning on and are doing so.
> 
> If not, the UI can turn features on/off and command-lines can 
> turn features on/off as well. I don't know what you mean by 
> "selected by command internally" but if you need help with 
> that please elaborate more.
> 
> -----Original Message-----
> From: takashi.sek...@jp.yokogawa.com 
> [mailto:takashi.sek...@jp.yokogawa.com]
> 
> Sent: Sunday, August 30, 2009 7:15 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] CustomAction Exectuion by Feature
> 
> Dear Sebastian Brand,
> 
> > When sequencing the custom action, use &MyFeature=3 to schedule it 
> > whenever the MyFeature feature is being installed.
> Thank you for your valuable advice.
> At first, I couldn't understand what you mean.
> But now, I understand what you mean.
> Your advice have really helped me!
> 
> Best Regards,
> Takashi SEKIDO
> 
> 
> Dear Yan Sklyarenko,
> 
> Thank you for your help!
> 
> > See <Condition/>, <Custom/> and <Feature/> element references in 
> > wix.chm for details.
> I checked the portion, but I couldn't figure out any solution.
> I think that using install level doesn't solve my problem.
> 
> What I want to do is as follows:
> 
> I have to implement 100 features.
> Those features are selected by command internally during installation.
> Each feature have own custom action. 
> I mean that when some features are selected, corresponding 
> custom actions are also executed.
> 
> By using install level, I think I might solve only 15 
> features, because Insall level can have 1 to 32767 integer 
> value, that means 15 bits combination.
> 
> How I should author the script?
> 
> Does anyone know how to solve and implement it?
> 
> Best Regards,
> Takashi SEKIDO
> 
> > -----Original Message-----
> > From: Sebastian Brand (Instyler Software) 
> > [mailto:wix+us...@instyler.com]
> > Sent: Tuesday, August 25, 2009 6:39 PM
> > To: 'General discussion for Windows Installer XML toolset.'
> > Subject: Re: [WiX-users] CustomAction Exectuion by Feature
> > 
> > When sequencing the custom action, use &MyFeature=3 to schedule it 
> > whenever the MyFeature feature is being installed.
> > 
> > Best regards,
> > Sebastian Brand
> > 
> > Instyler Setup - Creating WiX-based MSI installations, elegantly.
> > http://www.instyler.com
> > 
> > 
> > -----Original Message-----
> > From: Yan Sklyarenko [mailto:y...@sitecore.net]
> > Sent: Tuesday, August 25, 2009 11:01
> > To: General discussion for Windows Installer XML toolset.
> > Subject: Re: [WiX-users] CustomAction Exectuion by Feature
> > 
> > You should set the "same" condition to your custom action as to the 
> > feature.
> > I have quoted the "same" word because the actual condition might 
> > differ between Feature and Custom elements. When feature condition 
> > evaluates to true, it sets the feature level to the value 
> defined in 
> > <Condition/> element. This level might mean "install", but 
> also "not 
> > install" depending on your logic.
> > 
> > See <Condition/>, <Custom/> and <Feature/> element references in 
> > wix.chm for details.
> > Hope this helps.
> > 
> > -- Yan
> > 
> > -----Original Message-----
> > From: takashi.sek...@jp.yokogawa.com
> > [mailto:takashi.sek...@jp.yokogawa.com]
> > Sent: Tuesday, August 25, 2009 11:31 AM
> > To: wix-users@lists.sourceforge.net
> > Subject: [WiX-users] CustomAction Exectuion by Feature
> > 
> > Hello,
> > 
> > I would like to execute custom actions by feature using Wix3.0.
> > How can I solve this issue?
> > 
> > I means I want to execute a custom action when the 
> dependent feature 
> > is selected.
> > 
> > Does anyone know how to solve and implement it?
> > 
> > Thank you.
> > Takashi SEKIDO
> > 
> > 
> > --------------------------------------------------------------
> > ----------
> > ------
> > Let Crystal Reports handle the reporting - Free Crystal 
> Reports 2008 
> > 30-Day trial. Simplify your report design, integration and 
> deployment 
> > - and focus on what you do best, core application coding. Discover 
> > what's new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july 
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > 
> > --------------------------------------------------------------
> > --------------
> > --
> > Let Crystal Reports handle the reporting - Free Crystal 
> Reports 2008 
> > 30-Day trial. Simplify your report design, integration and 
> deployment 
> > - and focus on what you do best, core application coding. Discover 
> > what's new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july 
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > 
> > 
> > --------------------------------------------------------------
> > ----------------
> > Let Crystal Reports handle the reporting - Free Crystal 
> > Reports 2008 30-Day trial. Simplify your report design, 
> > integration and deployment - and focus on what you do best, 
> > core application coding. Discover what's new with Crystal 
> > Reports now.  http://p.sf.net/sfu/bobj-july 
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> > 
> 
> --------------------------------------------------------------
> --------------
> --
> Let Crystal Reports handle the reporting - Free Crystal 
> Reports 2008 30-Day 
> trial. Simplify your report design, integration and 
> deployment - and focus
> on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> --------------------------------------------------------------
> ----------------
> Let Crystal Reports handle the reporting - Free Crystal 
> Reports 2008 30-Day 
> trial. Simplify your report design, integration and 
> deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to