Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Set Minimum Disk Space for MSI package

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?

like image 730
user553824 Avatar asked Mar 22 '26 05:03

user553824


1 Answers

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.

like image 104
Christopher Painter Avatar answered Mar 24 '26 00:03

Christopher Painter



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!