Subject: Re: building Windows self-extracting executables?
To: Wojciech Puchar <wojtek@tensor.3miasto.net>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 01/23/2003 08:43:50
In message <Pine.NEB.4.51.0301231420130.19667@chylonia.3miasto.net>, Wojciech P
uchar writes:
>> 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
>count=1
>
>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 :)
>
Unfortunately, I need to modify the self-extracting part, which means
that I need an open-source solution. Thanks.
--Steve Bellovin, http://www.research.att.com/~smb (me)
http://www.wilyhacker.com (2nd edition of "Firewalls" book)