-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAutoSetup.bat
More file actions
46 lines (40 loc) · 1.14 KB
/
AutoSetup.bat
File metadata and controls
46 lines (40 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
@echo off
title Display Control+ Auto-Setup
color 0B
echo.
echo ===============================================
echo Display Control+ Auto-Setup
echo ===============================================
echo.
echo Welcome! This will automatically set up Display Control+.
echo.
REM Check if we're in a ZIP extraction directory
if not exist "DisplayControlPlus_Installer.bat" (
echo Error: Installation files not found in current directory.
echo Please extract the ZIP file completely and run this again.
echo.
pause
exit /b 1
)
echo Starting installation process...
echo.
REM Check for admin rights
net session >nul 2>&1
if %errorLevel% neq 0 (
echo This installer requires administrator privileges.
echo Please right-click and "Run as administrator"
echo.
pause
exit /b 1
)
REM Run the main installer
call "DisplayControlPlus_Installer.bat"
echo.
echo ===============================================
echo Auto-Setup Complete!
echo ===============================================
echo.
echo Display Control+ has been installed and configured.
echo Check your desktop for the shortcut to configure settings.
echo.
pause