Subject: Re: building Windows self-extracting executables?
To: Steve Bellovin <>
From: Wojciech Puchar <>
List: netbsd-users
Date: 01/23/2003 14:22:41
> Does anyone have any pointers to a NetBDS-compatible program that can
> generate self-extracting executable archives for Windows?  (The
> requirement comes from elsewhere...)  Grepping pkgsrc didn't show
> anything obvious.  The 'zip' man page speaks of an SFX stub that can be
> prepended, but I have no idea where to get such a thing for Windows.
try in windoze

a) making zipfile
b) converting this to .exe file
c) dd if=exefile bs=$((sizeofexefile-sizeofzipfile)) of=exeunzipheader

then in unix
a)create zipfile
b)cat exeunzipheader zipfile >exefile
c) test it in windoze
d) if c works put somewhere on WWW/FTP

i have no program for creating zip selfextractors for windoze so can't
help you (yes really, i have only legal software :)