[Product-Developers] Re: GenericSetup propertiestool.xml and integer properties

Raphael Ritz r.ritz at biologie.hu-berlin.de
Mon Sep 22 08:08:43 UTC 2008


Radim Novotny wrote:
> Raphael Ritz napsal(a):
>> Radim Novotny wrote:
>>> Hi,
>>>
>>> I have propertiestool.xml in my product, which defines custom 
>>> property sheet. There are several properties of type "int". I provide 
>>> the default values in XML file, but when user changes these values in 
>>> ZMI (or through my controlpanel) and reinstalls the product in 
>>> Quickinstaller, all properties are set back to the default values.
>>>
>>> How can I prevent this ?
>>
>> have you tried to add
>>
>>   purge="False"
>>
>> to the property element?
>>
> 
> Yes, without success.

:-(

For similar reasons I sometimes introduce two profiles for
an add-on product: one (default) that's safe to be applied
again on reinstall and one containing additional settings
which should only be applied on first install. The application
of the latter is then either controlled by a custom
install function (the old 'Extensions.install' thing)
or people are supposed to apply that manually in ZMI using
'portal_setup'.

Of course this is a horrible hack but so far I could live
with it.

In the end we are beaten by the fact that GS has never been
designed to be an installation tool. At least not in the
way we are used to by the quickinstaller.

Raphael





More information about the Product-Developers mailing list