tis-virtualbox

7.1.6-29
Oracle VM VirtualBox (anciennement VirtualBox) est un logiciel libre de virtualisation publié par Oracle
46133 téléchargements
Télécharger
Voir le résultat de la construction Voir l'analyse de VirusTotal
tis-virtualbox icon
  • package : tis-virtualbox
  • name : Oracle VM VirtualBox
  • version : 7.1.6-29
  • categories : System and network
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
  • editor : Oracle Corporation
  • licence : GPLv2
  • locale : all
  • target_os : windows
  • impacted_process : VirtualBox,VBoxWebSrv,VBoxSVC,VBoxAutostartSvc,VBoxBalloonCtrl,VBoxBugReport,VBoxDTrace,VBoxManage,VBoxSDS,VBoxExtPackHelperApp,VBoxTestOGL,VBoxNetDHCP,VBoxNetNAT,VirtualBoxVM,VBoxHeadless,VBoxSDL,vbox-img
  • architecture : x64
  • signature_date : 2025-02-03 12:26
  • size : 144.16 Mo
  • installed_size : 506.54 Mo
  • homepage : https://www.virtualbox.org/
  • depends :
package           : tis-virtualbox
version           : 7.1.6-29
architecture      : x64
section           : base
priority          : optional
name              : Oracle VM VirtualBox
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon Fonteneau
description       : Oracle VM VirtualBox (formerly VirtualBox) is a free virtualization software published by Oracle
depends           : tis-vcredist
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.1
sources           : https://www.virtualbox.org/wiki/Downloads
installed_size    : 506540032
impacted_process  : VirtualBox,VBoxWebSrv,VBoxSVC,VBoxAutostartSvc,VBoxBalloonCtrl,VBoxBugReport,VBoxDTrace,VBoxManage,VBoxSDS,VBoxExtPackHelperApp,VBoxTestOGL,VBoxNetDHCP,VBoxNetNAT,VirtualBoxVM,VBoxHeadless,VBoxSDL,vbox-img
description_fr    : Oracle VM VirtualBox (anciennement VirtualBox) est un logiciel libre de virtualisation publié par Oracle
description_pl    : Oracle VM VirtualBox (dawniej VirtualBox) to darmowe oprogramowanie do wirtualizacji opublikowane przez Oracle
description_de    : Oracle VM VirtualBox (ehemals VirtualBox) ist eine von Oracle veröffentlichte kostenlose Virtualisierungssoftware
description_es    : Oracle VM VirtualBox (antes VirtualBox) es un software de virtualización libre publicado por Oracle
description_pt    : Oracle VM VirtualBox (anteriormente VirtualBox) é um software de virtualização gratuito publicado pela Oracle
description_it    : Oracle VM VirtualBox (precedentemente VirtualBox) è un software di virtualizzazione gratuito pubblicato da Oracle
description_nl    : Oracle VM VirtualBox (voorheen VirtualBox) is een gratis virtualisatiesoftware, gepubliceerd door Oracle
description_ru    : Oracle VM VirtualBox (ранее VirtualBox) - это бесплатное программное обеспечение для виртуализации, опубликованное компанией Oracle
audit_schedule    : 
editor            : Oracle Corporation
keywords          : virtualization,host,vm,virtual,machine,hosts,oracle
licence           : GPLv2
homepage          : https://www.virtualbox.org/
package_uuid      : 5d1f82d0-dd23-4fe1-8f32-38f870400031
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.virtualbox.org/wiki/Changelog
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : e951bcceaa888dbfed95529b40efcbc483e9c9f0b6cc7b50efe93f9459030a36
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-02-03T12:26:29.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : ar/S/3ta9RxS17hnEU8w7lfcxrTp4fwv++Z+pQ+A1e99HqNp5kDd7Y7IoYPk9WutwLOXmCXpGW1O8Zffyir6yDL8kr31etkfBgaUXpUUpXzoKgybj1JeBH7AjhKejlvwMA2Dd0HzUrB/5QS92u0QLzVLBOM5i9d6w6h7O1BEzmzQdPzFw1cYlcHiE1DrJOdLSdqaEXEsqRllaViFSTO3VX1uUSqODKLnPARWINh8vWEsFxcxxzRNr8owuySoahguSNP7fG6L2jTGT83chpZbMqJhg0a4tQXkg1la1Nq4/lt1bU6cFGaJ3ZpyLqoaEkZx8ZunSCKp7MhQr95UswmARg==
# -*- coding: utf-8 -*-
from setuphelpers import *

app_install_path = makepath(programfiles, "Oracle", "VirtualBox")
app_vbm = makepath(app_install_path, "VBoxManage.exe")


def install():
    # Avoid VMs to be shutted unexpectedly
    if isrunning("virtualbox") and not force:
        error("ERROR: VirtualBox is running")
    else:
        # Uninstalling the software if install forced
        for to_uninstall in installed_softwares("VirtualBox"):
            print("Removing: %s" % to_uninstall["name"])
            killalltasks(control.get_impacted_process_list())
            run(uninstall_cmd(to_uninstall["key"]))
            wait_uninstallkey_absent(to_uninstall["key"])

    # Adding certs
    try:
        for crt in glob.glob("oracle*.cer"):
            run(r"C:\Windows\System32\certutil.exe -addstore TrustedPublisher %s" % crt)
    except:
        for crt in glob.glob("oracle*.cer"):
            run(r"C:\Windows\System32\certutil.exe -addstore -f TrustedPublisher %s" % crt)
    # Installing the package
    bin_name = glob.glob("VirtualBox-*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags="--silent --msiparams REBOOT=ReallySuppress ALLUSERS=2 VBOX_INSTALLDESKTOPSHORTCUT=0 VBOX_START=0 VBOX_INSTALLQUICKLAUNCHSHORTCUT=0",
        name="Oracle VirtualBox " + control.get_software_version(),
        min_version=control.get_software_version(),
    )

    # Remove all file extpack
    for file in glob.glob(makepath(app_install_path, "Oracle_VM_VirtualBox_Extension_Pack-*.vbox-extpack")):
        print("Removing: %s" % file)
        remove_file(file)
    # Copy new extpack
    for ext in glob.glob("Oracle_VM_VirtualBox_Extension_Pack-*.vbox-extpack"):
        print("Copying: %s to: %s" % (ext, app_install_path))
        filecopyto(ext, app_install_path)
        # Install new extpack
        try:
            print(
                run(
                    'echo y | "%s" extpack install --replace "%s" --accept-license=33d7284dc4a0ece381196fda3cfe2ed0e1e8e7ed7f27b9a9ebc4ee22e24bd23c'
                    % (app_vbm, ext)
                )
            )
        except:
            print(run('"%s" extpack cleanup' % (app_vbm)))
            print(
                run(
                    'echo y | "%s" extpack install --replace "%s" --accept-license=33d7284dc4a0ece381196fda3cfe2ed0e1e8e7ed7f27b9a9ebc4ee22e24bd23c'
                    % (app_vbm, ext)
                )
            )


def session_setup():
    print("Disabling: Auto update checks")
    try:
        run('"%s" setextradata global GUI/UpdateDate never' % app_vbm)
    except:
        pass


def uninstall():
    if not installed_softwares("Oracle VM VirtualBox"):
        if isdir(app_install_path):
            remove_tree(app_install_path)
# -*- coding: utf-8 -*-
from setuphelpers import *


def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://www.virtualbox.org/wiki/Downloads"

    # Downloading latest binaries
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "a", "class", "ext-link", proxies=proxies):
        if bs_search["href"].split("/")[-1].endswith("-Win.exe"):
            url_dl = bs_search["href"]
            version = url_dl.split("/")[-2]
            latest_bin = url_dl.split("/")[-1]
    url_dl_ext = "https://download.virtualbox.org/virtualbox/%s/Oracle_VirtualBox_Extension_Pack-%s.vbox-extpack" % (version,version)
    latest_bin_ext = url_dl_ext.split('/')[-1]

    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % url_dl)
    print("Download Extension Pack URL is: %s" % url_dl_ext)

    # Downloading latest binaries
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(url_dl, latest_bin, proxies=proxies)

        # Checking version from file
        version_from_file = get_version_from_binary(latest_bin)
        if not version_from_file.startswith(version) and version_from_file != "":
            print("Changing version to the version number of the binary")
            os.rename(latest_bin, latest_bin.replace(version, version_from_file))
            version = version_from_file
        else:
            print("Binary file version corresponds to online version")

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Downloading extension
    if not isfile(latest_bin_ext):
        print("Downloading: %s" % latest_bin_ext)
        wget(url_dl_ext, latest_bin_ext, proxies=proxies)

    # Deleting outdated binaries
    remove_outdated_binaries(version, list_extensions=["exe", "vbox-extpack"])

    # Validating or not update-package-sources
    return package_updated
c13e47d3fb2c849019accb03353c7d04ffb9c264920075972ed2e2befe3cdd8b : Oracle_VirtualBox_Extension_Pack-7.1.6.vbox-extpack
35c42c98b784974a965c358a9bda63b6cb4edde80db83f87daa2fee83e6cfad6 : VirtualBox-7.1.6-167084-Win.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
0ca23b66cc4da8a72c6b80d15060b866535503088de60a208074fd0ea8580e98 : WAPT/changelog.txt
878adfe2076f5eb54736d1e1725959658cb4fc33d75210bbf73552a9613ecdf7 : WAPT/control
e951bcceaa888dbfed95529b40efcbc483e9c9f0b6cc7b50efe93f9459030a36 : WAPT/icon.png
0e192ed38ce8ddd223f299900bdb8f443e7e5eba369278599e31660c08ae0cde : luti.json
0108745cf218a42562d677b959a2b4119c8bc2bc52b41a65966d67f20c9b7087 : oracle2016.cer
9d41669a35340ddda88cff0083f4b7326503bc7656a3b6b35aef8b435450902b : oracle2024.cer
d257931d51ea8087bc9912ffe8ae6662601ef3464a49e92de9c617cd2a8a627f : setup.py
c75e78c3050e77374cba2978bc4ebd7c25a79b588bc59e74398902972744f096 : update_package.py
7.0.0-28
===
Uninstalling the software if install forced
Adding new certs

6.1.38-26
===
Unix : now installing VirtualBox_Extension_Pack and disable update check like Windows
Debian : Fix binary name crashes ("~")
Windows : reducing variables