How can I use Endpoint Central to check if a software application is installed in a client computer?

 

Description

This document provides steps required to use Endpoint Central to check if a software application is installed in a client computer. For example, you want to install Google Talk on the client computers in your network. However, you are not sure whether the software application is installed in the client computers. You can follow the steps given below to check whether Google Talk is installed in your client computers by looking for its installation folder.

Steps

The process of checking a software using Endpoint Central can be accomplished in two ways:

To check if a software application is installed in a computer by looking for its installation folder, follow the steps given below:

  1. Download the script checkfolderexists.txt
  2. Save it in your computer, locally
  3. Rename it to checkfolderexists.vbs
  4. Click the Software Deployment tab
  5. Click Add Package
  6. Set the package type as required
  7. Specify the name of the application
  8. Set the required path type
  9. Add the files or installation commands depending on the path type that you have chosen. Follow the steps given below:
    1. Network Path
      1. If you've chosen the file type as MSI, add name of the MSI file with the network path
      2. If you've chosen the file type as MSIEXEC/EXE/ISS/Command, specify the required installation command with switches or arguments specific to the application you are trying to install.
    2. HTTP Path
      1. If you've chosen the file type as MSI, browse and add the required files to upload. For example, the executable file of the application and a vbs file to check the volume of the drive in which you want to install the executable file.
      2. If you've chosen the file type as MSIEXEC/EXE/ISS/Command, browse and add files to upload and specify the required installation command with switches or arguments specific to the application you are trying to install.
  10. Check the Run the Script before Installing Software checkbox
  11. Enter the following in the fields provided:
    1. Script/Software name: %windir%\system32\cscript.exe checkfolderexists.vbs
    2. Arguments: <installation folder for a specific software application>. For example, "%ProgramFiles%\Google\Google Talk\". (Refer to Figure 1: Example for an HTTP-based package, below).

      Check folder

      Figure 1: Example for an HTTP-based package

  12. In the Continue installation if the exit code is field, enter 0
  13. Click Add Package
  14. Select the package that you added
  15. Click Install/Uninstall Software
  16. Select the required computers
  17. Click Deploy

The settings will reflect in the client computers during the agent's 90-minute refresh cycle, during startup or during logon—whichever takes place earlier.

If the folder that you are looking for already exists, you will see the error message, "Pre-Installation failed : Another version of this product is already installed. Installation of this version cannot continue. To configure or remove the existing version of this product, use Add/Remove Programs on the Control Panel.", when you check the deployment status. Endpoint Central will not install the package that you created.