Questions:

Sometimes the IT administrator wants to launch a massive uninstallation on the workstations without disturbing the user's daily work, how to do a silent uninstallation?


Solution:

Take the 2021 version as example,

Create a new txt file, then input the following three line:


MsiExec.exe /qn /X{D82704B7-A001-1033-A101-D0105E569BCF}

MsiExec.exe /qn /X{D82704B7-A001-0000-A001-D0105E569BCF}

C:\Windows\Installer\{D82704B7-A001-0000-A200-D0105E569BCF}\uninstall.exe /uninstall /S


The first line is to uninstall the language pack, the number I mark up in yellow is the code for the English language, there are different codes for a different language, you can check it in the ZWCAD.ini file in the installation folder, for example, the code for ESN is 3082, as shown below:

And the second line is to uninstall the core package.

And the third line is to uninstall the registry list of the control panel.


Another thing you should notice is that, with different yearly version, it has different value ID for the uninstall string in the registry, the example code I list above is only for the 2021 version, if you have another version on your PC, you can check the uninstall string in the registry editor in the following path:

Then press Ctrl + F to find the key that related to ZWCAD, as below shown,


Then, please save the file, and rename it as batch file (.bat).


Now, you can run the bat file, then it will automatically uninstall the product in the background.