Re: [WiX-users] How to declare optional - but exclusive - components?
Crusty Applesniffer wrote: If user selects Service N°2 during installation, Service N°1 feature will be unselected. If user selects Service N°1 during installation, Service N°2 feature goes back to unselected There's nothing automatic, either in the UI or with feature conditions, that support that. You could do it via control events by checking the feature's action state with featureId=3. See Examples of Conditional Statement Syntax in the MSI SDK doc for examples. -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to declare optional - but exclusive - components?
Hello, I'm using Wix3.0 and I wonder if there is a way to declare two components that can not be installed for the same feature. I mean how can I have: (x) Feature 1 (x) Component A ( ) Component B that automatically changes to : (x) Feature 1 ( ) Component A (x) Component B when the user selects component B (and vice-versa) Thank you Crusty Applesniffer - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to declare optional - but exclusive - components?
Crusty Applesniffer wrote: I'm using Wix3.0 and I wonder if there is a way to declare two components that can not be installed for the same feature. I mean how can I have: (x) Feature 1 (x) Component A ( ) Component B that automatically changes to : (x) Feature 1 ( ) Component A (x) Component B when the user selects component B (and vice-versa) It's not clear what you're looking for. Users don't select components -- the setup developer specifies which components belong to which features. Do you want a UI control? -- sig://boB http://joyofsetup.com/ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] How to declare optional - but exclusive - components?
Sorry, Feature Id=Complete Title=Complete Display=expand Level=1 ConfigurableDirectory=INSTALLLOCATION Feature Id=MainConsoleProgramCompleteFeat Title=Main Console Level=1 ComponentRef Id=MainConsole / /Feature Feature Id=KernelCompleteFeat Title=Service Level=1 ComponentRef Id=KernelComponent / /Feature Feature Id=Alternate1SvcCompleteFeat Title=Service N°1 Level=1 ComponentRef Id=Svc1Component / ComponentRef Id=Svc1Interface/ /Feature Feature Id=Alternate2SvcCompleteFeat Title=Service N°2 Level=1 ComponentRef Id=Svc2Component / ComponentRef Id=Svc2Interface/ /Feature /Feature If user selects Service N°2 during installation, Service N°1 feature will be unselected. If user selects Service N°1 during installation, Service N°2 feature goes back to unselected (I hope it is clearer, sorry) Bob Arnson wrote: Crusty Applesniffer wrote: I'm using Wix3.0 and I wonder if there is a way to declare two components that can not be installed for the same feature. I mean how can I have: (x) Feature 1 (x) Component A ( ) Component B that automatically changes to : (x) Feature 1 ( ) Component A (x) Component B when the user selects component B (and vice-versa) It's not clear what you're looking for. Users don't select components -- the setup developer specifies which components belong to which features. Do you want a UI control? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] How to declare optional - but exclusive - components?
Hello, I'm using Wix3.0 and I wonder if there is a way to declare two components that can not be installed for the same feature. I mean how can I have: (x) Feature 1 (x) Component A ( ) Component B that automatically changes to : (x) Feature 1 ( ) Component A (x) Component B when the user selects component B (and vice-versa) Thank you Crusty Applesniffer - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users