You don't need to install Python.
You just need the Python24(or 25, 26).dll. Also you need the python
executable Python.exe, httpd.exe (Apache).
It works :) belive me :)
I am going to extract Python.exe and PythonX.dll from the bibary tavbe
during the installation. Then I'll able to execute the Python script.
If you want I can send you the setup (written on Wix) . It makes the
installation of the Apache server, Django and my Python application.
pythonx.dll should be near the python executable process (httpd.exe).




2009/7/16 Dirk Räder <d...@raeder.cc>

> Hi Konstantin,
>
> I don't think you'll get rid of that stench by using IronPython. IIRC,
> IronPython scripts are compiled into .NET assemblies. Thus, you can't
> change
> them on the fly and within the MSI.
>
> By the way, if you were to use Python scripts within an MSI, you would have
> to install a Python interpreter on the target machine first. I can't
> imagine
> a customer being happy with installing a program just for an installation
> process.
>
> Dirk
>
> 2009/7/16 Konstantin Vlasenko <konstantin.vlase...@gmail.com>
>
> > With the scripting approach you can make the customization, bug fixing on
> > the customer side.
> > You can use the ORCA and change the script on the fly.
> > You don't have the such ability  with the compiled dlls approach. You
> have
> > to go back to your development environment, make changes and then you *
> > probably* can make the custome happy - Bad Smell :)
> >
> >
> >
> >
> > 2009/7/16 Yan Sklyarenko <y...@sitecore.net>
> >
> > > >> ... using a compliled dll for a custom action is a bad smell
> > > Why do you think so? Just wondering.
> > >
> > > -- Yan
> > >
> > > -----Original Message-----
> > > From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com]
> > > Sent: Thursday, July 16, 2009 9:15 AM
> > > To: General discussion for Windows Installer XML toolset.
> > > Subject: Re: [WiX-users] Python for the custom action
> > >
> > > Yes. I think it is good to use IronPython in the Windows world :)
> > > The main point in my idea is to use only scripting language for setup
> > > developer.
> > > I believe that using a compliled dll for a custom action is a bad
> smell.
> > > We need to implement a wix extension (e.g. based on IronPython) to
> > > support scripting approach.
> > > BTW: Wix extension dlls are OK - remove duplications between several
> > > setup
> > > projects:)
> > >
> > >
> > > 2009/7/15 Brian Rogers <rogers.br...@gmail.com>
> > >
> > > > Hey Konstantin,
> > > >
> > > > You could develop a managed custom action and use IronPython if that
> > > works
> > > > for you. It would be good for the community to hear how your
> > > development
> > > > efforts went.
> > > >
> > > > Thanks,
> > > >
> > > > Brian Rogers
> > > > "Intelligence removes complexity." - Me
> > > > http://blogs.msdn.com/icumove <-- NEW
> > > >
> > > >
> > > > On Wed, Jul 15, 2009 at 11:52 AM, Konstantin Vlasenko <
> > > > konstantin.vlase...@gmail.com> wrote:
> > > >
> > > > > It is a good idea to have an ability to write custom action on
> > > Python
> > > > same
> > > > > as for VBScript or JScript.
> > > > > I understand that the Windows Installer not going support this
> > > (maybe
> > > > > IronPython?).
> > > > > But may we can to make an Wix extension?
> > > > > What do you think? Does it make sence?
> > > > >
> > > > >
> > > >
> > >
> ------------------------------------------------------------------------
> > > ------
> > > > > Enter the BlackBerry Developer Challenge
> > > > > This is your chance to win up to $100,000 in prizes! For a limited
> > > time,
> > > > > vendors submitting new applications to BlackBerry App World(TM)
> will
> > > have
> > > > > the opportunity to enter the BlackBerry Developer Challenge. See
> > > full
> > > > prize
> > > > > details at: http://p.sf.net/sfu/Challenge
> > > > > _______________________________________________
> > > > > WiX-users mailing list
> > > > > WiX-users@lists.sourceforge.net
> > > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > > >
> > > >
> > > >
> > >
> ------------------------------------------------------------------------
> > > ------
> > > > Enter the BlackBerry Developer Challenge
> > > > This is your chance to win up to $100,000 in prizes! For a limited
> > > time,
> > > > vendors submitting new applications to BlackBerry App World(TM) will
> > > have
> > > > the opportunity to enter the BlackBerry Developer Challenge. See full
> > > prize
> > > > details at: http://p.sf.net/sfu/Challenge
> > > > _______________________________________________
> > > > WiX-users mailing list
> > > > WiX-users@lists.sourceforge.net
> > > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > > >
> > >
> > >
> > >
> > > --
> > > Konstantin Vlasenko
> > >
> ------------------------------------------------------------------------
> > >  ------
> > > Enter the BlackBerry Developer Challenge
> > > This is your chance to win up to $100,000 in prizes! For a limited
> time,
> > >
> > > vendors submitting new applications to BlackBerry App World(TM) will
> > > have
> > > the opportunity to enter the BlackBerry Developer Challenge. See full
> > > prize
> > > details at: http://p.sf.net/sfu/Challenge
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> > >
> > >
> >
> ------------------------------------------------------------------------------
> > > Enter the BlackBerry Developer Challenge
> > > This is your chance to win up to $100,000 in prizes! For a limited
> time,
> > > vendors submitting new applications to BlackBerry App World(TM) will
> have
> > > the opportunity to enter the BlackBerry Developer Challenge. See full
> > prize
> > > details at: http://p.sf.net/sfu/Challenge
> > > _______________________________________________
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> >
> > --
> > Konstantin Vlasenko
> >
> >
> ------------------------------------------------------------------------------
>  > Enter the BlackBerry Developer Challenge
> > This is your chance to win up to $100,000 in prizes! For a limited time,
> > vendors submitting new applications to BlackBerry App World(TM) will have
> > the opportunity to enter the BlackBerry Developer Challenge. See full
> prize
> > details at: http://p.sf.net/sfu/Challenge
> > _______________________________________________
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> ------------------------------------------------------------------------------
> Enter the BlackBerry Developer Challenge
> This is your chance to win up to $100,000 in prizes! For a limited time,
> vendors submitting new applications to BlackBerry App World(TM) will have
> the opportunity to enter the BlackBerry Developer Challenge. See full prize
> details at: http://p.sf.net/sfu/Challenge
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Konstantin Vlasenko
------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to