IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

EDR Sensor: 7.2.1 msi install fails due to missing .vbs files

EDR Sensor: 7.2.1 msi install fails due to missing .vbs files

Environment

  • EDR Sensor: 7.2.1.17664
  • MSI Install Package

Symptoms

  • Errors when running msiexec.exe /qn /i cbsetup.msi /L*V msi.log
    • MSI (s) (D0:58) [14:36:12:842]: SECREPAIR: Failed to open the file:C:\Users\user1.TEST\Downloads\CarbonBlackGPOInstaller-7.2.1.17664-7-2-1\removeuninst.vbs for computing its hash. Error:2
      MSI (s) (D0:58) [14:36:12:842]: SECUREREPAIR: Failed to CreateContentHash of the file: removeuninst.vbs: for computing its hash. Error: 2
      MSI (s) (D0:58) [14:36:12:842]: SECREPAIR: Failed to open the file:C:\Users\user1.TEST\Downloads\CarbonBlackGPOInstaller-7.2.1.17664-7-2-1\MSICode.vbs for computing its hash. Error:2
      MSI (s) (D0:58) [14:36:12:842]: SECUREREPAIR: Failed to CreateContentHash of the file: MSICode.vbs: for computing its hash. Error: 2
      MSI (s) (D0:58) [14:36:12:842]: SECREPAIR: Failed to open the file:C:\Users\user1.TEST\Downloads\CarbonBlackGPOInstaller-7.2.1.17664-7-2-1\removesrcfiles.vbs for computing its hash. Error:2
      MSI (s) (D0:58) [14:36:12:842]: SECUREREPAIR: Failed to CreateContentHash of the file: removesrcfiles.vbs: for computing its hash. Error: 2
      MSI (s) (D0:58) [14:36:12:981]: Executing op: FileCopy(SourceName=MSICode.vbs,SourceCabKey=MSICode.vbs,DestName=MSICode.vbs,Attributes=0,FileSize=0,PerTick=65536,,VerifyMedia=1,,,,,CheckCRC=0,Version=65535.65535.65535.65535,Language=0,InstallMode=58982400,,,,,,,)
      MSI (s) (D0:58) [14:36:12:981]: File: C:\Program Files (x86)\CarbonBlack\GPOInstaller.7.2.1\MSICode.vbs;        To be installed;        Won't patch;    No existing file
      MSI (s) (D0:58) [14:36:12:981]: Source for file 'MSICode.vbs' is uncompressed, at 'C:\Users\user1.TEST\Downloads\CarbonBlackGPOInstaller-7.2.1.17664-7-2-1\'.
      MSI (s) (D0:58) [14:36:12:981]: Note: 1: 2318 2: C:\Users\user1.TEST\Downloads\CarbonBlackGPOInstaller-7.2.1.17664-7-2-1\MSICode.vbs
      MSI (s) (D0:58) [14:36:12:981]: Note: 1: 1308 2: C:\Users\user1.TEST\Downloads\CarbonBlackGPOInstaller-7.2.1.17664-7-2-1\MSICode.vbs
      MSI (s) (D0:58) [14:36:12:981]: Product: VMware Carbon Black EDR Sensor -- Error 1308. Source file not found: C:\Users\user1.TEST\Downloads\CarbonBlackGPOInstaller-7.2.1.17664-7-2-1\MSICode.vbs.  Verify that the file exists and that you can access it.
      Error 1308. Source file not found: C:\Users\user1.TEST\Downloads\CarbonBlackGPOInstaller-7.2.1.17664-7-2-1\MSICode.vbs.  Verify that the file exists and that you can access it.
      MSI (s) (D0:58) [14:36:12:997]: Executing op: FileRemove(,FileName=C:\Program Files (x86)\CarbonBlack\GPOInstaller.7.2.1\MSICode.vbs,,)

Cause

7.2.1.17664 MSI installer package is missing the following files
  • removesrcfiles.vbs
  • MSICode.vbs
  • removeuninst.vbs

Resolution

 
  1. Download missing vbs files here 
    • Checksums
      Filemd5sha256
      Missing 7.2.1 MSI VBS Files.zip01954c5bd9a3de5d9dc3f52965d08c587ac6ec1039d606a8ef400dee883975274a3c64676e2c1f42f924bc522bc117f
      MSIcode.vbs392cb1cd4b2095f7b7966b3fb658f7ac2930aa0f1a0795d54de65eefd52ad35451300cf3160abecf2ca1c2e1a9d8cfda
      removesrcfiles.vbsa82dece3b00931114864f5696e09f1cc02406d28cf7e1721156e406e4d35e7213d7fabf4edf0b7202ccffedfed7ddd7c
      removeuninst.vbsfcd2be81bcf36cee015a2e34a7ab07c47ce019e9244355ef48818e324e627da0b1b6c5d4a90005240fcda79a44d4d804
      VBS File Notes.txt9fb93697924e4c8fdf6a2eac104c50a1554b43a3e1239239b376e546cf6983c95c9c11515bf94daae12b2926cbd21e71
  2. Copy the three vbs files into the MSI zip file or the directory to which it has been extracted
  3. Use msiexec to install
    msiexec.exe /qn /i cbsetup.msi /L*V msi.log

Additional Notes

  • This does not affect the .exe installer/upgrader. This can be used instead of the workaround for individual installs. 
  • Right-clicking on the cbsetup.msi file and selecting 'Install' may not work once files are replaced
  • Use the CarbonBlackClientSetup.exe file in the same directory for a GUI-based install.
  • This will be fixed in future release versions of the sensor

Labels (1)
Tags (2)
Was this article helpful? Yes No
100% helpful (3/3)
Article Information
Author:
Creation Date:
‎06-14-2021
Views:
1408
Contributors