Installation and Configuration Guide : B. OpenROAD Command Line Installation (Windows Only) : The orinstall.bat Batch File
 
Share this page          
The orinstall.bat Batch File
You can use the orinstall.bat script to install, upgrade, or clone an OpenROAD instance. The command forms supported are as follows:
orinstall
orinstall . .
orinstall "%II_SYSTEM%" "DSTDIR_II_SYSTEM" /clone
orinstall /?
orinstall ?
orinstall /h
orinstall h
If no parameters are specified, orinstall will perform a sanity check and then install 64-bit OpenROAD 11.1 into the destination 64-bit Ingres 11.1 instance.
Parameters for orinstall.bat
If no parameters are provided then the orinstall.bat script will determine the value of the Source Directory (SRCDIR) and the Destination Directory (DSTDIR). The SRCDIR value is determined by using the Current Directory value and doing a sanity check to make sure that this is a value 64-bit OpenROAD 11.1 installer image. The DSTDIR value is determined by checking the value of the "%II_SYSTEM%" to ensure that it is a valid 64-bit Ingres 11.1 instance.
Once it has determined that SRCDIR and DSTDIR are valid, it will do the following: (1) Shut down any running OpenROAD Server; (2) Copy the 64-bit OpenROAD 11.1files from the SRCDIR into the appropriate DSTDIR locations; (3) Create the shortcuts for the new 64-bit OpenROAD 11.1 instance; (4) Create a customized script called ORUNINSTALL.BAT that will be called using a configured shortcut to remove then new 64-bit OpenROAD 11.1 instance when the shortcut is invoked and (5) Restart the OpenROAD Server.
. .
When "." and "." are provided as the value of the SRCDIR and DSTDIR, these values tell the ORINSTALL.BAT script to determine the default values for SRCDIR and DSTDIR.
/clone
This option is only available after the 64-bit OpenROAD 11.1 instance has been installed.
This flag is passed as the third parameter to ORINSTALL.BAT. The first parameter must be "%II_SYSTEM%", that is, the II_SYSEM of the 64-bit OpenROAD 11.1 instance that will be cloned. The second parameter must be "DSTDIR_II_SYSTEM". This is the fully qualified path to the 64-bit Ingres 11.1 instance where the contents of the current 64-bit OpenROAD 11.1 instance will be cloned.
After it has determined that SRCDIR and DSTDIR are valid, it will do the following: (1) Shut down any running OpenROAD Server,; (2) Copy the 64-bit OpenROAD 11.1files from the SRCDIR into the appropriate DSTDIR locations; (3) Create the shortcuts for the new 64-bit OpenROAD 11.1 instance; (4) Create a customized script called ORUNINSTALL.BAT that will be called using a configured shortcut to remove then new 64-bit OpenROAD 11.1 instance when the shortcut is invoked and (5) Restart the OpenROAD Server.