UninstallString 注册表项的所有可能位置在哪里? [英] Where are all possible locations of UninstallString registry entries?

查看:28
本文介绍了UninstallString 注册表项的所有可能位置在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个基于 Wix 的安装程序,需要从较旧的、非基于 msi 的安装升级.我正在通过直接在注册表中搜索来查找以前安装的组件的实例.

I'm writing a Wix-based installer that needs to upgrade from older, non-msi-based installations. I'm finding instances of previously installed components by searching directly in the Registry.

要查找组件的卸载程序,我会查看

To find the uninstaller for a component, I look in

 HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\MyProgram

并获取 UninstallString 值.这很好,但我意识到对于 64 位机器上的 32 位安装,条目实际上位于

And get the UninstallString value. This is fine, but I realised that for a 32 bit install on a 64 bit machine, the entry is actually at

HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\MyProgram

还有什么地方值得我去寻找吗?

Is there anywhere else I ought to be looking?

推荐答案

还有第三个条目:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall

这篇关于UninstallString 注册表项的所有可能位置在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆