Old 29th January 2004, 21:44   #1
rainmanp7
Member
 
Join Date: Jan 2004
Posts: 55
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 is offline   Reply With Quote
Old 29th January 2004, 21:49   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
SetCompress off

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 29th January 2004, 21:54   #3
rainmanp7
Member
 
Join Date: Jan 2004
Posts: 55
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
rainmanp7 is offline   Reply With Quote
Old 29th January 2004, 21:58   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Looks like it should work. I can't tell the error just from that snippet, please attach the entire script.

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 29th January 2004, 21:59   #5
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
There is no need for different File commands.

Just put 'SetCompress off' above all File commands and do not use solid compression.
Joost Verburg is offline   Reply With Quote
Old 29th January 2004, 22:17   #6
rainmanp7
Member
 
Join Date: Jan 2004
Posts: 55
Thank you Putting it way at the very top worked
Thanx
rainmanp7 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