3
votes

I'm creating a Basic MSI package using Install 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?

1

1 Answers

5
votes

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.