View Full Version : Problem packing EXE header with UPX
Repzilon
7th June 2001, 11:58
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 .
Edgewize
7th June 2001, 19:46
Try
!packhdr "temp.dat" "c:\progra~1\upx120w\upx.exe -best temp.dat"
Repzilon
7th June 2001, 21:13
In command line, in my script or in nsisconf.nsi ?
Edgewize
7th June 2001, 23:54
In your script file. Put it as one of the first lines.
Repzilon
8th June 2001, 01:18
There is a command PackEXEHeader, though.
Edgewize
8th June 2001, 02:34
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!
petersa
8th June 2001, 07:03
Repzilon's using v1.2g. !PackHdr doesn't exist yet.
Edgewize
8th June 2001, 10:47
Hrm, Justin still hasn't updated the Winamp developer download page? Argh.......
Please try NSIS 1.43: http://www.firehose.net/free/nsis/
Repzilon
8th June 2001, 11:22
This is the reason why I stick to version 1.2g .
petersa
9th June 2001, 01:48
You aren't required to use functions. You really should upgrade. Chances are you won't have to change your script much at all.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.