http://blogs.msdn.com/robmen/archive/2004/05/20/136530.aspx 


-----Original Message-----
From: Christopher Karper [mailto:christopher.kar...@gmail.com] 
Sent: 16 July 2009 15:05
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Python for the custom action

No, it's as brittle as the scripts failing to run due to an
environmental
issue on the client computer.   What is they have a broken version of
the
Python interpreter installed?  What if their security settings don't
allow it to run?

It's not a question of how well written the code is... Well, not
completely.
:-)



On Thu, Jul 16, 2009 at 9:37 AM, Konstantin Vlasenko <
konstantin.vlase...@gmail.com> wrote:

> It is as more brittle as less test you have :) Of course this script 
> should be automaticaly tested (by unit test or more preferable by 
> Acceptance test) as all other code :) So I think it is not a point.
>
> 2009/7/16 Christopher Karper <christopher.kar...@gmail.com>
>
> > Scripting CAs are generally considered more brittle than any other 
> > kind
> of
> > CA, so they are not as preferred, IMO.
> >
> > However, that being said, I don't think that adding a Python script 
> > interpreter would be a terrible burden.  I wouldn't make it part of 
> > the distribution, but you should be able to easily build yourself a 
> > WiX extension that includes your interpreter DLL, and stores the 
> > script text
> in
> > a table.
> >
> > It seems like a basic implementation would be fairly trivial, but 
> > I'm willing to bet the reality is substantially different, and 
> > you'll run headlong into issue after issue...  But it could
certainly be done.
> >
> > Chris
> >
> > On Thu, Jul 16, 2009 at 4:05 AM, Konstantin Vlasenko <  
> > konstantin.vlase...@gmail.com> wrote:
> >
> > > 1. You make a change (not a customer) in the custome environment.
> > > 2. Add new test to your acceptance (regression) test suite.
> > > 3. Make a new build.
> > > 4. Bring it back to the customer if all tests a GREEN.
> > >
> > > *It has more sense to spend more time testing your installation on

> > > different environments before shipping* - How long you are going 
> > > to test your installation? Of course I am not going to make a 
> > > crap. We have tested automaticaly all stuff before sending it to a

> > > customer. But you never
> > know
> > > what can be on other side.
> > > BTW: Had no problem with setup before. This idea came to me from a

> > > production code itself. I have a huge success story to support the

> > > different customer environments. Due to avoiding compiled language

> > > where it psoosible.
> > > *Python will save the world! I don't know how. But it will! :)*
> > >
> > >
> > >
> > > 2009/7/16 Yan Sklyarenko <y...@sitecore.net>
> > >
> > > > I don't think asking customer to open the MSI package in Orca 
> > > > and
> > modify
> > > > some code smells better. :) You increase the risk of leaving the

> > > > user machine in the undefined state afterwards. It's much more 
> > > > preferable
> to
> > > > design the rollback properly and keep the log verbose.
> > > >
> > > > As for me, it has more sense to spend more time testing your 
> > > > installation on different environments before shipping. And 
> > > > provide a fixed install in a short term, if it is still
necessary for someone.
> > > >
> > > > -- Yan
> > > >
> > > > -----Original Message-----
> > > > From: Konstantin Vlasenko [mailto:konstantin.vlase...@gmail.com]
> > > >  Sent: Thursday, July 16, 2009 9:46 AM
> > > > To: General discussion for Windows Installer XML toolset.
> > > > Subject: Re: [WiX-users] Python for the custom action
> > > >
> > > > 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
> > >
> >
> >
> ----------------------------------------------------------------------
> --------
> > 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

SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.  
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


------------------------------------------------------------------------------
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