App Paths would be a neat way to solve this, if they meet all your requirements. The "registration" lives in components that you can add to the features.
http://msdn.microsoft.com/en-us/library/ee872121%28v=vs.85%29.aspx#reg_app -----Original Message----- From: Martin Kulov [mailto:mar...@kulov.net] Sent: 09 May 2011 22:41 To: wix-users Subject: [WiX-users] dependent features Hi all, I would like to set environment variable PATH based on other features that user has selected to install. PATH should set only the paths for selected features. Additionally user must turn on and off PATH registration by choosing to install feature called "Register Environment Variables". Based on the article below I found that it is not possible to have a component condition based on feature state: http://www.joyofsetup.com/2008/04/09/feature-states-in-component-conditions/ I spent my day looking for a solution, so any ideas would be extremely helpful. Thanks, Martin Kulov http://www.kulov.net ----------------------------------------------------------------------------- - WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users