Page 1 of 1

[RESOLVED] Avamar Package

Published: October 23, 2019 - 7:27 AM
by Smart
Good morning, gentlemen
I need to create a package to install the EMC AVAMAR software with certain parameters. Currently, I have this code:

Code: Select all

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

uninstallkey = []

def install():
    print('installing muller-emc-avamar-for-windows')
    install_msi_if_needed('AvamarClient-windows-x86_64-***.msi', arguments="SERVER='paris' DOMAIN='/clients/paris' UICOMPONENT=0")
Of course it doesn't work because it doesn't recognize the elements after the .msi.
Do you have any idea?

Sincerely

WAPT Community 1.7.5, server on centos, administration machine on windows server 2016.

Re: Avamar Package

Published: October 23, 2019 - 09:16
by sfonteneau
Hello,

here's an example of how to add extra properties as arguments to an MSI:

https://www.wapt.fr/fr/doc/wapt-create- ... -arguments

Re: [RESOLVED] Avamar Package

Published: October 23, 2019 - 09:52
by Smart

Code: Select all

def install():
    print('installing muller-emc-avamar-for-windows')
    install_msi_if_needed('AvamarClient-windows-x86_64-****.msi', min_version=None, timeout=300, properties={'SERVER':"paris",'DOMAIN':"/clients/paris" ,'UICOMPONENT':'0'})
Thank you, it works.