Piwik will be integrated directly in most CMS, blog. These third party softwares have often their own plugin installation process. So, we have to provide an API that can automatically install Piwik.
What does the Piwik install process?
I think we have to provide the API with 2 new functions :
createTables($tablePrefix, $databaseParameters) createConfigFiles($listOfParameters)
Another solution is to merge these 2 functions in only one :