[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to create a Windows Installer MSI package
From: |
Peter 'Luna' Runestig |
Subject: |
Patch to create a Windows Installer MSI package |
Date: |
Tue, 23 Sep 2003 19:13:33 +0200 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030809 |
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=<some temp 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 <address@hidden>
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch to create a Windows Installer MSI package,
Peter 'Luna' Runestig <=