Skip to content
⌘ NSIS Forum Archive

Trun Off Default Nsis Compression ?

6 posts

rainmanp7#

Trun Off Default Nsis Compression ?

There has to be a Way to turn off Nsis Default compression
I have way to many files to be compressing them all for testing.

I need to fire it up compile and test
not Fire up compress test over and over again 🙁

Please help thank you.😔
rainmanp7#
here is what i have tried

!ifdef NOCOMPRESS
SetCompress off
File "..\*.*"
!endif

Got a Example handy ?

here is what is happening

File: "VersionInfo.nsi" [compress] 374/1021 bytes
File: "viewhtml.exe" [compress] 20163/32636 bytes
File: "viewhtml.nsi" [compress] 699/1398 bytes
File: "waplugin.nsi" [compress] 1715/4538 bytes

I have he Compiler defaulting to Defualt and script action.

I took the Code from the Example
C:\Program Files\NSIS\Examples\bigtest.nsi
kichik#
Looks like it should work. I can't tell the error just from that snippet, please attach the entire script.
Joost Verburg#
There is no need for different File commands.

Just put 'SetCompress off' above all File commands and do not use solid compression.