What about to implement an automatic standardized wizard to install and uninstall Modifications?
The installed MOD can be showed in PCA, for example in a MODification subsection. There can be placed a button to delete the modification installed.
I mean some thing similar to add/remove programs for windows systems or add/remove package in linux like systems, or, again, something similar at the style installing/uninstalling panel.
The install procedure (a php script maybe) can process a xml like file to install the needed modification package and, at the same time, it can create automatically another xml file to uninstall it or, alternatively, it can execute the original xml used for installation contrariwise to uninstall the relative mod.
Of course the MOD will need to upload its own files images script etc, operation that can be done by a file field that upload a compressed file containing everything needed by the mod itself or another to grab the installation compressed package from a internet url.
The xml file install/uninstall must indicate in a way that the php install/uninstall procedure can process:
1) the new files that have to be copied and where f(x,y)=(file to copy and path);
2) the old files that need to be modified an how f(x,y,z)=(file to modify, old row to replace, new row);
3) the old files that need to be modified an how f(x,y,z)=(file to modify, old string|code to replace, new string|code).
Do you think it will be possible to implement a wizard like this or something that does the same clean job?
View idea at: Install MODs wizard
Posted by peopleopinion