Skip to content
⌘ NSIS Forum Archive

How to leave files uncompressed???

6 posts

LostTemper#

How to leave files uncompressed???

Hi,
I want to leave my setup files uncompressed, but after i compiled the script, It becomes a single exe file.
How can i leave these file uncompressed?
Davion#
I've Written my Setup completely uncompressed - instead of the File Command I use Copy Files and copy the Files from a Setup Folder to the Target System Do you mean this works for you?
LostTemper#
Davion, Thank you very much!
Yes, that just what i want.
I use this code:
CopyFiles "resource\wb.dll" "$INSTDIR" 0

but always copy failed, why?
Davion#edited
I have following Folder-Structure:

CD
|---Setup.exe
|---FILES
| |-Programfiles and so on
|
|---SYSFILES
. |-Dlls and Stuff like this

then I use CopyFiles "$EXEDIR\FILES\xxx.zzz" "$INSTDIR" 0

to copy a file from FILES to $INSTDIR

instead of 0 you should write the file size, so the shown estimated installation size is correct

I hope this works for you

EDIT:

I use $EXEDIR, because Its the folder from which the Setup is running, so I can use the Paths correctly
scully13#
Make sure the destination folder exists as well before you do the CopyFiles.

SetOutPath "$INSTDIR"
CopyFiles "resource\wb.dll" "$INSTDIR" 0