1

我的设置中有几个功能。我还启用了更改选项。即用户可以在初始安装后更改她/他想要安装或卸载的内容。

当使用此更改选项删除功能时,它会被卸载。我本来希望安装程序的大小会减小,但它保持不变。现在,当稍后使用更改选项添加该功能时,安装程​​序的整体大小会增加。

有没有办法控制它或者它总是这样工作?

注意:安装程序的大小是指它占用的大小或空间(以字节/KB/MB 为单位),显示在“添加/删除程序”中。

4

1 回答 1

2

The size you are referring to in the Add/Remove Programs is calculated automatically by the MSI engine during the File Costing and is defined by the EstimatedSize registry key.

Usually the correctness of the advertised size is a non-issue for most setup authors and users, so I wouldn't advise putting any effort on this. However if you must fix this, check this SO post:

Using the EstimatedSize value inside a program uninstall key to correctly display the program size in the Add/Remove Programs list

于 2012-05-17T12:01:01.307 回答