Alternatively, use $ and the component name if you want it
to run if a specific component is being installed (perhaps if the component is
shared between two features?)
--
Mike Dimmick From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Douglas Watts Sent: 26 September 2006 14:16 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Component Specific Custom Action I may be answering my
own question. Going with my example below, should be <Custom>
element look something like this? <InstallExecuteSequence>
<Custom Action=''
After='InstallFiles'>$FeatureOne=3</Custom> </InstallExecuteSequence> Where FeatureOne is my
feature that requires the custom action and FeatureTwo and FeatureThree do not
require the action. Could someone confirm
this for me? Thanks. __________ Doug
Watts From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas Watts More
clarification… I have started with
this: <Property
Id="SomeExternalProgramProp" Value="NotePad.exe"
/> … <CustomAction
Id="MyAction"
ExeCommand="Readme.txt"
Property="SomeExternalProgramProp"
Return="ignore" Execute="commit"
/> … <InstallExecuteSequence>
<Custom Action='' After='InstallFiles'>NOT
Installed</Custom> </InstallExecuteSequence> I think I just need to
understand what condition should go in the <custom> element instead of
“NOT Installed”. From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Douglas Watts OK, I was sure that I had seen an
example of this one. How do I set a component specific custom
action? Let’s say I have 3 features that the
user can select to install. For one of those features I need to execute a
custom action to so something (run an external program). If the user
chooses not to install that feature then the action should not
run. I’m sure you guys will tell me this
is easy…but I’m missing it. __________ Doug
Watts |
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users