Jens,

Very cool script. I would add the check to see if the user were a LOCAL ADMIN or not though. (you probably already do somewhere else in your main script) just mentioning it for other users here that may not realize it.

If the user is not a local admin they will not be able to install it.