I created a package to deploy software (already installed on client machines) version 23.1.0.4
Here is the setup.py file for my package:
Code: Select all
def install():
softname ='AWCLIENTSQL'
listAW=installed_softwares(softname)
if listAW == softname:
print("Mise a jour de DiaClientSQL")
install_exe_if_needed('DiaClientSQLInstall.exe',
silentflags='/Silent',
key='AWCLIENTSQL',
remove_old_version=True
)
else:
print("Mise a jour de DiaClientSQL")
install_exe_if_needed('DiaClientSQLInstall.exe',
silentflags='/Silent',
key='AWCLIENTSQL'
)
filecopyto(r'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\ACDSuite\DiaClient SQL.lnk',r'C:\Users\Public\Desktop')If I manually restart the update, it will eventually apply correctly after several attempts.waptutils.EWaptSetupException: Fatal error: Setup DiaClientSQLInstall.exe has been executed and key AWCLIENTSQL has been found in the registry, but version in registry does not match requirements of min_version=23.1.0.4
EWaptSetupException: Fatal error: Setup DiaClientSQLInstall.exe has been executed and key AWCLIENTSQL has been found in the registry, but version in registry does not match requirements of min_version=23.1.0.4
The version installed before the update via WAPT was 23.1.0.2
What can I do to avoid this problem?
