pushd %~dp0
set sd=%~dp0

if %SystemDrive% EQU X: (%windir%\System32\reg.exe add "HKCU\Software\Policies\Microsoft\Windows NT\Driver Signing" /v BehaviorOnFailedVerify /t reg_dword /d 00000000 /f)
if %SystemDrive% EQU X: (%windir%\System32\reg.exe add HKLM\SYSTEM\Setup /v SystemSetupInProgress /t REG_DWORD /d 1 /f)

if exist "%systemdrive%\windows\syswow64\" (
start /b /w SDI64.exe -log_dir:"%Temp%" -hintdelay:500 -filters:38 -lang:Korean -theme:"lite" -nosnapshot -norestorepnt -novirusalerts -license -autoinstall -autoclose %2 %3 %4 %5 %6
) else (
start /b /w SDI32.exe -log_dir:"%Temp%" -hintdelay:500 -filters:38 -lang:Korean -theme:"lite" -nosnapshot -norestorepnt -novirusalerts -license -autoinstall -autoclose %2 %3 %4 %5 %6
)
