Archive: Check Free space


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!


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.

Ah, ok, thanks :) I was trying to search in the help files, but I couldn't find an answer for sure.

Cheers