[SOLVED] Msiexe.exe uninstallation problem
Published: June 10, 2021 - 2:03 PM
Hello,
Novice, I am unable to uninstall software on Windows machines. From the WAPT console (under the "Software Inventory" tab of the machine in question), the uninstallation command is indicated as "MsiExec.exe /I{23170F69-40C1-2701-1801-000001000000}". So I created a simple command:
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
print("Uninstalling the software")
run(r'MsiExec.exe /I{23170F69-40C1-2701-1801-000001000000}')
print("The software has been successfully uninstalled")
And it gives me an error and doesn't uninstall the software I requested:
ERROR:
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3923, in install_wapt
exitstatus = setup.install()
File "C:\WINDOWS\TEMP\waptzbjrrri9\setup.py", line 7, in install
File "C:\Program Files (x86)\wapt\common.py", line 3705, in run
return ensure_unicode(setuphelpers.run(*arg, **args))
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 4029, in run
raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command 'MsiExec.exe /I{23170F69-40C1-2701-1801-000001000000}' returned non-zero exit status 1605.
Output:This action is valid only for tsd products Ú j Ó install Ú s .
Thank you in advance, cordially.
Novice, I am unable to uninstall software on Windows machines. From the WAPT console (under the "Software Inventory" tab of the machine in question), the uninstallation command is indicated as "MsiExec.exe /I{23170F69-40C1-2701-1801-000001000000}". So I created a simple command:
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
print("Uninstalling the software")
run(r'MsiExec.exe /I{23170F69-40C1-2701-1801-000001000000}')
print("The software has been successfully uninstalled")
And it gives me an error and doesn't uninstall the software I requested:
ERROR:
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\common.py", line 3923, in install_wapt
exitstatus = setup.install()
File "C:\WINDOWS\TEMP\waptzbjrrri9\setup.py", line 7, in install
File "C:\Program Files (x86)\wapt\common.py", line 3705, in run
return ensure_unicode(setuphelpers.run(*arg, **args))
File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 4029, in run
raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command 'MsiExec.exe /I{23170F69-40C1-2701-1801-000001000000}' returned non-zero exit status 1605.
Output:This action is valid only for tsd products Ú j Ó install Ú s .
Thank you in advance, cordially.