Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

help find software in the registry and then run the uninstall string

$
0
0

Hi all,

I need to find a script (batch) if possible that runs in a computer startup.bat script that will scan through the registry, find the GUID and then run the command to uninstall.

Currently in my startup.bat script i just have MsiExec.exe /x {1A93D21E-7408-4309-BD8A-EFDE1D1F0F1E} /qn but just learned that there are other versions of the software with different GUID. I could just add another line with the new GUID in it, but it is a bit crude.

I have found http://social.technet.microsoft.com/Forums/scriptcenter/en-US/bef4b845-ef77-4882-afe1-a479c4531b03/vbscript-to-find-software-in-the-registry-and-then-run-the-uninstall-string but that does not run the command to uninstall

It does not have to be batch script if it is easy enough to call a VBScript within the bat file

Thanks 


Regards
ronnie.jorgensen systems engineer
My blog


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>