Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Maintenance logic change.


1 reply to this topic

shetty

shetty
  • Members
  • 11 posts

Posted 20 January 2004 - 17:39

Hi,

I have to change the logic in the maintenance screen as below:

1. MODIFY:- Must add only those components which are selected. It must not remove the components which are deselected. (But ComponentTransferData does that)
2. REPAIR:- Must remove those components which are selected. It must not reinstall any of the selected components. Is there any option to just remove only those components which are selected rather than re-installing the whole.
3. Removeall:- It shall work the same.

Cany any one suggest a logic for the above.

With regards,
Manjunath

Esquimaux

Esquimaux
  • Members
  • 17 posts

Posted 01 April 2004 - 18:03

Some suggestions:

1.

a. Record which components are selected before displaying the component tree.
b. Display the component tree.
c. Re-select all components that were selected before displaying the component tree.


2.

a. Record which components are selected before displaying the component tree.
b. Unselect all components
c. Display the component tree
d. Record which components are now selected
e. Un-select all components
d. Re-select all components that were selected before displaying the component tree.
f. Un-select all components that were selected in the component tree by the user.
g. Do not execute ComponentReinstall().



That's it. Good luck.
The Eskimo

"Evil shall come upon thee, which thou shalt not know how to deprecate"
- Robert Lowth, eighteenth-century Bishop of Winchester