|
|
#1 |
|
Junior Member
Join Date: Nov 2003
Posts: 25
|
required disk space
Hi!,
I have almost completed my install app but I have a problem. In the section window, the disk space required text is always 0.0KB. Additionally I create 4 sqlserver databases and I wanted to know if I can pre-decide and display the MB required for each section without having the installer mess with it. Sorry about my poor English.. I hope u understood. thanx in advance |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
You must have used the File commands in functions called by the sections. In order for the file's size to be added to the required amount, you must use the File command in the section itself.
To add or remove additional bytes from the requried amount use AddSize. If you want to do it on runtime use SectionSetSize and SectionGetSize. NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|