generating .exe or .msi with rpm

Richard W.M. Jones rjones at redhat.com
Fri Mar 13 18:52:17 UTC 2009


On Fri, Mar 13, 2009 at 03:29:22PM -0300, Itamar Reis Peixoto wrote:
> It's possible to hack rpm to generate a .exe or .msi installer for
> window$ instead a .rpm file ?

I think you need to frame the question better.

The program 'rpm' installs RPM packages.  'rpmbuild' builds RPM
packages, but is so tightly tied to generating *.<arch>.rpm files that
I cannot conceive there would be a way to make it generate any other
sort of file, even if that were a desirable outcome, which it is not.

You probably want to use our nsiswrapper program (in the package
mingw32-nsiswrapper in Fedora and EPEL).  This is a simple wrapper
around NSIS (also in Fedora/EPEL) and can be used to generate Windows
installers, *.exe.  If you missed the classroom talk I gave on this
topic last weekend, then you will find the IRC transscript here:

https://fedoraproject.org/wiki/Using_the_Windows_cross-compiler_Classroom_(20090308)

NSIS claims to be able to generate *.msi files too, but I have not
tried this.  Microsoft's own program, WiX, isn't really open source
although Microsoft and others claim it is.

Rich.

-- 
Richard Jones, Emerging Technologies, Red Hat  http://et.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/



More information about the mingw mailing list