Lucky75
15th December 2009 23:26 UTC
Check Free space
Hi,
I am trying to determine the free space left on disk for my installer, but I'm unsure as to how I would go about it. The way I see it, I have 2 problems.
1) What function do I use?
2) What size do I do a comparison against?
Or will NSIS automatically not allow an install to start if there isn't enough space?
Thanks!
MSG
16th December 2009 08:40 UTC
Re: Check Free space
Or will NSIS automatically not allow an install to start if there isn't enough space?
The DIRECTORY page will not allow the user to click 'Next' if there is unsufficient space. The needed space is simply the combined size of all files added to the installer at compile time.
Lucky75
16th December 2009 16:14 UTC
Ah, ok, thanks :) I was trying to search in the help files, but I couldn't find an answer for sure.
Cheers