Creating a package without an uninstall key found
Published: September 5, 2018 - 3:02 PM
Hello,
what parameter can I pass to uninstallkey to ensure the package installs correctly? The uninstallkey error below is already preventing proper installation; installing and uninstalling the application from the DOS command line works without any issues.
No registry key is found because the program installs in the user profile:
`wapt-get list-registry XXX
UninstallKey Software Version Uninstallstring`.
I
tried adding the following to setupy.py: `uninstallkey = ['cd %appdata%\XXX\ && unins000.exe /VERYSILENT /NORESTART']`.
Here is the error: `
installing XXX
EWaptException: The uninstall key: cd %appdata%\XXX\ && unins000.exe /VERYSILENT /NORESTART has not been found in system registry after software installation`.
For your information, I left the Uninstallkey parameter empty when generating the package via the console.
what parameter can I pass to uninstallkey to ensure the package installs correctly? The uninstallkey error below is already preventing proper installation; installing and uninstalling the application from the DOS command line works without any issues.
No registry key is found because the program installs in the user profile:
`wapt-get list-registry XXX
UninstallKey Software Version Uninstallstring`.
I
tried adding the following to setupy.py: `uninstallkey = ['cd %appdata%\XXX\ && unins000.exe /VERYSILENT /NORESTART']`.
Here is the error: `
installing XXX
EWaptException: The uninstall key: cd %appdata%\XXX\ && unins000.exe /VERYSILENT /NORESTART has not been found in system registry after software installation`.
For your information, I left the Uninstallkey parameter empty when generating the package via the console.