[Distutils] Problem with bdist_wininst option (trying to distributea COM server, on Windows XP)

Mark Hammond mhammond at skippinet.com.au
Tue Jul 24 02:11:19 CEST 2007


Johan:

> I'm having trouble using distutils with the bdist_wininst option.  
> I've been able to create a COM server and package it in a .DLL, 
> but I can't create an "installer" as a .exe  My goal is to create 
> a .exe that can be run on a client machine that does NOT have the 
> standard Python environment, and this .exe would install all the 
> modules?/.dll's/.exe's that are necessary for the COM server to 
> run on the client machine.  

That is not the role of bdist_wininst.  bdist_wininst is designed to create
an installer for a python package, not a stand-alone executable created
using Python.

What you want is the py2exe tool (http://www.py2exe.org/) to create an
executable, then a generic installer tool, such as NSIS, Inno or an MSI
based tool to actually install the tool on the end-user's PC.  py2exe has
its own mailing list - see the link above.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 2060 bytes
Desc: not available
Url : http://mail.python.org/pipermail/distutils-sig/attachments/20070724/de94be77/attachment-0001.bin 


More information about the Distutils-SIG mailing list