- Timestamp:
- Aug 12, 2019 6:51:14 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py
r79092 r80232 306 306 continue; 307 307 sBase = sBase.lower(); 308 if sBase in [ 'vboxsvc', 'v irtualbox', 'virtualboxvm', 'vboxheadless', 'vboxmanage', 'vboxsdl', 'vboxwebsrv',309 'vbox autostart', 'vboxballoonctrl', 'vboxbfe', 'vboxextpackhelperapp', 'vboxnetdhcp',310 'vboxnet adpctl', 'vboxtestogl', 'vboxtunctl', 'vboxvmmpreload', 'vboxxpcomipcd', 'vmCreator', ]:308 if sBase in [ 'vboxsvc', 'vboxsds', 'virtualbox', 'virtualboxvm', 'vboxheadless', 'vboxmanage', 'vboxsdl', 309 'vboxwebsrv', 'vboxautostart', 'vboxballoonctrl', 'vboxbfe', 'vboxextpackhelperapp', 'vboxnetdhcp', 310 'vboxnetnat', 'vboxnetadpctl', 'vboxtestogl', 'vboxtunctl', 'vboxvmmpreload', 'vboxxpcomipcd', ]: 311 311 aoTodo.append(oProcess); 312 312 if sBase.startswith('virtualbox-') and sBase.endswith('-multiarch.exe'): … … 471 471 elif sHost == 'linux': fRc = self._uninstallVBoxOnLinux(); 472 472 elif sHost == 'solaris': fRc = self._uninstallVBoxOnSolaris(True); 473 elif sHost == 'win': fRc = self._uninstallVBoxOnWindows( True);473 elif sHost == 'win': fRc = self._uninstallVBoxOnWindows(False); 474 474 else: 475 475 reporter.error('Unsupported host "%s".' % (sHost,)); … … 765 765 766 766 # Uninstall any previous vbox version first. 767 fRc = self._uninstallVBoxOnWindows( True);767 fRc = self._uninstallVBoxOnWindows(False); 768 768 if fRc is not True: 769 769 return None; # There shouldn't be anything to uninstall, and if there is, it's not our fault. … … 775 775 if sVBoxInstallPath is not None: 776 776 asArgs.extend(['INSTALLDIR="%s"' % (sVBoxInstallPath,)]); 777 777 778 fRc2, iRc = self._sudoExecuteSync(asArgs); 778 779 if fRc2 is False: 779 780 if iRc == 3010: # ERROR_SUCCESS_REBOOT_REQUIRED 780 reporter.log('Note: Installer required a reboot to complete installation'); 781 # Optional, don't fail. 781 reporter.error('Installer required a reboot to complete installation (ERROR_SUCCESS_REBOOT_REQUIRED)'); 782 782 else: 783 fRc = False; 783 reporter.error('Installer failed, exit code: %s' % (iRc,)); 784 fRc = False; 785 784 786 sLogFile = os.path.join(tempfile.gettempdir(), 'VirtualBox', 'VBoxInstallLog.txt'); 785 if sLogFile is not None \ 786 and os.path.isfile(sLogFile): 787 if os.path.isfile(sLogFile): 787 788 reporter.addLogFile(sLogFile, 'log/installer', "Verbose MSI installation log file"); 788 789 self._waitForTestManagerConnectivity(30); … … 910 911 if fRc2 is False: 911 912 if iRc == 3010: # ERROR_SUCCESS_REBOOT_REQUIRED 912 reporter. log('Note:Uninstaller required a reboot to complete uninstallation');913 reporter.addLogFile(sLogFile, 'log/uninstaller_reboot', \913 reporter.error('Uninstaller required a reboot to complete uninstallation'); 914 reporter.addLogFile(sLogFile, 'log/uninstaller_reboot', 914 915 "Verbose MSI uninstallation log file (reboot required)"); 915 # Optional, don't fail.916 916 else: 917 fRc = False; 917 reporter.error('Uninstaller failed, exit code: %s' % (iRc,)); 918 fRc = False; 918 919 919 920 self._waitForTestManagerConnectivity(30);
Note:
See TracChangeset
for help on using the changeset viewer.