Nigel Sim wrote:
To avoid this again I've made myself an Extensions/Install.py file with
the following contents so I can use the quick installer:
from Products.CMFCore.utils import getToolByName
def install(portal):
setup_tool = getToolByName(portal, 'portal_setup')
old_context = setup_tool.getImportContextID()
setup_tool.setImportContext('profile-listen:default')
setup_tool.runAllImportSteps()
setup_tool.setImportContext(old_context)
return "Successfully imported the Listen profile"
it should be noted that more recent versions of CMFQuickInstaller will
automatically discover 'default' profiles and they will show up as installable
products. i'm not sure exactly when the changes landed, but i'm pretty sure
that the version of CMFQI that is in the Plone 2.5 bundle will do this for you.
-r
--
Archive:
http://www.openplans.org/projects/listen/lists/listen-dev/archive/2007/07/1183775755902
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]
Please contact [EMAIL PROTECTED] for questions.