Simple software packaging: run a setup after preinstallation questions

hello Community,

Our customers can download our VPN software for (private) clients via our corporate website. The VPN Client is installed by simply running a Setup.exe. I'd like to control, that this VPN software is not installed on our managed clients, which belong to the ad-domain. So is there a simple way, to extend the VPN Software Installation process with a preinstallation check, to make sure, that the client does not belong to our domain. The software should only run on non-Domain clients

Which (simple) tool is fit best for this task. The customers use differents Windows Versions on their clients.

Thank you


0 Comments   [ + ] Show comments

Answers (1)

Posted by: martin99 6 years ago
Senior Yellow Belt

To my opinion users should not be able to install software on managed clients. They should have limited rights on the clients.

To "answer" the question:

  On Error Resume Next

  Dim Info
  Set Info = CreateObject("AdSystemInfo")
  GetDomainName = Info.DomainDNSName

  msgbox GetDomainName


Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ