Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 7th June 2001, 11:58   #1
Repzilon
Member
 
Join Date: Apr 2001
Posts: 51
What must I put in nsiconf.nsi and in my NSI script to be able to compress the header with UPX 1.20 Win32 console version installed in "C:\Program Files\upx120w" ? I use NSIS 1.2g .
Repzilon is offline   Reply With Quote
Old 7th June 2001, 19:46   #2
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
Try

!packhdr "temp.dat" "c:\progra~1\upx120w\upx.exe -best temp.dat"
Edgewize is offline   Reply With Quote
Old 7th June 2001, 21:13   #3
Repzilon
Member
 
Join Date: Apr 2001
Posts: 51
Where ?

In command line, in my script or in nsisconf.nsi ?
Repzilon is offline   Reply With Quote
Old 7th June 2001, 23:54   #4
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
In your script file. Put it as one of the first lines.
Edgewize is offline   Reply With Quote
Old 8th June 2001, 01:18   #5
Repzilon
Member
 
Join Date: Apr 2001
Posts: 51
!packhdr does not exist in NSIS 1.2g

There is a command PackEXEHeader, though.
Repzilon is offline   Reply With Quote
Old 8th June 2001, 02:34   #6
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
How can you possibly know about the PackExeHeader instruction and ignore the big notice saying that it will be replaced with "!PackHdr" !?!?

Please read the documentation carefully and thoroughly!


Edgewize is offline   Reply With Quote
Old 8th June 2001, 07:03   #7
petersa
Senior Member
 
petersa's Avatar
 
Join Date: Apr 2001
Location: Melbourne, Australia
Posts: 207
Repzilon's using v1.2g. !PackHdr doesn't exist yet.
petersa is offline   Reply With Quote
Old 8th June 2001, 10:47   #8
Edgewize
Member
 
Join Date: Apr 2001
Posts: 89
Hrm, Justin still hasn't updated the Winamp developer download page? Argh.......

Please try NSIS 1.43: http://www.firehose.net/free/nsis/
Edgewize is offline   Reply With Quote
Old 8th June 2001, 11:22   #9
Repzilon
Member
 
Join Date: Apr 2001
Posts: 51
I don't like functions

This is the reason why I stick to version 1.2g .
Repzilon is offline   Reply With Quote
Old 9th June 2001, 01:48   #10
petersa
Senior Member
 
petersa's Avatar
 
Join Date: Apr 2001
Location: Melbourne, Australia
Posts: 207
You aren't required to use functions. You really should upgrade. Chances are you won't have to change your script much at all.
petersa is offline   Reply With Quote
Reply
Go Back   Winamp 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