N
N
Nordman992022-01-13 11:13:18
Windows
Nordman99, 2022-01-13 11:13:18

Why doesn't msiexec /X{GUID} /quiet /norestart uninstall?

Good afternoon, tell me about the problem:
Windows 8.1x64

msiexec does not remove the installed product via the GUID in the standard way, i.e. I found the GUID of the installed product in the registry, and I generally took an entry for uninstallation in the registry along the path

HKLM\Software\Microsoft\Windows\Currentversion\Uninstall After scanning

all the sections there, I found a section with the DisplayName key corresponding to the name of the installed product with which it is displayed in the panel Add/Remove programs, in the same place in this section there is also the Uninstallstring key (By the way, it is exactly the same as the ModifyPath key)
In this key, there is a line like Msiexec / X {GUID}

If you execute this line in the CMD or Powershell console, then a request to confirm the removal of the program pops up, and I'm studying this in order to automate the removal of programs through a script,
so the confirmation request will interfere with automation, I did it for a test in the console:

Msiexec / X{GUID} /quiet /norestart

but the MSIexec GUI window pops up with a description of the options - Windows Installer in the title, in the window itself - Windows Installer (r) Version 5.0.9600.19082, then a list of all options and the OK button at the bottom, and that's it!

I tried everything - Msiexec /X{GUID} /quiet, Msiexec /uninstall{GUID} /quiet, added spaces before {GUID} changed options in places - the result is the same

What is the problem why the uninstall is not working? The registry is not damaged, the uninstall with confirmation of the request is normal

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question