gpt4 book ai didi

wix - 每台机器和每用户安装的磁盘成本不变

转载 作者:行者123 更新时间:2023-12-04 18:18:27 25 4
gpt4 key购买 nike

我想知道在每个用户或每台机器安装的情况下如何更改或者计算机更改磁盘成本。

当我 checkin 程序文件时,我有一个大小约为 50 MB 的安装程序,但是当我使用 DiskCostDlg 时,它显示为 96 MB,我正在为每个用户和每台机器安装,我很惊讶地看到在这两种情况下,磁盘要求是相同的。

我需要知道是否有可能更改磁盘要求,或者它是否是 Wix 安装程序的默认属性。

谢谢

最佳答案

Windows Installer 需要额外空间用于安装过程。这就是为什么它显示的内容超过您的总文件大小。这是一篇更详细的文章:
http://blogs.msdn.com/b/heaths/archive/2008/07/24/why-windows-installer-may-require-so-much-disk-space.aspx

i am doing a per user and a per machine install and i am surprised to see that in both the cases the disk requirement is same.



Per-user 或 per-machine 指的是安装位置,它们与文件大小无关。安装的文件是相同的,并且它们在任何位置都具有相同的大小。

I need to know if there is a possibility of changing the disk requirements



它无法更改,因为它是由 Windows Installer 自动计算的。

关于wix - 每台机器和每用户安装的磁盘成本不变,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11241463/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com