tis-microsoft-onedrive icon

Microsoft OneDrive

Paquet d’installation silencieuse pour Microsoft OneDrive

25.159.0817.0003-2

Les paquets PREPROD sont des paquets construits via LUTI. Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.

  • package: tis-microsoft-onedrive
  • name: Microsoft OneDrive
  • version: 25.159.0817.0003-2
  • categories: Utilities,Storage
  • maintainer: WAPT Team,Tranquil IT,Gaëtan SEGAT
  • editor: Microsoft
  • locale: all
  • target_os: windows
  • impacted_process: OneDrive
  • architecture: x64
  • signature_date:
  • size: 87.96 Mo
  • installed_size: 206.81 Mo
  • homepage : https://www.microsoft.com/microsoft-365/onedrive
  • conflicts :

package           : tis-microsoft-onedrive
version           : 25.159.0817.0003-2
architecture      : x64
section           : base
priority          : optional
name              : Microsoft OneDrive
categories        : Utilities,Storage
maintainer        : WAPT Team,Tranquil IT,Gaëtan SEGAT
description       : Save your files and photos to OneDrive and access them from any device, anywhere.
depends           : 
conflicts         : tis-disable-onedrive
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.microsoft.com/microsoft-365/onedrive/download
installed_size    : 206811136
impacted_process  : OneDrive
description_fr    : Stockez vos fichiers et photos sur OneDrive pour y accéder depuis n’importe quel appareil, où que vous soyez.
description_pl    : Zapisz swoje pliki i zdjęcia w usłudze OneDrive i uzyskaj do nich dostęp z dowolnego urządzenia, w dowolnym miejscu
description_de    : Speichern Sie Ihre Dateien und Fotos auf OneDrive und greifen Sie von jedem Gerät und überall darauf zu
description_es    : Guarda tus archivos y fotos en OneDrive y accede a ellos desde cualquier dispositivo y lugar
description_pt    : Guarde os seus ficheiros e fotografias na OneDrive e aceda a eles a partir de qualquer dispositivo, em qualquer lugar
description_it    : Salvate i vostri file e le vostre foto su OneDrive e accedete ad essi da qualsiasi dispositivo, ovunque
description_nl    : Sla uw bestanden en foto's op in OneDrive en raadpleeg ze vanaf elk apparaat, waar u ook bent
description_ru    : Сохраняйте свои файлы и фотографии в OneDrive и получайте к ним доступ с любого устройства и в любом месте
audit_schedule    : 
editor            : Microsoft
keywords          : cloud,file,one,drive,onedrive
licence           : 
homepage          : https://www.microsoft.com/microsoft-365/onedrive
package_uuid      : becc4cfb-18cc-42eb-ae93-e0e1e9123ccf
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://support.microsoft.com/office/onedrive-release-notes-845dcf18-f921-435e-bf28-4e24b95e5fc0
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 0d407cea4d1a24e0ba18e77eff395c5d3abd728f69bd12ce60f9d0c4a2e99442
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-09-17T01:26:13.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         : RDKN1rOmitLtydsCRkn+TJ27mblDY0OzqPf/xdMlN3hyuCFpWKMRuKMFEmu/2zpYpK1/OUeyp8r1R8A/QdfJ0gs3CT4KQ1KOfb1uFYzRn3rM3D+1SDxpNDBgBlZbiSv5tt/+JHgkr3FSXF4hkGrxJthbPi0Hb4IKgS/PchHkqVWIn+FJnQzl7zDYUIFt7o41pE7a0whPmWgRkMLpA0yvrQSMchA40aN7PNtDNFW5OzTzruUwfzCIvbAh3Ere4i2WzZwY7DfubnOyK0RzDD8rpJa+D6fBtBEXZREoTIgKANgwkCUqmBIdVDloQf5vQmENKRouyt8qEUzfQ4kNHYbauA==

# -*- coding: utf-8 -*-
from setuphelpers import *

# Important: Beginning January 1, 2022, we are ending support for selected OneDrive desktop apps running on Windows 7, 8, and 8.1. Learn more.
def install():
    # Declaring local variables
    bin_name = glob.glob("*OneDriveSetup*.exe")[0]
    session_setup()
    # Installing the package
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags="/allusers /silent",
        key="OneDriveSetup.exe",
        min_version=control.get_software_version(),
    )


def session_setup():
    # Declaring local variables
    task = r"\OneDrive Per-Machine Standalone Update Task"
    print("Disabling: auto-update-check")

    # Disabling application scheduled tasks
    if task_exists(task):
        try:
            disable_task(task)
        except:
            print("Unable to disable the task: %s" % task)

# -*- coding: utf-8 -*-
from setuphelpers import *
import platform

# Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "OneDriveSetup"


def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    bin_name_sub = bin_contains + "-%s.exe"

    url_dl = requests.head("https://go.microsoft.com/fwlink/?linkid=844652",allow_redirects=True).url
    version = url_dl.split('/')[-3]
    latest_bin = bin_name_sub % version

    print("Latest %s version is: %s" % (app_name, version))
    print("Download url is: %s" % url_dl)

    # 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 Version(version) != Version(version_from_file) and version_from_file != "":
            print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
            os.rename(latest_bin, bin_name_sub % version_from_file)
            version = version_from_file

    # 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)))
        result = True
    control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
    # control.set_software_version(Version(version))
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return result

91ff875561907f14b6f613b2dead1fdf53009be798be92a1598ac837654c546e : OneDriveSetup-25.159.0817.0003.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
eff9988ce4f80fd5f120ac0882a64387f5306608a96315f1cf83bedcc8d70b42 : WAPT/control
0d407cea4d1a24e0ba18e77eff395c5d3abd728f69bd12ce60f9d0c4a2e99442 : WAPT/icon.png
9dbc7588bfaee8111d7e1f3ad60cd194ba75521915da48e12352523723947abd : luti.json
8e27eae58301150ce070a930c730418ece6d0b990a0ce84f12f2027f4f706687 : setup.py
3d06355c224f1255bd5992c2202da5f2658a257322a1db17426b2d5c049589f9 : update_package.py