[Rainbowportal-devel] Portal Module Installer
Brought to you by:
danijel_kecman,
manudea
From: Leo D. <le...@cl...> - 2004-02-06 01:19:33
|
After writing the document about creating Rainbow Plug-Ins, it has become apparent to me that we need to write an Admin Module that allows a user to upload a ZIP'd version of the module and have it be installed to the Rainbow portal automatically. =20 Has anyone started to write one, or started to spec one out? I have no problem writing one, but I would like some help making sure it is complete and conforms to all the current module management features in Rainbow. =20 I have questions about the Install.xml, install.sql and uninstall.sql. I need someone to show me how to use them properly so that when I write the module it uses those modules for the install process. Another concern I have related to installing/uninstalling is upgrading from one module to another.=20 =20 I imagine the flow of the module to be something like this... =20 1. User goes to Admin All (admin all portals), selects Add to add a new module. 2. There is an option to install from ZIP, which allows you to upload a zip file to be installed. 3. The appropriate folders for the module are created as defined in the install.xml file. 4. The module files (ascx, aspx, etc) are copied to the appropriate folder under DesktopModules. 5. The module DLL is copied to the Bin folder... Note: Is this going to cause the application to restart? 6. The Install.SQL file is run against the database. =20 Please send me your thoughts. =20 Leo |