Files
mip/InstallMIP.cmd
PriestJ 69c2ead1ee fixed bug in Installmip.cmd, test section would never get run and the usage section caused an error.
Massaged the test data so that some base users get added to the test schema, duplicated the seed party data upload so that the Advantica user still exists

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2897 248e525c-4dfb-0310-94bc-949c084e9493
2007-11-28 13:17:46 +00:00

51 lines
798 B
Batchfile

@echo off
if "%1"=="" goto :usage
if "%2"=="" goto :usage
if "%3"=="" goto :usage
if "%4"=="" goto :usage
if "%5"=="" goto :usage
@echo Install Schema
sqlplus /nolog @Schema\InstallMIP %1 %2 %3 %4 %5
@echo Install Modules
sqlplus %3/%4@%5 @Modules\Modules.sql
@echo Install Seed
cd Data\Seed
call InstallSeed %3/%4@%5
cd ..\..
@echo Seed Complete
if "%6"=="" goto :done
if "%6"=="demo" goto :demo
if "%6"=="test" goto :test
:demo
@echo Demo
cd Data\Demo
call InstallData %3/%4@%5
cd ..\..
@echo Demo Complete
goto :done
:test
@echo Install Test
cd Data\test
call InstallData %3/%4@%5
cd ..\..
@echo Test Complete
goto :done
:usage
echo usage InstallMIP sys_name sys_password app_name app_password db_connect_string demo/test
:done