|
|
For the purpose of illustration, this procedure describes how to install two Windows clients on a single machine: a PTC RV&S 11 and PTC RV&S 12 client.
|
c:/Program Files/client11/IntegrityClient
c:/Program Files/client12/IntegrityClient12
@ECHO OFF
title client12
cd\
cd Program Files\client12\IntegrityClient12\bin
@REM Set the path to point at the 12 client install first.
set PATH=C:\Program Files\client12\IntegrityClient12\bin;%PATH%
|
|
To access mksis commands, add the PTC RV&S server path after the PTC RV&S client path. For example:
set PATH=C:\Program Files\client12\IntegrityClient12\bin\; |
@REM Set the MKS_IC_INSTANCE_DIR variable to specify the location
of the client’s ViewSet, Sandbox registry, and preference files.
set MKS_IC_INSTANCE_DIR=C:\Program Files\client12\homedirectory
@REM Set the MAN variables.
set MAN_CHM_INDEX=C:/PROGRA~1/MKSTOO~1/etc/chm/tkutil.idx;
C:/PROGRA~1/MKSTOO~1/etc/chm/tkapi.idx;C:/PROGRA~1/MKSTOO~1/
etc/chm/tcltk.idx;C:/PROGRA~1/MKSTOO~1/etc/chm/tkcurses.idx;
C:/Program Files/client12/IntegrityClient12/etc/siman.idx;
C:/Program Files/client12/IntegrityClient12/etc/imman.idx;
C:/Program Files/client12/IntegrityClient12/etc/isman.idx;
set MAN_TXT_INDEX=C:/PROGRA~1/MKSTOO~1/etc/chm/tkutil.idx;
C:/PROGRA~1/MKSTOO~1/etc/chm/tkapi.idx;C:/PROGRA~1/MKSTOO~1/
etc/chm/tcltk.idx;C:/PROGRA~1/MKSTOO~1/etc/chm/tkcurses.idx;
C:/Program Files/client12/IntegrityClient12/etc/siman.idx;
C:/Program Files/client12/IntegrityClient12/etc/imman.idx;
C:/Program Files/client12/IntegrityClient12/etc/isman.idx;
|
|
If you start the client from a new command line prompt, the variables set in the .bat file are not read.
|
|
|
You can also choose to create a similar .bat file for PTC RV&S 11 client.
|