- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- How does CheckDiskSpace logic work in InstallAnywhere
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
How does CheckDiskSpace logic work in InstallAnywhere
We are using IA 2017 SP1 and have many times observed that if the installation path already contains a lot of files, then InstallAnywhere CheckDiskSpace adds the size of existing folders and files to required space calculation. This creates problems for our product installers when we are trying to install Feature packs / Maintenance packs / upgrades to existing products which already have several folders present. For example, if our installed product has 500 MB installed on computer and feature pack installer wants to add 50 MB of files, CheckDiskSpace returns 550 MB space required. As our applications generate large data files, the existing files can often go in several GBs and give wrong value in CheckDiskSpace which then disallows the installation. Switching CHECK_DISK_SPACE variable to OFF reduces the count a small amount but often ends up disallowing installations.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
I suggest you to write your own custom code to find available free disk space. There are third party jars available to serve your purpose.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
@madhug wrote: slope gameI suggest you to write your own custom code to find available free disk space. There are third party jars available to serve your purpose.
That's good to know! Thank you!