Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. vaughn87

    VBS that check if a rgistry key exists and if not installs an .msi

    Hi, i'm just testing the .vbs now , I want to deploy it on several computers. In this phase the script just doesn't stop even though the subkeys exist, it always goes to: Dim WShell Dim sInstallCommand Dim sPath, oExecShell, errReturn Set WShell = CreateObject("WScript.Shell") sPath =...
  2. vaughn87

    VBS that check if a rgistry key exists and if not installs an .msi

    Untill now I have this, which is not working: on error resume next 'option explicit ' Variable and constant Declarations Const HKEY_LOCAL_MACHINE = &H80000002 Dim WshShell Dim versionShort, FSO, objWMIService, colOperatingSystems Dim sCommandline, ExitCode, strKeyPath1, RegRead Dim...
  3. vaughn87

    VBS that check if a rgistry key exists and if not installs an .msi

    Hi, I need .vbs that will Check in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ and in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ for a key and if it doesn't exists run an installation.

Part and Inventory Search

Back
Top