On 08/07/2010 17:38, Marcin Krol wrote:
Hello everyone,
Is it possible to package IronPython GUI app as standalone executable?
Anybody here doing that as a practice for production apps?
My motivation is obvious: I can't expect most users to go through
rigmarole of installing ironpython to use my app. I need to use
standard windows installer, and make an app as robust and "self-
reliant" (in the sense: independent of various system settings and
problems) as possible.
It seems that it's at least theoretically possible:
http://www.codeproject.com/KB/dotnet/ironpython.aspx
Caveats? Problems?
I'd appreciate feedback from someone who has been there and done that.
Packaging an app as an installer is a separate problem from IronPython.
I've used Wix in the past for creating installers for Windows. You can
use the Pyc compiler to create an executable from your IronPython
application, or write a minimal C# .exe that embeds the IronPython
engine and starts the app.
Both ways are pretty easy. All you need to do is include the IronPython
assemblies along with your app.
All the best,
Michael Foord
--
http://www.ironpythoninaction.com/
http://www.voidspace.org.uk/blog
READ CAREFULLY. By accepting and reading this email you agree, on behalf of
your employer, to release me from all obligations and waivers arising from any
and all NON-NEGOTIATED agreements, licenses, terms-of-service, shrinkwrap,
clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and
acceptable use policies (”BOGUS AGREEMENTS”) that I have entered into with your
employer, its partners, licensors, agents and assigns, in perpetuity, without
prejudice to my ongoing rights and privileges. You further represent that you
have the authority to release me from any BOGUS AGREEMENTS on behalf of your
employer.
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com