Changeset 95715 in vbox for trunk/src/VBox/ValidationKit/testdriver
- Timestamp:
- Jul 18, 2022 4:37:45 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py
r94126 r95715 912 912 if sVBoxInstallPath is not None: 913 913 asArgs.extend(['INSTALLDIR="%s"' % (sVBoxInstallPath,)]); 914 914 if self.fpApiVer >= 6.1: 915 # We need to explicitly specify the location, otherwise the log would end up at a random location. 916 sLogFile = os.path.join(tempfile.gettempdir(), 'VBoxInstallLog.txt'); 917 asArgs.extend(['--msi-log-file', sLogFile]); 918 else: # Prior to 6.1 the location was hardcoded. 919 sLogFile = os.path.join(tempfile.gettempdir(), 'VirtualBox', 'VBoxInstallLog.txt'); 915 920 fRc2, iRc = self._sudoExecuteSync(asArgs); 916 921 if fRc2 is False: … … 920 925 reporter.error('Installer failed, exit code: %s' % (iRc,)); 921 926 fRc = False; 922 923 sLogFile = os.path.join(tempfile.gettempdir(), 'VirtualBox', 'VBoxInstallLog.txt');924 927 if os.path.isfile(sLogFile): 925 928 reporter.addLogFile(sLogFile, 'log/installer', "Verbose MSI installation log file");
Note:
See TracChangeset
for help on using the changeset viewer.