开发者

Set Minimum Disk Space for MSI package

开发者 https://www.devze.com 2023-02-01 10:41 出处:网络
I\'m creating a Basic MSI package using Install开发者_如何学C Shield and I want to Set minimum disk space check for the installer and if the requirement doesn\'t meet it should block the installation.

I'm creating a Basic MSI package using Install开发者_如何学C Shield and I want to Set minimum disk space check for the installer and if the requirement doesn't meet it should block the installation.

Any suggestions on how to achieve this?


Windows Installer already supports File Costing. It also has a ReserveCost table that allows you to provide additional weight to component(s).

If you want to ingore all of this and just have some arbitrary high value then you can write a custom action to gather the data needed to enforce your rules and assign a property. Then you can use that property in a LaunchCondition ( InstallShield calls this a Setup Condition ) to block the install.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号