Furthermore, a single mistake may corrupt the whole installation, which is frustrating.
The auto-installer is supposed to do the following:
1. Detect the game version to ensure that the proper patches have been applied.
Verify the key files to ensure that the current installation is a clean one.
Automatically backup the key files.
2. Verify the downloaded mods and patches to ensure that their version is correct??
3. Begin the installation without the user's interference.
The information of all the choices to be made and patches to be applied will be saved in a separate cfg file in a simple format.
So the modder can easily modify the cfg file to make adjustment to the installation procedure.
4. After the installation, verify the weidu log to check if the installation is successful.
5. The dos windows can be hided and a progress bar can be displayed.
6. Automatically clean up the game folder of the mod files.
As the cfg files are separated from the main program, the auto-installer is supposed to work with any other mega mod installation.
Any suggestions will be appreciated.
Edit:
Leonardo's auto-installer is written in batch files which have a lot of limitations.
As stated in Leonardo's post,
1. The .bat files are not compatible with WeiDU 2.01. Some mods like BG2Fixpack, NEJ, CtB cannot be installed with this method.
2. The installation stops when a window opens
3. Apparently some mods get skipped, especially on a faster Computer. Happened installation should be checked autamatically.
4. Copy and paste should be performed automatically.
My auto-installer will solve these problems and won't need any user's interference during the installation procedure.
But if anyone has already written an auto-installer in a language other than batch, please tell me and i will stop the project.
Edited by lostincarnation, 21 October 2007 - 02:48 AM.