Help - Search - Members - Calendar
Full Version: Select an item if another is selected...
MSFN Forums > Member Contributed Projects > Other Member Contributed Projects > Windows Installation Helper Utility

   
Google Internet Forums Unattended CD/DVD Guide
Bendes
Hi everybody,

Treeview example :

CODE
X Java Runtime Environment
O Microsoft Office
X OpenOffice.org


I want to do the following :

If "OpenOffice.org" is selected then I want that "Java Runtime Environment" is also selected...


How can I do that ??? With "if.true" instruction is possible ???

huh.gif
XPect
The best thing to do is to set the Java Runtime as a sub item of OpenOffice so if you select OpenOffice, the runtime will be selected also.
You can also add a test to see if the Java Runtime is already installed, to prevent a reinstall.

While I don't have my test computer here, I can't give you an example, but will try later.
Bendes
QUOTE (XPect @ Dec 27 2005, 01:38 PM) *
The best thing to do is to set the Java Runtime as a sub item of OpenOffice so if you select OpenOffice, the runtime will be selected also.
You can also add a test to see if the Java Runtime is already installed, to prevent a reinstall.

While I don't have my test computer here, I can't give you an example, but will try later.



Thanx XPect but I don't want to do so because in my society you can install JRE for some reasons and not install OpenOffice.org...
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.