2009-06-29 07:06:01 -05:00
|
|
|
<!codeHeader!>
|
|
|
|
import appy.gen
|
|
|
|
from appy.gen.plone25.installer import PloneInstaller
|
2010-09-02 09:16:08 -05:00
|
|
|
import Products.<!applicationName!>.config as config
|
|
|
|
|
2009-06-29 07:06:01 -05:00
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
def install(self, reinstall=False):
|
2010-09-02 09:16:08 -05:00
|
|
|
'''Installation procedure.'''
|
|
|
|
return PloneInstaller(reinstall, self, config).install()
|
2009-06-29 07:06:01 -05:00
|
|
|
|
|
|
|
# ------------------------------------------------------------------------------
|
|
|
|
def uninstall(self, reinstall=False):
|
2010-09-02 09:16:08 -05:00
|
|
|
'''Uninstallation procedure.'''
|
|
|
|
return PloneInstaller(reinstall, self, config).uninstall()
|
2009-06-29 07:06:01 -05:00
|
|
|
# ------------------------------------------------------------------------------
|