Below are the steps to install BrowserStack Code Quality on Windows:

  1. Download the installer file from your BrowserStack Code Quality Customer Portal > Releases tab > Installers. There will be file with name similar to the following:
  2. Right-click the zip folder, click Properties > General tab.
  3. In the ‘Security‘ section, if the Security button is blocked, unblock it and then proceed with the unzipping of the file.
    Note:- If the security button is not blocked, you can directly proceed with the unzipping of the file.
  4. Unzip the file.
  5. Go to setup folder.
  6. Open command prompt in admin mode, change the directory (folder) using cd to the path (gammaWindowsInstallersetup) where setup.bat file is located and run the command:
  7. This will install the pre-requisites for the gamma including required frameworks, tools, etc.
    The script will set all the required environment variables.
  8. On successful installation, BrowserStack Code Quality login page will be available at localhost:3000.
  9. Activate BrowserStack Code Quality.

Enable C# Security Checks

  1. To enable Microsoft Security CodeScan tool for C#, install the following SDKs in order:
  2. Restart all 3 Gamma related services from services.msc