Set Minimum Disk Space for MSI package
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.
精彩评论