Re: [WiX-users] Python for the custom action

2009-07-16 Thread Konstantin Vlasenko
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


Re: [WiX-users] Python for the custom action

2009-07-16 Thread Yan Sklyarenko
 ... 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


Re: [WiX-users] Python for the custom action

2009-07-16 Thread Konstantin Vlasenko
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


Re: [WiX-users] Python for the custom action

2009-07-16 Thread Dirk Räder
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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread Konstantin Vlasenko
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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread Yan Sklyarenko
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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread Konstantin Vlasenko
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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread Dirk Räder
Hi Konstantin,
yes, please send the setup - wxs files included, if possible. Please send
the file(s) directly to me; don't waste bandwidth by sending to the list.

Thanks,

Dirk



2009/7/16 Konstantin Vlasenko konstantin.vlase...@gmail.com

 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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread Christopher Karper
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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread Konstantin Vlasenko
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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread Christopher Karper
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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread David Watson


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

Re: [WiX-users] Python for the custom action

2009-07-16 Thread Konstantin Vlasenko
I have mentioned previously what I am going to extract Python.exe and
PythonX.dll during the installation.
I am not going to use installed Python.

2009/7/16 Christopher Karper christopher.kar...@gmail.com

 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

[WiX-users] Python for the custom action

2009-07-15 Thread Konstantin Vlasenko
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


Re: [WiX-users] Python for the custom action

2009-07-15 Thread Brian Rogers
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