@IF NOT DEFINED CCP4 (ECHO CCP4 environment variable is not defined, suggesting CCP4 is not set up.) 
@IF NOT DEFINED CCP4 (ECHO This means you cannot install ProSMART automatically. Options:)
@IF NOT DEFINED CCP4 (ECHO 1: Setup CCP4 and retry installation.)
@IF NOT DEFINED CCP4 (ECHO 2: Run ProSMART directly from the current location, e.g. ProSMART\bin\prosmart.)
@IF NOT DEFINED CCP4 (PAUSE)
@IF NOT DEFINED CCP4 (EXIT)

@ECHO ProSMART executables and library are being copied to: %CCP4%\bin and %CCP4%\share

@CD bin
@COPY *.exe %CCP4%\bin /Y
@CD ..
@MKDIR %CCP4%\share\prosmart_data
@COPY data %CCP4%\share\prosmart_data /Y

@PAUSE