Add post-install configuration for ROA Windows setup

New files:
- 08-post-install-config.ps1: Creates ROAUPDATE folders (54 dirs),
  Oracle DIRECTORY objects, SERVER_INFO config, scheduler jobs
- directories-roaupdate.sql: 54 UPD_* directory objects for PACK_UPDATE
- server-info-init.sql: Encoded passwords, paths, email settings
- scheduler-jobs.sql: UPDATEROA_ZILNIC, UPDATERTVAI_ZILNIC (disabled)
- auth-detalii-init.sql: Customer ID for licensing

Updates:
- RunAll.cmd: Added step 6 (08-post-install-config.ps1)
- README.md: Simplified Quick Start, single execution path (RunAll.cmd)
- 00-INSTALL-ORACLE-*.md: Removed redundant manual steps (handled by scripts)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Marius
2026-01-29 01:24:15 +02:00
parent aaf5942f6b
commit 648342c0a8
9 changed files with 1614 additions and 177 deletions

View File

@@ -18,7 +18,8 @@ echo 2. 02-create-sys-objects.ps1
echo 3. 03-import-contafin.ps1
echo 4. 04-create-synonyms-grants.ps1
echo 5. 05-import-companies.ps1
echo 6. 07-verify-installation.ps1
echo 6. 08-post-install-config.ps1
echo 7. 07-verify-installation.ps1
echo.
echo Prerequisites:
echo - Oracle 21c XE or SE installed and running
@@ -37,7 +38,7 @@ set ERRORS=0
REM Script 1: Setup Database
echo.
echo [1/6] Running 01-setup-database.ps1...
echo [1/7] Running 01-setup-database.ps1...
echo ============================================================
powershell.exe -ExecutionPolicy Bypass -NoProfile -File "%SCRIPTS_DIR%\01-setup-database.ps1"
if %ERRORLEVEL% NEQ 0 (
@@ -49,7 +50,7 @@ if %ERRORLEVEL% NEQ 0 (
REM Script 2: Create SYS Objects
echo.
echo [2/6] Running 02-create-sys-objects.ps1...
echo [2/7] Running 02-create-sys-objects.ps1...
echo ============================================================
powershell.exe -ExecutionPolicy Bypass -NoProfile -File "%SCRIPTS_DIR%\02-create-sys-objects.ps1"
if %ERRORLEVEL% NEQ 0 (
@@ -61,7 +62,7 @@ if %ERRORLEVEL% NEQ 0 (
REM Script 3: Import CONTAFIN_ORACLE
echo.
echo [3/6] Running 03-import-contafin.ps1...
echo [3/7] Running 03-import-contafin.ps1...
echo ============================================================
powershell.exe -ExecutionPolicy Bypass -NoProfile -File "%SCRIPTS_DIR%\03-import-contafin.ps1"
if %ERRORLEVEL% NEQ 0 (
@@ -73,7 +74,7 @@ if %ERRORLEVEL% NEQ 0 (
REM Script 4: Create Synonyms and Grants
echo.
echo [4/6] Running 04-create-synonyms-grants.ps1...
echo [4/7] Running 04-create-synonyms-grants.ps1...
echo ============================================================
powershell.exe -ExecutionPolicy Bypass -NoProfile -File "%SCRIPTS_DIR%\04-create-synonyms-grants.ps1"
if %ERRORLEVEL% NEQ 0 (
@@ -85,7 +86,7 @@ if %ERRORLEVEL% NEQ 0 (
REM Script 5: Import Companies
echo.
echo [5/6] Running 05-import-companies.ps1...
echo [5/7] Running 05-import-companies.ps1...
echo ============================================================
powershell.exe -ExecutionPolicy Bypass -NoProfile -File "%SCRIPTS_DIR%\05-import-companies.ps1"
if %ERRORLEVEL% NEQ 0 (
@@ -95,9 +96,21 @@ if %ERRORLEVEL% NEQ 0 (
if /i not "!CONTINUE!"=="Y" goto :summary
)
REM Script 6: Verify Installation
REM Script 6: Post-Installation Configuration
echo.
echo [6/6] Running 07-verify-installation.ps1...
echo [6/7] Running 08-post-install-config.ps1...
echo ============================================================
powershell.exe -ExecutionPolicy Bypass -NoProfile -File "%SCRIPTS_DIR%\08-post-install-config.ps1"
if %ERRORLEVEL% NEQ 0 (
echo [FAILED] 08-post-install-config.ps1 failed!
set /a ERRORS+=1
set /p CONTINUE="Continue anyway? [Y/N]: "
if /i not "!CONTINUE!"=="Y" goto :summary
)
REM Script 7: Verify Installation
echo.
echo [7/7] Running 07-verify-installation.ps1...
echo ============================================================
powershell.exe -ExecutionPolicy Bypass -NoProfile -File "%SCRIPTS_DIR%\07-verify-installation.ps1"
if %ERRORLEVEL% NEQ 0 (