Silent uninstall of Unity Editor

Hi folks,

Just wondering if anyone can help me with the syntax for uninstall.exe to allow me to script the uninstallation of Unity.

Running uninstall.exe /S or /Q all bring up the “Are you sure you want to completely remove Unity 3.5.3f3…” yes/no box.

Obviously this is okay for a few machines but in a lab situation of 20/40 machines it would nice to be able to silently uninstall.

Thanks in advance for your help.

T

I have the same issue. It’s useful fdor when we need to update the software in a classroom environment.

You can install multiple versions of Unity at the same time in different directories. You can uninstall the old one just by deleting its folder and any shortcuts pointing to it.

1 Like

Also, always installing Unity in the same directory deinstall the previous version and installs the new one in its place.

With v 2019.1.2 still the same problem. We want to uninstall Unity completely and silently on training computers without updating to new version.
Has anyone found a solution?
Thank you

Update 2019-10-14:
Unity 2019.2.8f1 Soulution:
%UninstallString% /S / starts a new process “Au_.exe” - if you wait for this process, the uninstall works for us with our client management tool.

1 Like

I tried to do the same, but FYI the process with V 2022.22 is now “Un_A.exe”
I am using this batch file to uninstall Unity with SCCM.

@ OFF
“C:\Program Files\Unity\Editor\Uninstall.exe” /S

:waitloop
TASKLIST |find /I “Un_A.exe” >NUL
IF ERRORLEVEL 1 GOTO endloop
timeout /t 1 /nobreak>NUL
goto waitloop
:endloop