I have a requirement to bundle a zip file to my installer. I need nsis code such that it checks the available free space on installdir and copy that to a variable.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
NSIS has a section attribute that sort of helps you do this: AddSize.
If you really need the amount in a variable you must use the system plugin:
or if you need Win9x/NT4 support: