Page 1 of 1

[RESOLVED] Arguments .msi

Published: Dec 11, 2024 - 4:10 PM
by Mugit
Good morning,

I'm having trouble creating a package with an .msi file
I would like to add some arguments.

This installation works when I use cmd without Wapt

Code: Select all

msiexec /i YubiKey-Minidriver-4.6.3.252-x64.msi /quiet INSTALL_LEGACY_NODE=1
Here is the code for my package

Code: Select all

properties = {
    'INSTALL_LEGACY_NODE':1,
    }
def install():
    # Declaring local variables
    # Installing the software
    print("Installing: YubiKey-Minidriver-4.6.3.252-x64.msi")
    install_msi_if_needed('YubiKey-Minidriver-4.6.3.252-x64.msi', properties = properties)
    
I don't have an error message, but it seems my arguments aren't being taken into account

Thanks in advance

Sincerely,
Brice

###############################

- Installed WAPT version 2.6.0
- Linux server OS and Debian version
- Operating system of the administration machine/Windows 11 package creation

Re: Arguments .msi

Published: Dec 12, 2024 - 09:58
by jlepiquet
Hello,

You should replace 'INSTALL_LEGACY_NODE':1 with "INSTALL_LEGACY_NODE":1.

Regards,

Re: Arguments .msi

Published: Dec 12, 2024 - 11:19
by Mugit
Thank you, you can close the request.

Sincerely,
Brice

################################

- WAPT version installed: 2.6.0
- Server OS: Linux and Debian version
- Administration/package creation machine OS: Windows 11