Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想使用 C# 代码卸载程序。我可以简单地通过使用来做到这一点,msiexec.exe但为了使用它,我需要拥有要卸载的程序的 GUID。如果我对这个程序的唯一了解是它的名称,那么我怎样才能找到它的 GUID?
msiexec.exe
您不能可靠地做到这一点,您需要更多信息 - 应用程序可以具有相同的“名称”。
使用作为程序包的安装程序/卸载程序。