I have the following properties in MSI. <!-- INSTALLTYPE: 1 = Standalone Installation, 2 = Server, 3 = Client, 4 = Agent -->
<Property Id="INSTALLTYPE" Secure="yes">1</Property> <Property Id="INSTALL_STANDALONE" Secure="yes">1</Property> <Property Id="INSTALL_SERVER" Secure="yes">0</Property> <Property Id="INSTALL_CLIENT" Secure="yes">0</Property> <Property Id="INSTALL_AGENT" Secure="yes">0</Property> I pass only the installtype from burn bootstrapper to the MSI. How do I achieve the following in .wxs file ? and setup the property values in runtime. Based on these property values, I install components. Note: I'm using burn UI and the MSI doesn't have any UI, so these properties must be set from burn. *If *INSTALLTYPE = 1,* then * INSTALL_STANDALONE = 1, INSTALL_SERVER = 0, INSTALL_CLIENT = 0, INSTALL_AGENT = 0 *else If* INSTALLTYPE = 2, *then * INSTALL_STANDALONE = 0, INSTALL_SERVER = 1, INSTALL_CLIENT = 0, INSTALL_AGENT = 0 *else If* INSTALLTYPE = 3, *then * INSTALL_STANDALONE = 0, INSTALL_SERVER = 0, INSTALL_CLIENT = 3, INSTALL_AGENT = 0 *else If* INSTALLTYPE = 4, *then * INSTALL_STANDALONE = 0, INSTALL_SERVER = 0, INSTALL_CLIENT = 0, INSTALL_AGENT = 1 *end if* ------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users