Skip to content
⌘ NSIS Forum Archive

7z !

5 posts

PixiGreg#

7z !

hi!
first thanks to all programmers for this excellent piece of software.

My little request:
- 7z compression

I can't do it by myself since the 7z programmer uses the latest SDK features and I havent it, neither the bandwidth to download...

If other people have already requested it, sorry 😉

Thanks all.

Regards.
sdbarker#
Greg:



-Scott
PixiGreg#
Anyway, there is still this solution:

copy /b 7zSD.sfx + config.txt + 7Z-COMPRESSED-NSIS-INSTALLER.7z AUTO-7Z-EXTRACTIBLE-NSIS-INSTALLER.exe

contents of config.txt:
;!@Install@!UTF-8!
Title="MyProgram"
RunProgram="NSIS-NONCOMPRESSEDINSTALLER.exe"
;!@InstallEnd@!

you've just to put this in your nsi file before:
SetCompress off

The installer will be extracted silently and then launched.
Works perfectly: 540 KB for the NSIS system installer instead of 750KB. youhou!

bye.
Joost Verburg#
The SD SFX uses MSVCRT.dll, so it doesn't work on the first Windows 95 versions.

That static SFX is also quite big (about 140 Kb). With a lot of optimization, it can be about 4 times smaller.