VirtualBox

Changeset 95776 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Jul 21, 2022 12:31:34 PM (2 years ago)
Author:
vboxsync
Message:

Validation Kit/tdAddBasic1.py: Automatically install the legacy timestamp CA for Windows guests. bugref:8691

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r94127 r95776  
    404404            self.txsRmFile(oSession, oTxsSession, sGstFile, 10 * 1000, fIgnoreErrors = True);
    405405
    406         #
    407         # The actual install.
    408406        # Enable installing the optional auto-logon modules (VBoxGINA/VBoxCredProv).
    409407        # Also tell the installer to produce the appropriate log files.
     408        sExe   = '${CDROM}/%s/VBoxWindowsAdditions.exe' % self.sGstPathGaPrefix;
     409        asArgs = [ sExe, '/S', '/l', '/with_autologon' ];
     410
     411        # As we don't have a console command line to parse for the Guest Additions installer (only a message box) and
     412        # unknown / unsupported parameters get ignored with silent installs anyway, we safely can add the following parameter(s)
     413        # even if older Guest Addition installers might not support those.
     414        if self.fpApiVer >= 6.1:
     415            asArgs.extend([ '/install_timestamp_ca' ]);
     416
     417        #
     418        # Do the actual install.
    410419        #
    411420        fRc = self.txsRunTest(oTxsSession, 'VBoxWindowsAdditions.exe', 5 * 60 * 1000,
    412                                '${CDROM}/%s/VBoxWindowsAdditions.exe' % self.sGstPathGaPrefix,
    413                               ('${CDROM}/%s/VBoxWindowsAdditions.exe' % self.sGstPathGaPrefix, '/S', '/l', '/with_autologon'),
    414                               fCheckSessionStatus = True);
     421                              sExe, asArgs, fCheckSessionStatus = True);
    415422
    416423        # Add the Windows Guest Additions installer files to the files we want to download
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette