Here are the instructions to uninstall Qlik NPrinting 17 or higher releases and the third party software it requires.
These steps remove all the known possible issues that may cause a failure in a re-installation of the program.Environment:
Qlik NPrinting 17.x and higher releases
Some registry keys, files, folders related to previous installation may prevent a correct re-installation of Qlik NPrinting product.
1. Disable any antivirus or malware protection software that may prevent complete uninstallation/installation of the product. It can be enabled with proper exclusions later for production. See Antivirus exclusions in Qlik product deployments
2. Go to Control Panel>Program and features and uninstall the following programs (if present). Please, follow the order:
Qlik NPrinting Server, Qlik NPrinting Designer, Qlik NPrinting Engine, Rabbit MQ Server, Erlang OTP.Note:
As a precaution, renaming of folders/files is used here instead of deleting, but folders may be deleted after confirmed they are no longer necessary in any way.
3. There are some steps that you need to perform manually to complete the uninstallation of Erlang and Rabbit. These are necessary in order to avoid errors in the re-installation:
-Open the C:\Windows folder. Rename the file .erlang.cookie. In NPrinting 19 and in the latest releases of NPrinting 18, the .erlang.cookie file is saved in "C:\Windows\System32\config\systemprofile". The file .erlang.cookie is created in the Windows and in the installation user folder during the installation of Rabbit. The file is used to create a communication between Rabbit and Erlang.
-Open the user folder C:\User\UserName. Rename the file .erlang.cookie. "UserName" is the user that installed NPrinting Server.
-Open the Task manager > Show process from all users. End the following processes (if present): epmd.exe
-Open the command line as admin and run the following commands:taskkill /IM epmd.exe /F
taskkill /IM erl.exe /F
The above commands close erlang processes that may be still active. Notice that sometimes they are not active in which case you get an error saying that the process was not found.
4. Open the folder C:\Program Files and rename (eg. erlXX.0_old) the erlXX.0 folder if present. XX is the version number. It depends on the installed NPrinting release.
You may not be able to delete this folder because the OS shows an error message saying that there is a file in use by another process. If so, you have to reboot the machine and then you will be able to remove the folder.
-Open the folder C:\Program Files (x86 ) and remove the Rabbit MQ Server folder if present.
-If present, rename (e.g. NPrintingServer_old) the folder C:\Program Files\NPrintingServer
-If present, rename the folder C:\Program Files\Common Files\DESIGNER
-If present, rename the folder C:\Program Files (x86)\NPrinting
-If present, rename the folder C:\ProgramData\NPrinting
5.In the registry key, open the HKEY_LOCAL MACHINE folder >SOFTWARE and remove the Ericsson folder.