[Resolved] Uninstalling the old version
Published: January 23, 2018 - 10:03 AM
Good morning,
I'm trying to create a package for SinusPhy 4.0.0.33, but on PCs already running version 4.0.0.31, I get the message: TimeoutExpired: Command '"SinusPhy_v4.0.0.33.exe" /VERYSILENT /loadinf=script.inf' timed out after 300 seconds with output ''''
I think this is because the previous version wasn't uninstalled. When I manually launch the installation of 4.0.0.33, it prompts me to uninstall the old one. Here's my code:
I tried forcing the uninstallation with this command, but it only returns "Warning: CalledProcessErrorOutput()", and nothing is uninstalled. Manually, the unins000.exe command works, but not "msiexec /x {8956B7CC-5C7F-4509-90A7-AADC0369E566}_is1".
WAPT Server version: 1.5.1.15
WAPT Agent version: 1.5.1.15
WAPT Setup version: 1.5.1.15
WAPT Deploy version: 1.5.1.14
Database status: OK (1.5.1.15)
I'm trying to create a package for SinusPhy 4.0.0.33, but on PCs already running version 4.0.0.31, I get the message: TimeoutExpired: Command '"SinusPhy_v4.0.0.33.exe" /VERYSILENT /loadinf=script.inf' timed out after 300 seconds with output ''''
I think this is because the previous version wasn't uninstalled. When I manually launch the installation of 4.0.0.33, it prompts me to uninstall the old one. Here's my code:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
install_exe_if_needed("SinusPhy_v4.0.0.33.exe",'/VERYSILENT /loadinf=script.inf',key='{8956B7CC-5C7F-4509-90A7-AADC0369E566}_is1',min_version='4.0.0.33')
Code: Select all
run_notfatal("%s\SinusPhy v4.0\unins000.exe /verysilent" %programfiles32)
WAPT Agent version: 1.5.1.15
WAPT Setup version: 1.5.1.15
WAPT Deploy version: 1.5.1.14
Database status: OK (1.5.1.15)