From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Peter 'Luna' Runestig" Newsgroups: gmane.emacs.devel Subject: Patch to create a Windows Installer MSI package Date: Tue, 23 Sep 2003 19:13:33 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <3F707F3D.70104@runestig.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1064337379 15050 80.91.224.253 (23 Sep 2003 17:16:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2003 17:16:19 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Sep 23 19:16:18 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1qlu-0005Qp-00 for ; Tue, 23 Sep 2003 19:16:18 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1A1qsF-0001Xd-00 for ; Tue, 23 Sep 2003 19:22:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A1qkd-0007dU-Sh for emacs-devel@quimby.gnus.org; Tue, 23 Sep 2003 13:14:59 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A1qkV-0007aB-Ve for emacs-devel@gnu.org; Tue, 23 Sep 2003 13:14:51 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A1qjq-0007KU-C5 for emacs-devel@gnu.org; Tue, 23 Sep 2003 13:14:13 -0400 Original-Received: from [62.108.199.166] (helo=arthur.runestig.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.22) id 1A1qjp-0007JC-05 for emacs-devel@gnu.org; Tue, 23 Sep 2003 13:14:09 -0400 Original-Received: from runestig.com (h20n2fls34o823.telia.com [217.208.10.20]) by arthur.runestig.com (8.12.10/8.12.1) with ESMTP id h8NHE5gg024186 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 23 Sep 2003 19:14:06 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030809 X-Accept-Language: en-us, en Original-To: emacs-devel@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:16579 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16579 Hi all! Last year, I put together a kind of (somewhat crude) toolkit to create Windows Installer MSI installation packages from plain C code. A Windows Installer MSI installation package is a database with installation instructions, mostly used together with a set of files to be installed. It's a very common software distribution format on the Windows platform. The aim with the toolkit, is to make it possible to get a installation ready MSI package as a result of the normal build process of the software code. I've used the toolkit to make MSI installations for Emacs, Mozilla, OpenSSL and Perl. If anyone wants to try it out on Emacs, here is a link to the patch (against CVS as of 20030920): ftp://ftp.runestig.com/pub/emacs/emacs-20030920-msi-20030923.patch.zip http://ftp.runestig.com/pub/emacs/emacs-20030920-msi-20030923.patch.zip Just apply the patch, and cd nt configure nmake bootstrap nmake msi INSTALL_DIR= Only tested with MS VC++ and Platform SDK. An already-made MSI installation is available here: ftp://ftp.runestig.com/pub/emacs/Emacs-21.3.50-20030920.msi http://ftp.runestig.com/pub/emacs/Emacs-21.3.50-20030920.msi A MSI package can be made in many different ways. To change the way the MSI is put together, you must change the nt/msi/makemsi.c file. If you have a fairly good knowledge if the MSI internals, things should be rather straightforward. Cheers, - Peter -- Peter 'Luna' Runestig (fd. Altberg), Sweden PGP Key ID: 0xD07BBE13 Fingerprint: 7B5C 1F48 2997 C061 DE4B 42EA CB99 A35C D07B BE13 AOL Instant Messenger Screen name: PRunestig Yahoo! Messenger profile name: altberg