-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinstall-client.bat
More file actions
43 lines (38 loc) · 1.14 KB
/
install-client.bat
File metadata and controls
43 lines (38 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
@echo off
REM LabLink Client - Windows Installation Wrapper
REM This batch file makes it easier to run the PowerShell installation script
REM by automatically handling the execution policy.
echo.
echo ========================================
echo LabLink Client Installation
echo ========================================
echo.
echo Starting installation...
echo.
REM Check if install-client.ps1 exists
if not exist "%~dp0install-client.ps1" (
echo ERROR: install-client.ps1 not found!
echo Please make sure you're running this from the LabLink directory.
echo.
pause
exit /b 1
)
REM Run the PowerShell script with execution policy bypass
powershell -ExecutionPolicy Bypass -File "%~dp0install-client.ps1"
REM Check if installation succeeded
if %ERRORLEVEL% EQU 0 (
echo.
echo ========================================
echo Installation Complete!
echo ========================================
echo.
) else (
echo.
echo ========================================
echo Installation Failed
echo ========================================
echo.
echo Please check the error messages above.
echo.
)
pause