Avatar of Dooglave
Dooglave

asked on 

How to find the GUID of a program us use later to uninstall that program with msiexec /X <Product ID GUID>

I'm writing a windows batch script to uninstall some software.  I need to be able to find the GUID with my script.

I can find it other ways outside of the script but I want to know how to do it within the script.

I looked in %WINDIR%\Installer with the command:
dir /s programname*

But didn't find it.

If I search for the guid it's there but it's just not clearly named with the program in the string.
Windows BatchMicrosoft DOSWindows XP

Avatar of undefined
Last Comment
AmazingTech

8/22/2022 - Mon