This would be a valuable program - worthy of a bounty.
here is a link to a modified 7zip installer - with script code :
http://7zsfx.solta.ru/en/The script forces UTF-8
The configuration page on the left shows all commands, which are very easy to learn.
We need UserC, UserLibs, UserPrefs drawers so not to mess with official SYS: partition.
Detect library version :
if newer, copy old version to UserLibs then copy new to SYS:
if older, check if there is already in UserLibs first, then copy to UserLibs.
Just in case a specific program requires a specific version to work. In this case installer should log similar libs file and FLAG the program that requires it.
This will keep a record of dependancies and find problem programs that can be reported and fixed.
Which is the better solution - Flag the file that requires specific version of a Lib or just copy a different version to UserLibs ?
MD5 logging of files and operations.
Record each stage for documentation automatically.
Templates
Silent Install for multiple systems simultaneously
could having specific folder structure be useful ?
eg all docs in subfolder Docs
EG recommended structure :
MyAppFolder
-MyApp
-Docs/MyAppDoc
Installer maps shortcut
Program shortcut "MyApp" to MyAppFolder/MyApp
Programs documentation "MyAppDoc" to MyAppFolder/Docs/MyAppDoc
So now shell or any program can execute program :
"MyApp <options>"
or call ANY Programs documentation by executing :
"TextReader MyAPPDoc"
A table keeping this information can be parsed to create or recreate HTML documentation with links to apps/tuts etc or even embed code,examples, version numbers, settings - anything !
If you follow structure guide your app will be detected, if you want to install app anyware - dont expect detection.
just some thoughts
