Old 11th October 2005, 19:54   #1
CGTV
Junior Member
 
Join Date: Oct 2005
Location: CA
Posts: 8
NSIS Installer Double File Size?

Hello,

please bare with me as I am extremely new to NSIS and scripting in general.

I am close to having my first installer work, but the problem I have is that when it is done and I try to run the setup.exe, it says I need double the space for the install than I should.

My project consists of 11.5 GB of data in 18 folders. I am using BZIP2 compression, and it seems that the compiler is running thru the process twice. The results of the compression seem to be that the first "Aspect Ratio FX" also gets a redundant file added to it and as a result, becomes twice as big... thus needing twice the space to install.

If anyone can help me figure this out, I would be most appreciative. Here is the source code:

[edit]script attached below
CGTV is offline   Reply With Quote
Old 11th October 2005, 20:09   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You use both:
code:
File /r "${SRC_DIR}\${SUB_DIR}"
and
code:
File /r "${SRC_DIR}\${SUB_DIR}\Aspect Ratio FX"
Aspect Ratio FX is already included with the first line. You extract that folder twice.

Please attach large scripts next time. It makes the thread really hard and annoying to read with scripts pasted in the message without even [ code ].
Attached Files
File Type: nsi fx.nsi (15.9 KB, 129 views)

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
Old 13th October 2005, 06:16   #3
CGTV
Junior Member
 
Join Date: Oct 2005
Location: CA
Posts: 8
thanks, that helped alot...

still working out other issues, but getting closer now.
CGTV is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast 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