Package problem: tis-7zip 21.05

Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is provided on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version (1.8.2 / 2.0 / 2.1 / 2.2 / etc.) AS WELL AS the Enterprise / Discovery edition.
* Specify the server OS (Linux / Windows) and version (Debian Stretch/Buster - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine (Windows 7 / 10)
. * As with any community forum, support is provided voluntarily by members. If you require sales support, you can contact the Tranquil IT sales department at 02.40.97.57.55
Locked
Portista
Messages: 1
Registration: Nov. 26, 2021 - 12:17 p.m.

November 26, 2021 - 12:34

Hello everyone,

I've noticed a problem with the latest version of 7-Zip on the store; all installations end in error

Upon closer inspection of setup.py, I noticed that it was missing this

Code: Select all

def get_version_from_binary(filename):
    if filename.endswith('.msi'):
        return get_msi_properties(filename)['ProductVersion']
    else:
        return get_file_properties(filename)['ProductVersion']
After modifying the package, everything works perfectly; I'm sharing this information in case it can help others.

Good day
Locked