WCS Upgrade Install Script Setup

From WCS

UpgradeInstall Setup

1) Create a directory under the WCS Database area (\\{server}\WCSDB$ or {Install Directory}\Database), called Upgrades.

2) Extract the files in the zip here.

3) Copy the file UpdateDB.exe to the WCS Database area.

4) Edit the Install.DAT file so that the logical areas point to the right place on the machine:

Upgrade the directory created above.
WCSDB {Install Directory}\Database
WCSAPP {Install Directory}
WCSRPT {Install Directory}\bin\Reports
WCSRDT {Install Directory}
From version 1.3 onwards of this script, two other parameters must also be set:
WCSLDB {Install Directory}\Database
WCSLDB_NAME The name of the logging database, normally 'Log.mdb'

5) Create a shortcut (or change the provided one) for WCS_Upgrade_Rollback.

This should point to the WCS_Upgrade_Install VB script but with a parameter of "R", and should start in the same directory, like below:

	Target: "{directory}\WCS_Upgrade_Install.vbs" "R"
	Start In: "{directory}"

6) Ensure that there are NO zip files in this directory, other than those that you want installing by the script.

Once that is complete, follow the automatic installation procedures in the WCS Installation Guide, included.


Appendix A: Sample Install.DAT file

Upgrade=C:\Program Files\Warehouse Control Server\Database\Upgrades
WCSDB=C:\Program Files\Warehouse Control Server\Database\
WCSLDB=C:\Program Files\Warehouse Control Server\Database\
WCSLDB_NAME=log.mdb
WCSAPP=C:\Program Files\Warehouse Control Server\
WCSRPT=C:\Program Files\Warehouse Control Server\Bin\Reports\
WCSRDT=C:\Program Files\Warehouse Control Server\

This can be extended with several WCSRDT entries, to support multiple RDT servers, if necessary.