Free space check
Should i check free space before installation? Maybe NSIS do it without my additional code?
Archive: Free space check
Free space check
Should i check free space before installation? Maybe NSIS do it without my additional code?
NSIS checks that the drive of the current install directory has enough space.
I don't know if it also takes into account the amount of free space the temp folder requires; perhaps someone else will know.
If you copy files from a CD without adding them to the install exe, but with the command CopyFiles, you should add a size at the End (see the Docs for this).
You also should check if the free space is enough if you want to download files while installing.
this are the two cases you have to check it your self for sure.
I hope this helps,
greetz Dave
To do what Davion has mentioned, you should use SectionSetSize. If you need to download extra files you can increase the size of the Section with AddSize.
-Stu