I'm not sure whether this is the correct channel or not for me to get some assistance on scripting. I am planning to deploy one application through SCCM namely SmartPSS 2.02.1, but unsuccessful. After deployed to several machine, it seems that upon launching the application, the language suddenly changed to Korean.
Whenever proceed with the manual installation, it doesn't have any issue, it came with English UI. Thus, i've deviced to deploy this application using windows batch script which i have done like this,
@echo off
REM==========================================
REM Install SmartPSS 2.02.1
REM==========================================
REM .
REM Script Details:
REM --------------
REM This script will:
REM + silently install SmartPSS 2.02.1
REM + Deletes desktop icon
REM .
REM===========================================
rem echo Installing SmartPSS 2.02.1 - Please Wait.
rem echo Window will close after install is complete
@ECHO off
start /wait "%~dp0DH_SmartPSS_International_Win32_IS_V2.02.1.R.180619.exe" /SILENT
goto customisation
:customisation
REM Copy BackupConfFiles to Program directory
if exist "%ProgramFiles(x86)%\Smart Professional Surveillance System\" copy /Y "%~dp0device.xml" "%ProgramFiles(x86)%\Smart Professional Surveillance System\SmartPSS\BackupCfgFiles\"
if exist "%ProgramFiles(x86)%\Smart Professional Surveillance System\" copy /Y "%~dp0Plugin.xml" "%ProgramFiles(x86)%\Smart Professional Surveillance System\SmartPSS\BackupCfgFiles\"
if exist "%ProgramFiles(x86)%\Smart Professional Surveillance System\" copy /Y "%~dp0SmartPSS-backupFeb2020.pssdata" "%ProgramFiles(x86)%\Smart Professional Surveillance System\SmartPSS\BackupCfgFiles\"
REM Removes SmartPSS Desktop Icon - Windows 7, 8, 10
if exist "%public%\Desktop\SmartPSS.Ink" del /f "%public%\Desktop\SmartPSS.Ink"
if exist "%public%\Desktop\PC-NVR.lnk" del /f "%public%\Desktop\PC-NVR.lnk"
REM
if exist "%allusersprofile%\desktop\SmartPSS.Ink" del /f "%allusersprofile%\desktop\SmartPSS.Ink" /s
if exist "%allusersprofile%\desktop\PC-NVR.lnk" del /f "%allusersprofile%\desktop\PC-NVR.lnk"
goto end
REM
:end
EXIT
I am not very sure which one is wrong, every single time deploy to test machine, it will failed. Kindly need your guys assistance, ASAP.



Much appreciated with the help!