VC_redist.x86.exe Installation

IMPORTANT: Install this prerequisite on 64-bit operating systems. Install, reinstall, upgrade, and uninstall must take place on the **golden image** for the Non-persistent desktop.

First-time Install, Reinstall, and Upgrade

From the child system, open a command prompt window (right-click and select Run as administrator) and type the following command:

VC_redist.x86.exe /q /norestart /log <enter path to an existing folder>\VC2019x86.log (log is optional)

Silent First-time Install, Reinstall or Upgrade (use default logging - %temp%):

Text

Description automatically generated

Silent First-time Install, Reinstall or Upgrade (create log, create the temp folder)

Graphical user interface, text

Description automatically generated

  1. Switches Information

    1. /q – Quiet mode, no user input required or output shown

    2. /norestart – if the operation requires a reboot to complete, Setup should neither prompt nor cause a reboot.

    3. /log – Location of the log file (optional).  User may use this switch to create a log file in a specific location.  Required to create the directory folder.

    4. NOTE: It is not required to use the /log switch.  By default, vcredist automatically creates default logs in or near %temp% with a name based on the package, date and time, example:

      dd_vcredist_x86_<date><time>.log

      dd_vcredist_x86_<date><time>_<number>_vcRuntimeAdditional_x64.log

      dd_vcredist_x86_<date><time>_<number>_vcRuntimeMinimum_x64.log

  2. The installation takes a few seconds to complete.

  3. If you are performing a silent installation (using the /q switch), you may view the progress in the Task Manager.

  4. Should see VC_redist.x86.exe listed when running.

  5. User may determine if the installation was a success or failure by reading information near the bottom of the log.  Example default log file name and entry toward the bottom of the page:

    MSI (s) (1C:30) [09:32:38:394]: Product: Microsoft Visual C++ 2019 X86 Additional Runtime - 14.24.28127 -- Installation completed successfully.

    MSI (s) (1C:30) [09:32:38:394]: Product: Microsoft Visual C++ 2019 X86 Minimum Runtime - 14.24.28127 -- Installation completed successfully.

    To determine if a system reboot is needed, search for entries that indicate a system reboot is required.  Key words to search for are:  System restart and Reboot.

    Info 1903.Scheduling reboot operation: Deleting file c:\Config.Msi\3c4d50f.rbf. Must reboot to complete operation.

    MSI (s) (EC:A0) [16:38:48:595]: The Windows Installer initiated a system restart to complete or continue the configuration of...

    Once the installation completes, the name will be removed.

  6. If log indicates installation failed, you may need to search for “return value 3” to help determine why the installation failed.