Summary

For older versions of Lime CRM, upgrading may fail as the older versions isn't uninstalled properly.

Symptoms

This will cause the installer to fail with a stacktrace similar to this:

Checking for existing installation and doing magic...
  File "C:\Users\nta\AppData\Local\Temp\RarSFX2\\deploy.py", line 36, in main
Existing installation found, uninstalling...
    raise e
C:\Program Files (x86)\Lundalogik\LIME Pro Server\webserver\uninstall.bat
  File "C:\Users\nta\AppData\Local\Temp\RarSFX2\\deploy.py", line 26, in main
    handle_existing_install()
  File "C:\Users\nta\AppData\Local\Temp\RarSFX2\\deploy.py", line 110, in handle_existing_install
    call(uninstall_string)
  File "C:\Users\nta\AppData\Local\Temp\RarSFX2\\deploy.py", line 176, in call
    sp.check_call(cmdline, stdout=sys.stdout, stderr=sp.STDOUT)
  File "C:\Users\nta\AppData\Local\Temp\RarSFX2\Python34\lib\subprocess.py", line 556, in check_call
    retcode = call(*popenargs, **kwargs)
  File "C:\Users\nta\AppData\Local\Temp\RarSFX2\Python34\lib\subprocess.py", line 537, in call
    with Popen(*popenargs, **kwargs) as p:
  File "C:\Users\nta\AppData\Local\Temp\RarSFX2\Python34\lib\subprocess.py", line 859, in __init__
    restore_signals, start_new_session)
  File "C:\Users\nta\AppData\Local\Temp\RarSFX2\Python34\lib\subprocess.py", line 1114, in _execute_child
    startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified
Installation failed...

Resolution

  • Ensure that all Lime Services are uninstalled in Window's service manager
  • Ensure that all files for the previous installation has been removed from C:\Program Files(x86)\Lundalogik
  • Manually remove the installation entry by deleting the following key from the registry: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Lundalogik LIME Pro Server
  • Rerun the installation
  • Last modified: 6 years ago
  • (external edit)