Caché Installation Guide - InterSystems Documentation
Caché Installation Guide - InterSystems Documentation
Caché Installation Guide - InterSystems Documentation
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
enable a previous <strong>Caché</strong> instance to use the compatible local files, rather than a newly installed current<br />
<strong>Caché</strong> set of registered executables.<br />
To create .local files for all the executables in a directory type the following at a DOS prompt:<br />
for %c in (*.exe) do set tempvariable= >%c.local<br />
For more information on .local files see the Microsoft article entitled: The End of DLL Hell.<br />
2.5.1.1 Register Files<br />
The <strong>Caché</strong> installation contains a Regfiles.bat script file in the install-dir/Bin directory that reregisters<br />
object tool files in a common <strong>Caché</strong> directory. You require Administrator privileges to run RegFiles.bat.<br />
You only need to run this script if you install or uninstall any instance of <strong>Caché</strong> 4.1 or earlier; if you<br />
are only running instances of <strong>Caché</strong> 5.0 or later, the object tools function properly with multiple<br />
instances.<br />
Here is an example of running the script:<br />
C:\MyCache\Bin>regfiles.bat<br />
C:\MyCache\Bin>rem Register Cache Self-Registering executables in<br />
common directory<br />
.<br />
.<br />
If after running RegFiles.bat, you still receive errors similar to the following when you start Studio:<br />
Cannot create class factory for COM_SLSID_TNodes<br />
Run the script with the ALL argument; this reregisters all JCOM DLLs in addition to the other files.<br />
For example:<br />
C:\MyCache\Bin>RegFiles.bat ALL<br />
C:\MyCache\Bin>rem Register Cache Self-Registering executables in<br />
common directory<br />
.<br />
.<br />
C:\MyCache\Bin>rem Register JCOM dlls<br />
C:\MyCache\Bin>set CacheDir=C:\MyCache\bin\<br />
.<br />
.<br />
Special Considerations<br />
Important:<br />
Running RegFiles.bat ALL when it is not necessary will prevent the uninstall procedure<br />
from removing some registry keys under HKLM\Software\Intersystems when you<br />
uninstall the last <strong>Caché</strong> instance.<br />
<strong>Caché</strong> <strong>Installation</strong> <strong>Guide</strong> 23