Hi I'm looking for documentation or simple examples on how to create a disk based product that when I install it, it also adds some third party products. for example, If I select my product from the "Add" list, it'll create a folder, insert my code into it, but also insert mailhost, database connector, exuserfolder etc... is it even possible? one if the reasons I want to create it this way, and not just instruct the user to add these products and only then add mine, is because I want to have a few levels of folders with "acl_users" inside them instead of defining all the users in one folder and start playing with roles and permissions... thanx -- Haim
--On 7. Juni 2005 19:35:23 +0300 Haim Ashkenazi <haim@babysnakes.org> wrote:
Hi
I'm looking for documentation or simple examples on how to create a disk based product that when I install it, it also adds some third party products.
The Zope Developers Guide from zope.org? There are also some example products floating around on zope.org. It's best to learn from existing projects *and* the documentation. -aj
Haim Ashkenazi wrote:
I'm looking for documentation or simple examples on how to create a disk based product that when I install it, it also adds some third party products.
for example, If I select my product from the "Add" list, it'll create a folder, insert my code into it, but also insert mailhost, database connector, exuserfolder etc...
is it even possible?
In your install script you can call 'installProduct("productname")' on the quickinstaller tool itself. Many products do this. Many more should. (Everything that uses Archetypes, for instance, should probably try to install AT.) CMFMember does try to install AT: http://svn.plone.org/view/collective/CMFMember/trunk/Extensions/Install.py?r... ATContentTypes does some complex checking and installing: http://svn.plone.org/view/collective/ATContentTypes/trunk/Extensions/Install... --jcc -- "Building Websites with Plone" http://plonebook.packtpub.com
thanx for the replies. I'll look into these options today. Bye On Tue, 07 Jun 2005 19:35:23 +0300, Haim Ashkenazi wrote:
Hi
I'm looking for documentation or simple examples on how to create a disk based product that when I install it, it also adds some third party products.
for example, If I select my product from the "Add" list, it'll create a folder, insert my code into it, but also insert mailhost, database connector, exuserfolder etc...
is it even possible?
one if the reasons I want to create it this way, and not just instruct the user to add these products and only then add mine, is because I want to have a few levels of folders with "acl_users" inside them instead of defining all the users in one folder and start playing with roles and permissions...
thanx
-- Haim
participants (3)
-
Andreas Jung -
Haim Ashkenazi -
J Cameron Cooper