- Server OS (Linux) and version (Debian Strech)
- Operating system of the administration/package creation machine (Windows 10)
Good morning,
We will soon be implementing WAPT in our park, however I am encountering a problem with some of my packages.
Some of my packages have command lines after installation (run or install_exe_if_needed) for copying files, creating registry keys, etc
To avoid rewriting certain data and losing configuration on already installed machines, I copied part of the code from a package to verify that the software is properly installed.
I tried several methods but some packages won't install
1.
Code: Select all
def install():
global uninstallkey
from common import Wapt
softname = 'DameWare Remote Support'
check_installed_out = installed_softwares(softname)
Software = [ soft for soft in installed_softwares(softname) if Version(soft['version']) < Version('12.0.6002.5') ]
if Software:
print('installing futur-DameWareRS')
run('DameWareRS.exe /args "/qn reboot=reallysuppress SILENT=yes INSTALLSTANDALONE=0 CENTRALSERVERHOSTNAME=*****.****.***.fr CENTRALSERVERPORT=6133"')
else:
print('already installed')Code: Select all
def install():
softname = 'DameWare Remote Support'
check_installed_out = installed_softwares(softname)
if not check_installed_out:
print('installing futur-DameWareRS')
run('DameWareRS.exe /args "/qn reboot=reallysuppress SILENT=yes INSTALLSTANDALONE=0 CENTRALSERVERHOSTNAME=*****.*****.****.fr CENTRALSERVERPORT=6133"')
else:
print('already installed')When I print my variable, it is empty; my script should perform the installation.
Do you have a simpler method for deployment on workstations already in place?
I'm reaching out to you because I've been racking my brains for several weeks trying to find a solution, and the production launch date is fast approaching
Thank you.
