On Wed, 11 Mar 2009 12:56:16 +0100
JeanMichel FRANCOIS <[email protected]> wrote:

> setup tool exist to help you setup your app.
> portal quick installer also, most of the time developer don't create any 
> uninstall script. But quickinstaller track created object, and if you 
> uninstall just delete them. 
> 

   Yep, but the changes in the properties of an already existing object
   do not seem to be cleaned during uninstall.

> In my opinion, don't try to uninstall anything, don't try to install modules 
> on production server except if you know what you are doing. Uninstall is a 
> pain and depends on the integration you have done.
> 

   My goal was to have a small/simple product to solve a problem that will
   be cleanly solved in a future version of Plone, so i would like to prepare
   the removal of my product without leaving too much crap in the database.

> Most of the time, i m starting by installing on a dev instance the product, 
> next i m testing it, next i m reading the code, and finaly if the customer 
> whant its feature i integrate it to the project (i apply the profile of the 
> product, and next apply the integration profile that fix most of wrong 
> configs 
> done by other products)

   But as Plone evolves, some products are no longer necessary, or become
   outdated. So at some points you need to migrate and uninstall old products.
   It's where a clean uninstall helps...

   Anyway, thanks for your help (Raphael and jean-Michel), I finally fixed
   the issue in the Extension/Install.py script and removed the use of GS
   for this part.

Francois.

-- 
   Francois BARRIERE                          ATMEL
                                              Zone Industrielle
   Tel: (33) 0 442 53 61 98                   13106 ROUSSET
E-Mail: [email protected]           FRANCE
                 ---------------------------------
Everyone knows that debugging is twice as hard as writing a program 
in the first place. So if you're as clever as you can be when you write it, 
how will you ever debug it? (Brian Kernighan)
                 ---------------------------------

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to