@echo off
REM !/bin/sh
REM /* ****************************************************************************
REM /*
REM /*                  Insight Integration for OpenView NNM
REM /*
REM /*      Copyright 1996,2003 Hewlett-Packard Development Company, L.P.
REM /*
REM /*      Hewlett-Packard Company shall not be liable for technical or
REM /*      editorial errors or omissions contained herein. The information in
REM /*      this document is provided "as is" without warranty of any kind and
REM /*      is subject to change without notice. The warranties for HP products
REM /*      are set forth in the express limited warranty statements
REM /*      accompanying such products. Nothing herein should be construed as
REM /*      constituting an additional warranty.
REM /*
REM /*      Confidential computer software. Valid license from HP required for
REM /*      possession, use or copying. Consistent with FAR 12.211 and 12.212,
REM /*      Commercial Computer Software, Computer Software Documentation, and
REM /*      Technical Data for Commercial Items are licensed to the U.S.
REM /*      Government under vendor's standard commercial license.
REM /*
REM /* **************************************************************************
REM /*                                                                        
REM /* PROPRIETARY NOTE:                                                      
REM /*     This document contains information confidential and proprietary to 
REM /*     Hewlett-Packard and shall not be reproduced or transferred to other
REM /*     documents or disclosed to others or used for any purpose other than 
REM /*     that for which it was obtained without the expressed written consent
REM /*     of Hewlett-Packard Company.
REM /*                                                                        
REM /* **************************************************************************
REM /*

set LANG=C
set FLAG=1

@call ov.envvars.bat

set CPQ_SYMBOLS=%OV_SYMBOLS%\%LANG%\cpq
set CPQ_FLDS=%OV_FIELDS%\%LANG%\cpq
set CPQ_REG=%OV_REGISTRATION%\%LANG%\cpq

if NOT EXIST "%CPQ_REG%\cpqMapApp.reg" echo "The application registration file %CPQ_REG%\cpqMapApp.reg not present"
if not exist "%CPQ_REG%\cpqMapApp.reg" set FLAG=0

if not exist "%CPQ_REG%\cpqInfoApp.reg" echo "The application registration file %CPQ_REG%\cpqInfoApp.reg not present"
if not exist "%CPQ_REG%\cpqInfoApp.reg" set FLAG=0

if not exist "%CPQ_SYMBOLS%\cpqSym.reg" echo "The symbol registration file %CPQ_SYMBOLS%\cpqSym.reg not present"
if not exist "%CPQ_SYMBOLS%\cpqSym.reg" set FLAG=0

if not exist "%CPQ_FLDS%\cpqField.reg" echo "The field registration file %CPQ_FLDS%\cpqField.reg not present"
if not exist "%CPQ_FLDS%\cpqField.reg" set FLAG=0

if %FLAG% == 1	echo "All essential registration files present"

@echo on
