@REM --- After you purchase a COZYROC SSIS+ license, please replace TRIAL with your Licensee Identifier --- set LICENSEE=TRIAL set DAT_FILE="C:\Program Files (x86)\CozyRoc\SSIS\License.dat" msiexec /i SSISPlus-x64.msi /quiet /l %CUSTOM_SETUP_SCRIPT_LOG_DIR%install.log "C:\Program Files (x86)\CozyRoc\SSIS\License.exe" /azure /v /u %LICENSEE% /d /l "%CUSTOM_SETUP_SCRIPT_LOG_DIR%license.log" if %ERRORLEVEL% equ 0 ( copy %DAT_FILE% "%CUSTOM_SETUP_SCRIPT_LOG_DIR%License.dat" @REM --- NOTE: after a successful license file retrieval, License.dat needs to be manually copied from the corresponding log folder to the root of the container --- ) else ( if exist "License.dat" ( if not exist %DAT_FILE% ( copy "License.dat" %DAT_FILE% /v ) ) ) REM --- Raise an error if the License.dat file STILL does not exist --- if not exist %DAT_FILE% ( echo ERROR: Failed to license COZYROC SSIS+. License.dat not found! exit /b 1 )