- package: tis-microsoft-onedrive
- name: Microsoft OneDrive
- version: 25.051.0317.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: 83.98 Mo
- installed_size: 206.81 Mo
- homepage : https://www.microsoft.com/microsoft-365/onedrive
- conflicts :
package : tis-microsoft-onedrive
version : 25.051.0317.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 : 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 : 6856cdaa-edec-428b-bf7e-46a5fd92897a
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-04-18T06:00:23.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 : wYltRn2PaqJpzr8qZ3jAM0J+m4BBf7F28plTbVfky/fPGkNgzhDLdKJRe72d/qiVPnmWjILZ2t2dJIkcHYOXrDNg2PMUDOnMTNhyIbn/f8c0L5iDEMdhpTUThTdDXHlPDbaEKe8saKsXQW0K9UQ9H0h+EQe3g1rOjrBwDjlkKI5RpD5D1tsmeKC36Ik/KbRk+okYbpduph7AKQh7aMA/aG1rlRweMZjODar83U0u1sT1qk0rYnXcnAnCMCYQTDw9ZLPxrDF+dgRhDNXPWi6U48PwBsEInY7Up35KsPkerIt40dXepgnTfIVv3qjo6spwVaQZdKizC1looHUhR4Zmkg==
# -*- 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
96268272b97dc508afc5ca043005d394d4dda4033ebfd2fd77f1731f40629657 : OneDriveSetup-25.051.0317.0003.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
88aee0d38e5ebe86c76d64dddab880922bc72304d174dc23f1fda7577a3e0c25 : WAPT/control
0d407cea4d1a24e0ba18e77eff395c5d3abd728f69bd12ce60f9d0c4a2e99442 : WAPT/icon.png
1a05e9bab18ab0d0d5cdbd555618bb44a62de112e5a537330e65ee6deb61a677 : luti.json
8e27eae58301150ce070a930c730418ece6d0b990a0ce84f12f2027f4f706687 : setup.py
3d06355c224f1255bd5992c2202da5f2658a257322a1db17426b2d5c049589f9 : update_package.py