Quote:

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.



This I know. But all computers in that department should not have JRE installed. And all new computers/installations comes with JRE.