Quote:

The basic idéa with having the computers removing themself from som kind of list was to know when the install script could be removed from the start script.




Generally you want to leave the install script in permanently, and only call it when needed. This is the purpose of checking the registry to see if the install needs to be done.

The idea is that the JRE will be installed automatically if you install a new computer to the department in future, or if the JRE is accidentally or deliberately removed.

If you use a list then it will quickly become out of date, and will not cater for the situation when JRE has been removed.