Changeset 95758 in vbox
- Timestamp:
- Jul 20, 2022 6:13:04 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 152468
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py
r95749 r95758 914 914 return None; # There shouldn't be anything to uninstall, and if there is, it's not our fault. 915 915 916 # Install the new one. 916 fGreaterOrEqual61 = True; ## @todo Parse the version from the executable. 917 918 # Gather installer arguments. 917 919 asArgs = [sExe, '-vvvv', '--silent', '--logging']; 918 920 asArgs.extend(['--msiparams', 'REBOOT=ReallySuppress']); … … 920 922 if sVBoxInstallPath is not None: 921 923 asArgs.extend(['INSTALLDIR="%s"' % (sVBoxInstallPath,)]); 922 fGreaterOrEqual61 = True; ## @todo Parse the version from the executable. 924 923 925 if fGreaterOrEqual61: 924 926 # We need to explicitly specify the location, otherwise the log would end up at a random location. … … 927 929 else: # Prior to 6.1 the location was hardcoded. 928 930 sLogFile = os.path.join(tempfile.gettempdir(), 'VirtualBox', 'VBoxInstallLog.txt'); 931 929 932 if fGreaterOrEqual61 \ 930 933 and self._fWinInstallTimestampCA: … … 932 935 asArgs.extend(['--force-install-timestamp-ca']); 933 936 elif not fGreaterOrEqual61: 934 reporter.info('WARNING: We do not have support for the timestamp CA here! Testing might fail.'); 937 reporter.log('WARNING: We do not have support for the timestamp CA here! Testing might fail.'); 938 939 # Install it. 935 940 fRc2, iRc = self._sudoExecuteSync(asArgs); 936 941 if fRc2 is False: … … 940 945 reporter.error('Installer failed, exit code: %s' % (iRc,)); 941 946 fRc = False; 947 948 # Add the installer log if present and wait for the network connection to be restore after the filter driver upset. 942 949 if os.path.isfile(sLogFile): 943 950 reporter.addLogFile(sLogFile, 'log/installer', "Verbose MSI installation log file"); 944 951 self._waitForTestManagerConnectivity(30); 952 945 953 return fRc; 946 954
Note:
See TracChangeset
for help on using the changeset viewer.