Problem uninstalling Crystal Reports package
Published: July 23, 2021 - 5:08 PM
Good morning,
I am having trouble uninstalling one of my packages.
Indeed, both installation and uninstallation are done through the same executable file.
The installation is very quiet.
But, when I start the uninstallation, a popup appears so that I can select the action I want to perform (remove in this case).
Here is the complete code:
The uninstallation command operates silently in cmd.
I am having trouble uninstalling one of my packages.
Indeed, both installation and uninstallation are done through the same executable file.
The installation is very quiet.
But, when I start the uninstallation, a popup appears so that I can select the action I want to perform (remove in this case).
Here is the complete code:
Code: Select all
uninstallkey = ['{39D270D0-DD9C-4B8B-A696-EBFE7CFFFC2E}']
def install():
# installing the package
install_exe_if_needed('.\CrystalReports\setup.exe',
silentflags='-r response.ini',
key='{39D270D0-DD9C-4B8B-A696-EBFE7CFFFC2E}',
min_version='14.1.4.1327',
timeout=600
)
uninstallkey.remove('{39D270D0-DD9C-4B8B-A696-EBFE7CFFFC2E}')
def uninstall():
run(r'"C:\Program Files (x86)\SAP BusinessObjects\setup.exe" -q -u product.crystalreports-4.0-core-32',
timeout=600)
pass