<Custom Action="" After="InstallFiles" ><![CDATA[((!WebComponents=3) AND (&WebComponents=2)) OR ((!WebComponents=2) AND (&WebComponents=3))]]></Custom>
WebComponents is the name of my feature and I'm making sure this custom action is scheduled when it's being installed or being uninstalled (you can read more about the ! and & here: http://msdn.microsoft.com/library/default.asp?url="">)
One question, though. If I make a change to the source like this, what is my obligation with regard to the Open Source license? I don't think it would be helpful to submit this change back to the community, but I can't redistribute the code if I don't, is that correct?
Dana
On 7/5/06, Rob Mensching <[EMAIL PROTECTED]> wrote:
In WiX v2, the only way to condition out the ConfigureIIs action (the one
you want) in the .wixlib is to modify the .wxs file for the sca.wixlib and
rebuild it. In WiX v3, it is possible to override the condition on actions
without rebuilding (the feature you need).
From: [EMAIL PROTECTED]
[mailto: [EMAIL PROTECTED]] On Behalf Of Chandra
Rentachintala
Sent: Wednesday, July 05, 2006 11:23 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] conditional disabling ConfigureIIS custom action?
I am using sca.wixlib (wix 2.0) and it comes with ConfigureIIS action in
InstallExecuteSequence.
Our installation has multiple features and only few of them needs IIS
pre-requisite check.
Currently when we run the installer with features which don't need IIS,
this custom action is still getting executed and throwing an ignorable
dialog
with message "Cannot connect to Internet Information Server."
I tried adding conditional custom action explicitly in the
installexecutesequence in my code for ConfigureIIS
but it is not showing up in the msi when I open it in Orca.
If anyone already done conditionally disabling wix sca.wixlib custom
actions, let me know.
Thanks in advance,
chandra
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users