Discussion: DiagBox 8.xx upgrade
Afficher un message
Vieux 18/02/2016, 04h41  
Simple
Membre attaché
 
Avatar de Simple
 
Date d'inscription: août 2014
Localisation: NA
Messages: 279
Thanks: 5
Thanked 415 Times in 80 Posts
Pouvoir de réputation: 21
Simple has much to be proud ofSimple has much to be proud ofSimple has much to be proud ofSimple has much to be proud ofSimple has much to be proud ofSimple has much to be proud ofSimple has much to be proud ofSimple has much to be proud of
Par défaut

I have recompiled V8.xx updates from 8.02 to 8.17 (see attached file DBox_8xx_updates.txt) with all original files included and only the 4 files that make it work with version 7 changed. They will report V8.xx NOT V7.xx, you can try them.

The version.ini file has:
[APPLICATION]
Version=08.17
Version=07.81

However, after starting DiagBox and before starting Lexia, "Version=08.xx" needs to be commented and saved, otherwise Lexia will deactivate DiagBox, in which case you need to restore APPDIAG.SYS to be working again, like this:
[APPLICATION]
;Version=08.17
Version=07.81

Else, keep "Version=08.xx" commented and DiagBox will report V7.xx but everything will be working fine... DiagBox will not start with only "version=08.xx" in version.ini.

Now, how are updates performed....

Updates are downloaded and expanded (by DiaagBox) in "C:\AWRoot\dtwr\updt\Appli\" folder as RAR files, then moved to "C:\AWRoot\dtwr\updt\MAJDIST\", See DiagBox_updt_8xx.rar.

You can manually expand one or more update in the "MAJDIST" folder where it will have the AWRoot, APP and possibly the APPLIC folders. The presence of "majdist.tmp" tells DiagBox that an update is waiting to be installed and on running DiagBox it will start Internet Update. If you remove "majdist.tmp" or rename it, DiagBox will NOT perform the Internet update even if it is downloaded, expanded and ready..

The idea is to navigate through the various folders and edit or remove necessary/unnecessary files so that it works... Run an upgrade file, it will expand in the "C:\AWRoot\dtwr\updt\MAJDIST\" folder, change the name of the "majdist.tmp" file so that you don't do something silly accidentally, or compress the files and move them somewhere else for manipulation, then move them back when done. Compare different files to whats hapenning.

The files that you are most likely to work with are in "AWRoot" and the main files that may damage the installation if it fails are APPDIAG.SYS, CFG.BIN in "AWRoot\bin\fi", CONFIG.SYS in "AWRoot\dtwr\cfg" and the 13 files starting with "fr.actia.AWF.xxxxxxxxx.dll" in the cache folder in "AWRoot\bin\fi\cache", every time you make a mistake they disappear.. So make sure you have working backup copies before you start (the configuration files are specific to the installation and the computer, they will NOT work on another installation). The rest are interchangeable..

Notice:
This particular upgrade was performed using the DiagBox v8.01 with no files removed, I did my best to follow the same methodology when configuring the updates.. I would (and others as well) appreciate if someone who is having issues with DiagBox 7, could try (V8 + updates) and tell us if it made a difference in his case.

Hints:
- The easiest way to build your experimentation environment is to use Virtual Machines and take snapshots after every significant achievement, so that if you make a mistake, you start from the last snapshot NOT from the beginning.
- To speed up recovery from failure, I have also added a small tool (Cache Contents Restorer in DBox_8xx_updates.txt) that will replenish "fr.actia.AWF.xxxxxxxxx.dll" after getting wiped out. You could create your own that will also restore (your) APPDIAG.SYS as well.

My objective is to empower users so that we can have lively contribution based on our collective and varying skills. If you are good with software and have a Peugeot Citroen car that you may have to live with for sometime to come, then have a go at it, it is time you learnt how to do it, and you know the symphony by now "carry out this procedure at your own risk"...

I guess we should see more members contributing....

Good luck..

Simple.
Images attachées
Type de fichier : jpg DBox817.jpg (73,9 Ko, 181 affichages)
Type de fichier : jpg DBox_784.jpg (72,0 Ko, 138 affichages)
Fichiers attachés
Type de fichier : txt DBox_8xx_updates.txt (651 octets, 131 affichages)
Type de fichier : rar DiagBox_updt_8xx.rar (950 octets, 134 affichages)
Simple est déconnecté   Réponse avec citation
The Following 4 Users Say Thank You to Simple For This Useful Post:
calimero0000 (02/05/2018), KEKE95 (11/11/2018), manudiag (28/11/2017), vmo (24/01/2018)