MSVC Compiler Installation failed with code 1 installing Virtual Analyst
search cancel

MSVC Compiler Installation failed with code 1 installing Virtual Analyst

book

Article ID: 390868

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager ServiceDesk

Issue/Introduction

The following error appears when trying to install Virtual Analyst

C:\casm-bot>installer.bat
This script installs all the dependencies for Virtual Analyst.
Select a Language Option for VA.
English (en)
German (de)
Spanish (es)
Portugese (pt)
French (fr)
Italian (it)
Enter your choice(en, de, es, pt, fr, it):pt
Installing dependencies for RASA...
Python "3.10.11" is already installed.  Proceeding to install other dependencies.
Installing MSVC Compiler(Please wait.  This will take a while)...
Error installing MSVC Compiler
MSVC Compiler Installation failed with code 1

C:\casm-bot>

Environment

Service Desk 17.x

Cause

During the installation process, the installer.bat script will download the MSVC compiler from the Microsoft website and try to install it.  The above error might happen if something goes wrong with executing the installer program.

Resolution

A workaround is to find where the file named "vs_buildtools.exe" was downloaded, open an administrator-level command prompt window to that folder, and execute it from there.  Then go back and try the installer.bat again.