Changeset 81453 in vbox
- Timestamp:
- Oct 22, 2019 3:43:09 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestSessionImplTasks.cpp
r80833 r81453 2358 2358 static struct { const char *pszDst, *pszIso; } const s_aCertFiles[] = 2359 2359 { 2360 { "vbox.cer", " CERT/VBOX.CER" },2361 { "vbox-sha1.cer", " CERT/VBOX_SHA1.CER" },2362 { "vbox-sha256.cer", " CERT/VBOX_SHA256.CER" },2363 { "vbox-sha256-r3.cer", " CERT/VBOX_SHA256_R3.CER" },2364 { "oracle-vbox.cer", " CERT/ORACLE_VBOX.CER" },2360 { "vbox.cer", "/CERT/VBOX.CER" }, 2361 { "vbox-sha1.cer", "/CERT/VBOX-SHA1.CER" }, 2362 { "vbox-sha256.cer", "/CERT/VBOX-SHA256.CER" }, 2363 { "vbox-sha256-r3.cer", "/CERT/VBOX-SHA256-R3.CER" }, 2364 { "oracle-vbox.cer", "/CERT/ORACLE-VBOX.CER" }, 2365 2365 }; 2366 2366 uint32_t fCopyCertUtil = ISOFILE_FLAG_COPY_FROM_ISO; … … 2385 2385 GuestProcessStartupInfo siCertUtilRem; 2386 2386 siCertUtilRem.mName = "VirtualBox Certificate Utility, removing old VirtualBox certificates"; 2387 /* The argv[0] should contain full path to the executable module */ 2388 siCertUtilRem.mArguments.push_back(strUpdateDir + "VBoxCertUtil.exe"); 2387 2389 siCertUtilRem.mArguments.push_back(Utf8Str("remove-trusted-publisher")); 2388 2390 siCertUtilRem.mArguments.push_back(Utf8Str("--root")); /* Add root certificate as well. */ … … 2398 2400 GuestProcessStartupInfo siCertUtilAdd; 2399 2401 siCertUtilAdd.mName = "VirtualBox Certificate Utility, installing VirtualBox certificates"; 2402 /* The argv[0] should contain full path to the executable module */ 2403 siCertUtilAdd.mArguments.push_back(strUpdateDir + "VBoxCertUtil.exe"); 2400 2404 siCertUtilAdd.mArguments.push_back(Utf8Str("add-trusted-publisher")); 2401 2405 siCertUtilAdd.mArguments.push_back(Utf8Str("--root")); /* Add root certificate as well. */ … … 2410 2414 /* The installers in different flavors, as we don't know (and can't assume) 2411 2415 * the guest's bitness. */ 2412 mFiles.push_back(ISOFile("VBOXWINDOWSADDITIONS _X86.EXE",2416 mFiles.push_back(ISOFile("VBOXWINDOWSADDITIONS-X86.EXE", 2413 2417 strUpdateDir + "VBoxWindowsAdditions-x86.exe", 2414 2418 ISOFILE_FLAG_COPY_FROM_ISO)); 2415 mFiles.push_back(ISOFile("VBOXWINDOWSADDITIONS _AMD64.EXE",2419 mFiles.push_back(ISOFile("VBOXWINDOWSADDITIONS-AMD64.EXE", 2416 2420 strUpdateDir + "VBoxWindowsAdditions-amd64.exe", 2417 2421 ISOFILE_FLAG_COPY_FROM_ISO)); … … 2422 2426 * setup can take quite a while, so be on the safe side. */ 2423 2427 siInstaller.mTimeoutMS = 5 * 60 * 1000; 2428 2429 /* The argv[0] should contain full path to the executable module */ 2430 siInstaller.mArguments.push_back(strUpdateDir + "VBoxWindowsAdditions.exe"); 2424 2431 siInstaller.mArguments.push_back(Utf8Str("/S")); /* We want to install in silent mode. */ 2425 2432 siInstaller.mArguments.push_back(Utf8Str("/l")); /* ... and logging enabled. */
Note:
See TracChangeset
for help on using the changeset viewer.