Posted 29 January 2004 - 06:34
I use the sdComponentTree for an installation. While unintalling I want to disable the checkbox for a particular node if it is installed. How do I disable the checkbox in sdComponentTree.
Posted 29 January 2004 - 08:30
You cannot disable an unchecked component entry in that dialog. If you need to do this you can build a custom dialog, based on one of the samples here:
Posted 27 February 2007 - 15:03
Example: In the SdComponentTree the component A and B should be visible and A should be checked and disabled. User should only check/uncheck B. So I activated A in setup type pane, then added a third component C, under required components I choose A and then made component C invisible. => Result: In SdComponentTree only A and B are displayed, but also A ist enabled and can be checked/unchecked.
What is the problem?
Posted 28 February 2007 - 09:22
Posted 14 March 2007 - 12:57
I followed your description. But it does not work: Component B is still enabled in sdComponentTree (can be checked/unchecked).
Afterwards I found the reason: There existed already an installation with this GUID. But in this older installation the invisible component C was not included. So component B was always enabled. The new installation now run as an update installation. And component B remained enabled. Only when running as a "first" installation the component B is disabled in SdComponentTree.
Might it be a solution to delete component B completely and afterwards create it once more in the project? Perhaps additionally changing the components name?
Edited by Ralf, 14 March 2007 - 14:23.
Posted 14 March 2007 - 14:49