Archive: NSIS Installer Double File Size?


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


You use both:

File /r "${SRC_DIR}\${SUB_DIR}"
and
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 ].

thanks, that helped alot...

still working out other issues, but getting closer now.