244 lines
6.1 KiB
Batchfile
244 lines
6.1 KiB
Batchfile
@echo off
|
||
title OH5 Drucker Installer
|
||
chcp 65001 >nul
|
||
cls
|
||
|
||
:main
|
||
cls
|
||
echo ╔════════════════════════════════════════════════════════════╗
|
||
echo ║ [34mOH[31m5[0m Drucker Installer ║
|
||
echo ╠════════════════════════════════════════════════════════════╣
|
||
echo ║ Bitte waehle deine Druckermarke: ║
|
||
echo ║ ║
|
||
echo ║ 1. HP ║
|
||
echo ║ 2. Sharp ║
|
||
echo ║ 3. Utax (Work in Progress) ║
|
||
echo ║ 4. Epson ║
|
||
echo ║ 5. Brother ║
|
||
echo ║ ║
|
||
echo ║ 6. Beenden ║
|
||
echo ╠════════════════════════════════════╦═══════════════════════╝
|
||
echo ║ Erweitert: ║
|
||
echo ╠════════════════════════════════════╣
|
||
echo ║ 7. Enable Script-Execution ║
|
||
echo ║ 8. Disable Script-Execution ║
|
||
echo ╚════════════════════════════════════╝
|
||
echo.
|
||
|
||
choice /C 12345678 /N /M "Bitte eine Option waehlen: "
|
||
|
||
if errorlevel 8 goto disablescript
|
||
if errorlevel 7 goto enablescript
|
||
if errorlevel 6 goto exit
|
||
if errorlevel 5 goto brother
|
||
if errorlevel 4 goto epson
|
||
if errorlevel 3 goto utax
|
||
if errorlevel 2 goto sharp
|
||
if errorlevel 1 goto hp
|
||
|
||
:enablescript
|
||
cls
|
||
echo Starte Script-Tool...
|
||
echo.
|
||
cd /d "%~dp0\Assets\zTool"
|
||
start "" "enable_script.bat"
|
||
goto main
|
||
|
||
:disablescript
|
||
cls
|
||
echo Starte Script-Tool...
|
||
echo.
|
||
cd /d "%~dp0\Assets\zTool"
|
||
start "" "disable_script.bat"
|
||
goto main
|
||
|
||
|
||
:wip
|
||
cls
|
||
echo ===============================================
|
||
echo Diese Option ist noch in Arbeit.
|
||
echo Bitte versuche es spaeter erneut.
|
||
echo ===============================================
|
||
echo.
|
||
pause
|
||
goto main
|
||
|
||
:hp
|
||
cls
|
||
echo ===============================================
|
||
echo HP Drucker Installation
|
||
echo ===============================================
|
||
echo.
|
||
echo Bitte waehle die Installationsart:
|
||
echo.
|
||
echo 1. Einfache Installation (Color)
|
||
echo 2. Einfache Installation (Mono)
|
||
echo 3. Zurueck zum Hauptmenue
|
||
echo.
|
||
|
||
choice /C 123 /N /M "Bitte eine Option waehlen: "
|
||
|
||
if errorlevel 3 goto main
|
||
if errorlevel 2 goto hp_mono
|
||
if errorlevel 1 goto hp_simple
|
||
|
||
:hp_simple
|
||
cls
|
||
echo Starte Standard HP-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\HP"
|
||
start "" "Simple HP SW Farbe.bat"
|
||
goto exit
|
||
|
||
:hp_mono
|
||
cls
|
||
echo Starte Mono HP-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\HP"
|
||
start "" "Simple HP SW.bat"
|
||
goto exit
|
||
|
||
:hp_advanced
|
||
cls
|
||
echo Starte erweiterte HP-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\HP"
|
||
start "" "Advanced HP SW&Farbe.bat"
|
||
goto exit
|
||
|
||
|
||
:sharp
|
||
cls
|
||
echo ===============================================
|
||
echo Sharp Drucker Installation
|
||
echo ===============================================
|
||
echo.
|
||
echo Bitte waehle die Installationsart:
|
||
echo.
|
||
echo 1. Einfache Installation (Color)
|
||
echo 2. Einfache Installation (Mono)
|
||
echo 3. Zurueck zum Hauptmenue
|
||
echo.
|
||
|
||
choice /C 123 /N /M "Bitte eine Option waehlen: "
|
||
|
||
if errorlevel 3 goto main
|
||
if errorlevel 2 goto sharp_mono
|
||
if errorlevel 1 goto sharp_simple
|
||
|
||
:sharp_simple
|
||
cls
|
||
echo Starte einfache Sharp-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\SHARP"
|
||
start "" "Simple Sharp SW Farbe.bat"
|
||
goto exit
|
||
|
||
:sharp_mono
|
||
cls
|
||
echo Starte einfache Sharp-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\SHARP"
|
||
start "" "Simple Sharp SW.bat"
|
||
goto exit
|
||
|
||
:epson
|
||
cls
|
||
echo ===============================================
|
||
echo Epson Drucker Installation
|
||
echo ===============================================
|
||
echo.
|
||
echo Bitte waehle die Installationsart:
|
||
echo.
|
||
echo 1. Einfache Installation (Color)
|
||
echo 2. Einfache Installation (Mono)
|
||
echo 3. Zurueck zum Hauptmenue
|
||
echo.
|
||
|
||
choice /C 123 /N /M "Bitte eine Option waehlen: "
|
||
|
||
if errorlevel 3 goto main
|
||
if errorlevel 2 goto epson_mono
|
||
if errorlevel 1 goto epson_simple
|
||
|
||
:epson_simple
|
||
cls
|
||
echo Starte einfache Epson-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\EPSON"
|
||
start "" "Simple Epson SW Farbe.bat"
|
||
goto exit
|
||
|
||
:epson_mono
|
||
cls
|
||
echo Starte einfache Epson-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\EPSON"
|
||
start "" "Simple Epson SW.bat"
|
||
goto exit
|
||
|
||
:utax
|
||
cls
|
||
echo ===============================================
|
||
echo Utax Drucker Installation
|
||
echo ===============================================
|
||
echo.
|
||
echo Bitte waehle die Installationsart:
|
||
echo.
|
||
echo 1. Einfache Installation (Color - Work in Progress)
|
||
echo 2. Einfache Installation (Mono - Work in Progress)
|
||
echo 3. Zurueck zum Hauptmenue
|
||
echo.
|
||
|
||
choice /C 123 /N /M "Bitte eine Option waehlen: "
|
||
|
||
if errorlevel 3 goto main
|
||
if errorlevel 2 goto wip
|
||
if errorlevel 1 goto utax_simple
|
||
|
||
:utax_simple
|
||
cls
|
||
echo Starte einfache Utax-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\Utax"
|
||
start "" "Simple Utax SW Farbe.bat"
|
||
goto exit
|
||
|
||
|
||
:brother
|
||
cls
|
||
echo ===============================================
|
||
echo Brother Drucker Installation
|
||
echo ===============================================
|
||
echo.
|
||
echo Bitte waehle die Installationsart:
|
||
echo.
|
||
echo 1. Einfache Installation (Color)
|
||
echo 2. Einfache Installation (Mono)
|
||
echo 3. Zurueck zum Hauptmenue
|
||
echo.
|
||
|
||
choice /C 123 /N /M "Bitte eine Option waehlen: "
|
||
|
||
if errorlevel 3 goto main
|
||
if errorlevel 2 goto brother_mono
|
||
if errorlevel 1 goto brother_simple
|
||
|
||
:brother_simple
|
||
cls
|
||
echo Starte einfache Brother-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\Brother"
|
||
start "" "Simple Brother SW Farbe.bat"
|
||
goto exit
|
||
|
||
:brother_mono
|
||
cls
|
||
echo Starte einfache Brother-Installation...
|
||
echo.
|
||
cd /d "%~dp0\Assets\Brother"
|
||
start "" "Simple Brother SW.bat"
|
||
goto exit
|
||
|
||
:exit
|
||
exit
|