Changed InstallMIP.cmd to allow 6th parameter to indicate data to be loaded after the Seed.

Added missing schema tables.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@2893 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
hardya
2007-11-27 16:23:36 +00:00
parent cb7b890a92
commit 7877296419
10 changed files with 93 additions and 41 deletions

View File

@@ -6,6 +6,7 @@ if "%3"=="" goto :usage
if "%4"=="" goto :usage
if "%5"=="" goto :usage
@echo Install Schema
sqlplus /nolog @Schema\InstallMIP %1 %2 %3 %4 %5
@@ -14,20 +15,37 @@ sqlplus /nolog @Schema\InstallMIP %1 %2 %3 %4 %5
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
goto "%6"
:demo
@echo Demo
cd Data\Demo
call InstallDemoData %3/%4@%5
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
echo usage InstallMIP sys_name sys_password app_name app_password [demo|test]db_connect_string
:done