OCX installer does not work when run from command line
The OCX installer, using install.bat, works when double-clicked from explorer but does not run from the command line.
"prCabInstall not a recognized command"
Steps to Reproduce
Execute install.bat from command prompt while the current directory is not the directory install.bat is in.
A defect in Pegasystems’ code or rules. install.bat executes prCabInstall with the assumption that prCabInstall is in the current folder. If install.bat is run from the command line without being in its directory,the batch file can not find prCabInstall.
Perform the following local-change: replace install.bat with the below code, which will use the directory of the install.bat file instead of the current directory
if "%1"=="EndUser" set INSTALL_TYPE=EndUser
echo Selected Installation Type: %INSTALL_TYPE%
if "%INSTALL_TYPE%"=="EndUser" (
) ELSE (
regedit /s vistaword.reg
echo Pegasystems ActiveX controls have been installed.