使用程序卸载键中的 EstimatedSize 值在“添加/删除程序"列表中正确显示程序大小 [英] Using the EstimatedSize value inside a program uninstall key to correctly display the program size in the Add/Remove Programs list

查看:37
本文介绍了使用程序卸载键中的 EstimatedSize 值在“添加/删除程序"列表中正确显示程序大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在为我开发的应用程序创建卸载程序注册表项期间,我尝试使用 EstimatedSize 值,不幸的是,我指定的值没有出现在我的程序条目旁边的添加/删除程序列表中.我试图找到使用此值的正确程序,但无济于事.任何人都对这个问题有任何经验?您的帮助将不胜感激.

I've attempted to use the EstimatedSize value during creation of an uninstaller registry key for an app I've developed, unfortunately the value I specify does not appear in the Add/Remove Program list next to my program's entry. I've tried to find the proper procedure for using this value but to no avail. Anyone have any experience on this issue? Your help would be appreciated.

Divo 让我走上正轨,所以我想我会发布有关如何正确显示 EstimatedSize 值的分步说明.

Divo got me on the right track so I figured I'd post step-by-step instructions on how to correctly display the EstimatedSize value.

  1. 使用所有相关属性(包括 EstimatedSize)创建注册表项.该值将复制到注册表中的 ARPCache 键中
  2. 在 ARPCache 文件夹中找到注册表项,删除 SlowInfoCache 二进制值,并将 Changed 值设置为 1.
  3. 下次打开添加/删除程序列表时,您将看到您在 EstimatedSize 条目中指定的值,而不是任意 Windows 生成的值.

推荐答案

我发现改变了

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{my-guid-value}

没有任何直接影响.该值缓存在以下键中:

does not have any direct effect. This value is cached in the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Management\ARPCache\{my-guid-value}\SlowInfoCache

只有在我删除(重命名)这个 SlowInfoCache 值后,更新后的大小才会出现在添加或删除程序下.

Only after I remove (rename) this SlowInfoCache value, the updated size appears under Add or remove programs.

问候,div

这篇关于使用程序卸载键中的 EstimatedSize 值在“添加/删除程序"列表中正确显示程序大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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