petersa
25th April 2001, 10:45
Hi guys,
NSIS is great for turning a set of program files into only one file! This one file can also be smaller than the set of files too.
I have a Mini Golf game that takes up ~900KB. With NSIS I have turned it into a ~380KB file.
Here's my code:
!PackHdr TEMP.DAT "UPX.EXE --best TEMP.DAT"
Icon MINIGOLF.ICO
OutFile MiniGolf.exe
SilentInstall Silent
CRCCheck On
Section Default
SetOutPath "$TEMP\MiniGolf"
File G_I.ZRF
File G_4W.ZRF
File G_123.ZRF
File G_WAR.ZRF
File G_WW.ZRF
File GOLF.EXE
File GOLF.ZRF
ExecWait GOLF.EXE
RMDir /R "$TEMP\MiniGolf"
SectionEnd
NSIS is great for turning a set of program files into only one file! This one file can also be smaller than the set of files too.
I have a Mini Golf game that takes up ~900KB. With NSIS I have turned it into a ~380KB file.
Here's my code:
!PackHdr TEMP.DAT "UPX.EXE --best TEMP.DAT"
Icon MINIGOLF.ICO
OutFile MiniGolf.exe
SilentInstall Silent
CRCCheck On
Section Default
SetOutPath "$TEMP\MiniGolf"
File G_I.ZRF
File G_4W.ZRF
File G_123.ZRF
File G_WAR.ZRF
File G_WW.ZRF
File GOLF.EXE
File GOLF.ZRF
ExecWait GOLF.EXE
RMDir /R "$TEMP\MiniGolf"
SectionEnd