tis-lenovo-system-update

5.07.0136-13
Lenovo System Update for Windows 10 & 7 (32-bit, 64-bit) - Desktop, Notebook, Workstation
91 downloads
Download
View on luti logo
tis-lenovo-system-update icon

  Description 

  • package : tis-lenovo-system-update
  • version : 5.07.0136-13
  • architecture : all
  • categories : Drivers,Utilities
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • description : Lenovo System Update for Windows 10 & 7 (32-bit, 64-bit) - Desktop, Notebook, Workstation
  • locale : all
  • target_os : windows
  • min_wapt_version : 2.0
  • sources : https://support.lenovo.com/downloads/ds012808
  • installed_size :
  • impacted_process : tvsu,TvsuCommandLauncher,Tvsukernel,UNCServer,SUService,tvsushim
  • description_fr : Lenovo System Update pour Windows 10 & 7 (32-bit, 64-bit) - Ordinateurs de bureau, ordinateurs portables et stations de travail
  • description_pl : Lenovo System Update for Windows 10 & 7 (32-bit, 64-bit) - Desktop, Notebook, Workstation
  • description_de : Lenovo System Update für Windows 10 & 7 (32-bit, 64-bit) - Desktop, Notebook, Workstation
  • description_es : Actualización del sistema Lenovo para Windows 10 y 7 (32 bits, 64 bits) - Escritorio, portátil, estación de trabajo
  • description_pt : Lenovo System Update for Windows 10 & 7 (32-bit, 64-bit) - Desktop, Notebook, Workstation
  • description_it : Aggiornamento del sistema Lenovo per Windows 10 e 7 (32 bit, 64 bit) - Desktop, notebook, workstation
  • description_nl : Lenovo systeemupdate voor Windows 10 & 7 (32-bits, 64-bits) - Desktop, notebook, werkstation
  • description_ru : Lenovo System Update для Windows 10 и 7 (32-бит, 64-бит) - настольные компьютеры, ноутбуки, рабочие станции
  • editor : Lenovo
  • licence : Proprietary
  • signature_date : 2022-08-29T07:00:32.973732
  • Homepage : https://www.lenovo.com/
  • Depends :

  Setup.py 

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

# 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 = "system_update_"
silent_args = "/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-"
app_uninstallkey = "TVSU_is1"
schtasks_list = [
    r"\TVT\TVSUUpdateTask",
    r"\TVT\TVSUUpdateTask_UserLogOn",
]


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*%s*.exe" % bin_contains)[0]

    # Installing the package
    print("Installing: %s" % bin_name)
    install_exe_if_needed(
        bin_name,
        silentflags=silent_args,
        key=app_uninstallkey,
        min_version=package_version,
    )

    # Disabling Telemetry and adding base configuration (procedure: https://thinkdeploy.blogspot.com/2020/03/system-update-suite-and-mem-part-2.html)
    if iswin64():
        app_reg_path_part = r"SOFTWARE\WOW6432Node\Policies\Lenovo\System Update"
        app_reg_path_user_part = r"SOFTWARE\WOW6432Node\Lenovo\System Update"
    else:
        app_reg_path_part = r"SOFTWARE\Policies\Lenovo\System Update"
        app_reg_path_user_part = r"SOFTWARE\Lenovo\System Update"
    # registry_setstring(HKEY_LOCAL_MACHINE, r'%s\UserSettings\General' % app_reg_path_part, 'AdminCommandLine', '')
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\UserSettings\General" % app_reg_path_part, "AskBeforeClosing", "NO")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\UserSettings\General" % app_reg_path_part, "DisplayLicenseNotice", "NO")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\UserSettings\General" % app_reg_path_part, "MetricsEnabled", "NO")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\UserSettings\Scheduler" % app_reg_path_part, "SchedulerAbility", "YES")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\UserSettings\Scheduler" % app_reg_path_part, "SchedulerLock", "SHOW")
    # registry_setstring(HKEY_LOCAL_MACHINE, r'%s\UserSettings\Scheduler' % app_reg_path_part, 'SchedulerAbility', 'NO')
    # registry_setstring(HKEY_LOCAL_MACHINE, r'%s\UserSettings\Scheduler' % app_reg_path_part, 'SchedulerLock', 'HIDE')
    # HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Lenovo\System Update\Preferences\UserSettings\Scheduler
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s" % app_reg_path_user_part, "FirstTimeRun", "false")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\Preferences\UserSettings\General" % app_reg_path_user_part, "EULAAccepted", "true")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\Preferences\UserSettings\General" % app_reg_path_user_part, "DisplayLicenseNoticeSU", "NO")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\Preferences\UserSettings\Scheduler" % app_reg_path_user_part, "SchedulerSettingChangedByUser", "YES")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\Preferences\UserSettings\Scheduler" % app_reg_path_user_part, "RunOn", "WEDNESDAY")
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\Preferences\UserSettings\Scheduler" % app_reg_path_user_part, "SearchMode", "CRITICAL")
    # registry_setstring(HKEY_LOCAL_MACHINE, r'%s\Preferences\UserSettings\Scheduler' % app_reg_path_user_part, 'SearchMode', 'RECOMMENDED')
    registry_setstring(HKEY_LOCAL_MACHINE, r"%s\Preferences\UserSettings\Scheduler" % app_reg_path_user_part, "NotifyOptions", "NOTIFY")
    # registry_setstring(HKEY_LOCAL_MACHINE, r'%s\Preferences\UserSettings\Scheduler' % app_reg_path_user_part, 'NotifyOptions', 'DOWNLOADANDINSTALL -INCLUDEREBOOT')
    # registry_setstring(HKEY_LOCAL_MACHINE, r'%s\Preferences\UserSettings\Scheduler' % app_reg_path_user_part, 'NotifyOptions', 'DOWNLOADANDINSTALL')



										

  Changelog 



Changelog software url : https://support.lenovo.com/downloads/ds012808



5.07.0136-13
===
improve code
slipt update package
									
  manifest.sha256