기타자료
[기타] InstallShield Build.bat
딸기우유중독
2025. 1. 16. 13:22
InstallShield 빌드 배치파일 만들기
# CMD 명령
아래 위치한 폴더(파일들) 필요.
C:\Program Files (x86)\InstallShield\2019
C:\Program Files (x86)\InstallShield\2019\System\ISCmdbld.exe
ISCmdbld.exe 실행파일 통해서 빌드.
여러가지 옵션들이 있음 아래 InstallShield 레퍼런스 참고
간단하게 이미 정의한 .ism 프로젝트 파일의 release 설정을 실행하고 싶다면
ISCmdbld.exe 프로젝트이름.ism
실행하면 기 정의한 Release 실행
# 배치파일
LSIS bat
@echo off
set ISCMDBLD_PATH=".\2019\System\ISCmdBld.exe"
if not exist %ISCMDBLD_PATH% (
echo InstallShield command line tool ISCmdBld.exe not found.
pause
exit /b 1
)
if "%~1"=="" (
echo Usage: build.bat [path_to_project_file]
echo Example: build.bat "C:\Path\To\YourProject\DSMClient_x64.ism"
pause
exit /b 1
)
set PROJECT_FILE=%~1
if not exist %PROJECT_FILE% (
echo Project file not found: %PROJECT_FILE%
pause
exit /b 1
)
echo Building InstallShield project...
%ISCMDBLD_PATH% -p %PROJECT_FILE%
if errorlevel 1 (
echo Build failed.
pause
exit /b 1
)
echo Build succeeded.
//pause
exit /b 0
https://community.revenera.com/s/article/building-a-release-from-the-command-line
Building a Release from the Command Line
SummaryThis article provides information regarding how to build a release from the command line using ISCmdBld.exe.SynopsisIt is possible to build a release from the command line using ISCmdBld.exe, which can be found in the InstallShield folder?s System s
community.revenera.com
728x90