I'm got an installer working off a modified version of the Mondo UI (wix 3.5) that has three different features, and each feature has a custom dialog screen that gathers information on how to configure those features. When the installer is run in maintenance mode as a change/modify, I want the user to go from the feature tree page (where they modified which features to have installed) to the dialogs for every feature that will end up being installed. I'm having problems getting the conditions correct on the Customize dialog's Next button though.
When doing a first time install, the condition only needs to be &Feature1=3 for it to work (I've set it up so you can't install as advertised or from source, so I should only have to deal with 2 and 3 for action state). However it looks like action state doesn't getting set during modify - is this true? Taking a look at the log, I see this: MSI (c) (74:9C) [13:49:51:024]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedFeature property. Its current value is 'Feature1'. Its new value: 'Feature2'. MSI (c) (74:9C) [13:49:51:759]: Note: 1: 2727 2: MSI (c) (74:9C) [13:49:51:774]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedAction property. Its current value is '3'. Its new value: '2'. MSI (c) (74:9C) [13:49:51:774]: PROPERTY CHANGE: Modifying MsiSelectionTreeSelectedCost property. Its current value is '0'. Its new value: '-976568'. That is from me running the installer to install Feature1 and Feature2, then running it again and deselecting Feature2 in the feature tree. Based on those lines from the log, it looks like it should know that Feature1's action state is set to 3...but I'm not seeing that behavior. When I have the condition just as &Feature1=3, I hit next and nothing happens. There is also the Installed state value, but that alone won't help. If a feature is getting uninstalled (in which case !Feature1=3), it would work if I could also check to see if the feature wasn't being uninstalled (!Feature1=3 AND NOT &Feature1=2), but that's not working either... I've been googling around and seen people reference Installed, MaintenanceMode=Modify, and WixUI_InstallMode = "Change", but as far as I can tell those are all on the product level, not a feature level, which doesn't help. Is there some basic concept about install/action state that I'm missing? Or am I going about the modify logic all wrong? Thanks, Adam ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users