【文件属性】:
文件名称:windows-ansible-example:Ansible Windows示例
文件大小:671KB
文件格式:ZIP
更新时间:2021-05-03 14:24:43
Python
在Windows注册表中查找产品ID
`Computer \ HKEY_CLASSES_ROOT \ Installer \ Dependencies
选择名称,然后选择默认密钥
或者
首先从获取产品ID
计算机\ HKEY_CLASSES_ROOT \安装程序\产品
例如:SQL 2016
CB138EA08A2F2ED4F8FB862B0216A1F7
Microsoft SQL Server 2016安装程序(英语)
然后找到Uninstallstring
HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Installer \ UserData \ S-1-5-18 \ Products <产品代码> \ InstallProperties \ UninstallString