README
####################################################################################
SCRIPT STEP BY STEP
####################################################################################
If you have a problem during setup.sh execution, you can install the plugin manually.
Report your bug at guillaume.priou@ocsinventory-ng.org
####################################################################################

=======================
setup.sh
=======================
* Check that locate is installed on the system
* Check that updatedb is installed on the system
* define Map.pm directory
* Ask user for mysql server information
* Ask mysql database name
* Copy cd_officepack directory from source to /ocsreports/plugins/computer_detail/
* Copy ms_plugins directory from source to /ocsreports/plugins/main_sections/ms_plugins
* Copy img/cd_officepack.png from source to /ocsreports/plugins/computer_detail/img/
* Copy img/cd_officepack_a.png from source to /ocsreports/plugins/computer_detail/img/
* Copy img/cd_officepack_d.png from source to /ocsreports/plugins/computer_detail/img/
* Backup old french.txt and copy new french.txt file from source to /ocsreports/plugins/language/french/
* Backup old english.txt and copy new english.txt file from source to /ocsreports/plugins/language/english/
* Backup old cd_config.txt and copy new cd_config.txt from source to /ocsreports/plugins/computer_detail/
* Stop Apache
* Backup old Map.pm and copy new Map.pm from source to $MAP_PM_PATH/ (path of Map.pm used
* Start Apache

======================
Upgrade your management server
======================
Before upgrading, you have to backup 
* cd_config.txt
* french.txt
* english.txt
* 4all_config.txt
Or adapt these files new version of these files

After upgrade your management server, you have to reactivate the plugin
* restore cd_config.txt
* restore french.txt
* restore english.txt
* restore 4all_config.txt 

======================
Misc
======================
Don't forget to place the vb script in agent directory (C:\Program Files\OCS Inventory Agent\Plugins)
Yous can use OCS deployment feature (method store), GPO or login script to place the script in the directory