tis-microsoft-onedrive icon

Microsoft OneDrive

Paquet d’installation silencieuse pour Microsoft OneDrive

25.075.0420.0002-2

  • package: tis-microsoft-onedrive
  • name: Microsoft OneDrive
  • version: 25.075.0420.0002-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: 85.90 Mo
  • installed_size: 206.81 Mo
  • homepage : https://www.microsoft.com/microsoft-365/onedrive
  • conflicts :

package           : tis-microsoft-onedrive
version           : 25.075.0420.0002-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          : PROD
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      : 49a477d2-6b13-4438-aec6-9945c165e21c
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            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T09:28:59.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         : UV23xz6PW/x59rEh8Bj12nJMG+WE5elCY5OMJvhJtEct0NhLjY0dbKqmwuocTiQpfEmzrS3KFp55XN8Px+a1qg3Tlq8htrozCH/EorudCNKcDpMXDcetU7TzFB9NAWUimSzQL6FI4fzuOow8IG3Hi9Bx8lP1IIJxr5XMqUESTdYHcTlxPyiShjI5/zxyfwKhM3MosH0mxmQIP6NYwGYsRfEucmHDkV6BTVxnGLwxY9qqOg5T/wQl622saKU/758jWkOgRj3p3qC8fh0IYYOw7pKmFKTzPKfqHm+OvgOf0GO19u4K+osbYTNx+SnzXilf2wAcLpdFOaCsu0Vh/eSZKw==

# -*- 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

f24c18a100cad017ce253518d3493f8a870b00bf8ff95dd9d887edb82d21625a : OneDriveSetup-25.075.0420.0002.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
935f7b78433bbd527d77b29b7c6a5ee1318f9303147f59d1e787a56ee0d95b1c : WAPT/control
0d407cea4d1a24e0ba18e77eff395c5d3abd728f69bd12ce60f9d0c4a2e99442 : WAPT/icon.png
62e16b9dad35a7929fde6a25ae237af902349f46d730e3e70e3ebe3c0aa3ae28 : luti.json
8e27eae58301150ce070a930c730418ece6d0b990a0ce84f12f2027f4f706687 : setup.py
3d06355c224f1255bd5992c2202da5f2658a257322a1db17426b2d5c049589f9 : update_package.py