tis-autodesk-design-review icon

Design Review

Silent install package for Design Review

14.0.0.177-0

  • package: tis-autodesk-design-review
  • name: Design Review
  • version: 14.0.0.177-0
  • categories: Utilities,Media
  • maintainer: WAPT Team,Tranquil IT,Gaëtan SEGAT
  • editor: Autodesk
  • locale: fr
  • target_os: windows
  • impacted_process: DesignReview
  • architecture: all
  • signature_date:
  • size: 390.81 Mo
  • installed_size: 223.63 Mo
  • homepage : https://www.autodesk.fr/viewers
  • depends:

package           : tis-autodesk-design-review
version           : 14.0.0.177-0
architecture      : all
section           : base
priority          : optional
name              : Design Review
categories        : Utilities,Media
maintainer        : WAPT Team,Tranquil IT,Gaëtan SEGAT
description       : Design Review CAD viewing software allows you to view, annotate, print and track changes to 2D and 3D files, free of charge. DWG TrueView tool required.
depends           : tis-7zip
conflicts         : 
maturity          : PROD
locale            : fr
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.autodesk.fr/products/design-review/download
installed_size    : 223625216
impacted_process  : DesignReview
description_fr    : Le logiciel de visualisation de CAO Design Review vous permet de visualiser, d'annoter, d'imprimer et de suivre les modifications apportées à des fichiers 2D et 3D, gratuitement. Outil DWG TrueView requis.
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : Autodesk
keywords          : 3D,AutoCAD,Revit,Fusion 360,3ds Max,BIM 360,Civil 3D
licence           : 
homepage          : https://www.autodesk.fr/viewers
package_uuid      : 67568f61-8119-4086-8170-b35ae7e00f33
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 12fce2b23f6b2c7d7516ada61f533ee799900701996f25a1d62a0604d9d8c2c9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : XVBuW4jdfhodkOWAdlSU+Ty6cthkBAZ17S304SutxtWERzs7G2tunatD3SQ3w86nWVICrLZVfddhoKO4zoLkdeNfNVGLX7MXh1mAtvrDewbLdS6GZLdZilKVHx5JjV/lz0+CXjXCMP1y02jNWk2Ql+dEwJ78Eb2n3OfChdWvoLHi2GRLIMxM/6LRnA77SBEmczcFk5V6/mCzSHvukq3Mvr5kGXVqa9uDe/kqH0sHN9Yfo9hU8wExwRcP3T45h7+3amhvH8eKgwxFYAJCruBlvw7+W7vFl0jw7YDnuWEPr7m8Oj0JBfeisTBAl9K5x43sAzjUbTa6hSU/rtazJ9toQQ==
signature_date    : 2022-07-10T14:04:22.727684
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

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

r"""
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 = "SetupDesignReview"
app_uninstallkey = "{139C013B-5BAC-4101-BC6C-B2A78C0125A4}"
install_path = makepath(programfiles32, "Autodesk")
temp_path = makepath(systemdrive, "Autodesk")


def install():
    # Declaring local variables
    package_version = control.get_software_version()
    bin_name = glob.glob("*%s*.exe" % bin_contains)[0]
    extract_path = makepath(basedir, "extract")
    silentflags = r"/w /q /t %s\Setup.ini" % extract_path

    # Skip if already installed
    if need_install(app_uninstallkey, min_version=package_version, force=force):

        # Extract the software
        unzip_with_7zip(bin_name, extract_path)

        # Get setup installer path
        bin_path = makepath(extract_path, "Setup.exe")

        # Installing the software
        print("Installing: %s (%s)" % (control.name, package_version))
        install_exe_if_needed(
            bin_path,
            silentflags=silentflags,
            key=app_uninstallkey,
            min_version=package_version,
            timeout=2700,
        )
        
        # Delete extract files
        if isdir(extract_path):
            remove_tree(extract_path)
    else:
        # Making sure uninstallkey is known
        uninstallkey.append(app_uninstallkey)



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

# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
bin_contains = "SetupDesignReview"

def update_package():
    # Declaring local variables
    result = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    url = "https://www.autodesk.fr/products/design-review/download"
    locale = control.locale

    # Getting latest version from official sources
    print("URL used is: %s" % url)
    for bs_search in bs_find_all(url, "input", "name", "dlOs", proxies=proxies, timeout=10):
        if bin_contains in bs_search["data-dl"] and locale in bs_search["value"]:
            version = bs_search["data-dl"].split("/")[-4]
            download_url = bs_search["data-dl"]
            break

    latest_bin = bin_contains + version + ".exe"
    print("Latest %s version is: %s" % (app_name, version))
    print("Download URL is: %s" % download_url)

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

    # Get version from binary
    extract_temp_path = r"%s\%s%s" % (basedir, bin_contains, version)
    unzip_with_7zip(latest_bin, extract_temp_path)
    bin_version = glob.glob(r"%s%s\x86\ADR\*.msi" % (bin_contains, version))[0]  # x86 since the install should be x86
    version_from_file = get_version_from_binary(bin_version)
    remove_tree(extract_temp_path)

    # Changing version of the package
    if Version(version_from_file) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version_from_file)))
        result = True
    else:
        print("Software version up-to-date (%s)" % Version(version_from_file))
    control.version = "%s-%s" % (Version(version_from_file), control.version.split("-", 1)[-1])
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return result

d2567e2dd14c3b9337e7cb28839aedb0c6836d32eef2fb598cd98c4173dff71b : setup.py
02220dcd9bac14c3d4fd66a9036d172e45a8e7b88d55bbee818801dfc23b7f9f : update_package.py
12fce2b23f6b2c7d7516ada61f533ee799900701996f25a1d62a0604d9d8c2c9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
ac7dac256465365f3f880c2588cf0f4b80bbcef3cf8d1dce2b4ae97c05523b64 : WAPT/changelog.txt
2d7ebd51d55b98d64b0c932ee62cff70c1f23338d01e8f8779d3f414880073cb : luti.json
4702f2a024b06de2647891920a950784c8468fd46a29a6ec8ef89fcc582e43ea : SetupDesignReview2018.exe
2844606ebf483be88c828fe72346e0b80bc0738bef97a7c2f0ae2858f86bc79d : WAPT/control

14.0.0.177
===
Add icon