This is not possible with a Windows Installer tree control. You will need to write your own.
-Brian Simoneau -----Original Message----- From: Corry, Davidson [mailto:davidson.co...@sage.com] Sent: Friday, January 23, 2009 1:47 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Modify behavior of tree selection control? (Sorry if this is an FAQ. If so, I haven't found it yet, and please point me to it.) I want to modify the context-menu that appears when you click on the drive+arrow icon in the standard feature-selection control, on a per-feature basis. Specifically, I need to * no "entire feature will be installed" when feature is a leaf (and otherwise handle parent-features differently from leaves) * no "feature installed when required" (no on-demand install) * no "installed to run from network" (force local install) * disallow ANY selection when the feature is already installed (features are databases user may have updated, want to make them "install-only" so that user updates are never lost) [BUT have to allow select/deselect of not-yet-installed features] and the biggie: * pop up an edit box when the feature is selected for install, allow entry of an activation code for the feature, vet the code against a database, and allow re-entry of the code if the entered value is invalid, etc. Some features need a code, some don't and just need selection. Ideally, I would also like to be able to control the icon displayed for a feature: not just drive+arrow or red-X+arrow or grayed for parent feature with some-but-not-all subfeatures selected, but e.g. green for "already installed" etc. Is this possible with WiX? If so, how? Or am I better off writing my own control? Thanks for your help. -- DaĆ ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users