Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 1st December 2003, 10:27   #1
Pyjamarama
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
Pyjamarama is offline   Reply With Quote
Old 1st December 2003, 12:14   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Reply
Go Back   Winamp Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump