- Timestamp:
- Feb 1, 2016 3:45:16 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py
r56295 r59547 214 214 asLogFile = [sWinDir+'setupapi.log', sWinDir+'setupact.log', sWinDir+'setuperr.log']; 215 215 216 # Apply The SetupAPI logging level so that we also get the (most verbose) setupapi.dev.log file. 217 ## @todo !!! HACK ALERT !!! Add the value directly into the testing source image. Later. 218 fHaveSetupApiDevLog = self.txsRunTest(oTxsSession, 'Enabling setupapi.dev.log', 30 * 1000, \ 219 'c:\\Windows\\System32\\reg.exe', ('c:\\Windows\\System32\\reg.exe', \ 220 'add', '"HKLM\\Software\\Microsoft\\Windows\\CurrentVersion\\Setup"', '/v', 'LogLevel', '/t', 'REG_DWORD', \ 221 '/d', '0xFF')); 222 223 # On some guests the files in question still can be locked by the OS, so ignore deletion 224 # errors from the guest side (e.g. sharing violations) and just continue. 216 225 for sFile in asLogFile: 217 self.txsRmFile(oSession, oTxsSession, sFile );226 self.txsRmFile(oSession, oTxsSession, sFile, 10 * 1000, fIgnoreErrors = True); 218 227 219 228 # Install the public signing key. … … 229 238 fRc = self.txsRunTest(oTxsSession, 'VBoxWindowsAdditions.exe', 5 * 60 * 1000, \ 230 239 '${CDROM}/VBoxWindowsAdditions.exe', ('${CDROM}/VBoxWindowsAdditions.exe', '/S', '/l', '/with_autologon')); 231 # For testing the installation (D)3D stuff ('/with_d3d') we need to boot up in safe mode.240 ## @todo For testing the installation (D)3D stuff ('/with_d3d') we need to boot up in safe mode. 232 241 233 242 # … … 244 253 asLogFile.append(sGuestAddsDir + 'install_drivers.log'); 245 254 asLogFile.append('C:/Windows/setupapi.log'); 246 asLogFile.append('C:/Windows/setupapi.dev.log'); 255 256 # Note: setupapi.dev.log only is available since Windows 2000. 257 if fHaveSetupApiDevLog: 258 asLogFile.append('C:/Windows/setupapi.dev.log'); 247 259 248 260 #
Note:
See TracChangeset
for help on using the changeset viewer.