Check for available disk space and required disk space in NSIS


Get available disk space: We use the macro DriveSpace Get the required disk space of your program To do this, you will in turn get the required disk space of every section in your script, then we will plus all of the results. We use the SectionGetSize instruction to get the required disk space