How do I silently uninstall LogMeIn from Windows XP and Windows 7?
We have hundreds of LMI free clients installed across LAN/WAN PCs. With their change to limit of 10 free installations (and our successful deployment of VNC/TightVNC), we need to uninstall silently. Any ideas?
Answers (3)
Grab the uninstall string from the registry then use
Msiexec.exe /x string
Or you could use wmi in a script
Comments:
-
In case if silent uninstall is not available using msiexec and there is a uninstall switch provided by vendor, u can try hiding the uninstall dialog using AutoIT script. i'll leave that as an assignment to you, to figure out how we can suppress the screen. I once implemented it with a friend of mine - talonsprem87 11 years ago
-
FYI: The software GUID can be found in this location in the registry
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
then your uninstall command would look something like this
msiexec.exe /x {25892e17-80f6-415f-9c65-7395632f0223} /qn - mpace 11 years ago
Please tell us which version LogMain client do you use.
You can open the Regedit on a client and go to HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall. Search for LogMain in this location and you shold find the Uninstall registry entrys for this application. You can verify this if the DisplayName entry has the value LogMain or something related to the applications.
Read the value from UninstallString entry and use it to see if is a silent uninstallation or not. You can put the string here and we can help you to create a silent uninstallation string.
The solution: you were right - found the reg key, created Online Shell Script containing "msiexec.exe /x {string} /qn"
Side note: this did not work as script.sh in K1000. Changed it to a .bat file and it worked like a champ for Windows 7 and XP.
Thanks!
Comments:
-
Im using version 4.1.0.3268 and I cant find the registry key under uninstall registry. Where exactly did you find it? What version were you using? - dice10 11 years ago