Changeset 66258 in vbox for trunk/src/VBox/ValidationKit/testdriver
- Timestamp:
- Mar 27, 2017 9:48:05 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py
r65967 r66258 723 723 724 724 ## VBox windows services we can query the status of. 725 kasWindowsServices = [ 'vboxdrv', 'vboxusbmon' ];725 kasWindowsServices = [ 'vboxdrv', 'vboxusbmon', 'vboxnetadp', 'vboxnetflt', 'vboxnetadp6', 'vboxnetlwf' ]; 726 726 727 727 def _installVBoxOnWindows(self): … … 751 751 752 752 # Uninstall any previous vbox version first. 753 fRc = self._uninstallVBoxOnWindows( );753 fRc = self._uninstallVBoxOnWindows(True); 754 754 if fRc is not True: 755 755 return None; # There shouldn't be anything to uninstall, and if there is, it's not our fault. … … 802 802 return cKilled; 803 803 804 def _uninstallVBoxOnWindows(self ):804 def _uninstallVBoxOnWindows(self, fIgnoreServices = False): 805 805 """ 806 806 Uninstalls VBox on Windows, all installations we find to be on the safe side... … … 864 864 # Log driver service states (should ls \Driver\VBox* and \Device\VBox*). 865 865 for sService in self.kasWindowsServices: 866 self._sudoExecuteSync(['sc.exe', 'query', sService]); 866 fRc2, _ = self._sudoExecuteSync(['sc.exe', 'query', sService]); 867 if fIgnoreServices is False and fRc2 is False: 868 fRc = False 867 869 868 870 return fRc;
Note:
See TracChangeset
for help on using the changeset viewer.