Beta_cartrigesg_bd Beta v0.12
This commit is contained in:
@@ -5,6 +5,7 @@ cd /d "%~dp0"
|
||||
set "SPEC_FILE=client_agent_v2_windows_onefile.spec"
|
||||
set "CLIENT_EXE=dist\Inv_web Client.exe"
|
||||
set "INSTALLER_SCRIPT=client_agent_v2_installer.iss"
|
||||
set "RUSTDESK_INSTALLER=installer\prerequisites\rustdesk.exe"
|
||||
set "ISCC=%ProgramFiles(x86)%\Inno Setup 6\ISCC.exe"
|
||||
|
||||
if not exist "%SPEC_FILE%" (
|
||||
@@ -17,6 +18,19 @@ if not exist "%INSTALLER_SCRIPT%" (
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist "%RUSTDESK_INSTALLER%" (
|
||||
echo.
|
||||
echo ERROR: RustDesk installer was not found.
|
||||
echo Download the Windows x64 RustDesk installer, rename it to rustdesk.exe and place it here:
|
||||
echo %~dp0%RUSTDESK_INSTALLER%
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist "installer\configure_rustdesk.ps1" (
|
||||
echo RustDesk configuration script not found: installer\configure_rustdesk.ps1
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
if not exist "%ISCC%" set "ISCC=%ProgramFiles%\Inno Setup 6\ISCC.exe"
|
||||
if not exist "%ISCC%" set "ISCC=%LocalAppData%\Programs\Inno Setup 6\ISCC.exe"
|
||||
if not exist "%ISCC%" for /f "delims=" %%I in ('where ISCC.exe 2^>nul') do set "ISCC=%%I"
|
||||
|
||||
Reference in New Issue
Block a user