هذه بيانات ملف setupComplete
@ECHO OFF
pushd "%~dp0"
start /wait KMSpico_setup.exe /verysilent
regedit /s RunOnce.reg
dp0"RunOnceEx.cmd"
timeout /t 120
shutdown -r -t 0
popd
exit
و هذا ملف RunOnceEx
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "WinRaR" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\w_WinRAR_AIO_5.5b-4fr.exe" /f
REG ADD %KEY%\002 /VE /D "VLC" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\VLC_Media_Player_3.0.0.Build.20 170827.exe" /s
REG ADD %KEY%\003 /VE /D "Mozilla" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\Software\Mozilla_Firefox_54.0.1 _fr.exe -ms" /f
REG ADD %KEY%\004 /VE /D "Google Chrome"
REG ADD %KEY%\004 /V 1 /D "%CDROM%\Software\Google.Chrome.61.0.316 3.100.Silent.Install.exe /s
REG ADD %KEY%\005 /VE /D "Adobe Reader" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\AdbeRdr11022_fr_FR.S.e xe /rs /sAll" /f
REG ADD %KEY%\006 /VE /D "Skype" /f
REG ADD %KEY%\006 /V 1 /D "%CDROM%\Software\Skype 7.40.0.103.exe /VERYSILENT /SP
REG ADD %KEY%\007 /VE /D "TeraCopy.Pro.3.21"
REG ADD %KEY%\007 /V 1 /D "%CDROM%\Software\TeraCopy.Pro.3.21. exe /silent
EXIT
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "WinRaR" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\w_WinRAR_AIO_5.5b-4fr.exe" /f
REG ADD %KEY%\002 /VE /D "VLC" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\VLC_Media_Player_3.0.0.Build.20 170827.exe" /s
REG ADD %KEY%\003 /VE /D "Mozilla" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\Software\Mozilla_Firefox_54.0.1 _fr.exe -ms" /f
REG ADD %KEY%\004 /VE /D "Google Chrome"
REG ADD %KEY%\004 /V 1 /D "%CDROM%\Software\Google.Chrome.61.0.316 3.100.Silent.Install.exe /s
REG ADD %KEY%\005 /VE /D "Adobe Reader" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\AdbeRdr11022_fr_FR.S.e xe /rs /sAll" /f
REG ADD %KEY%\006 /VE /D "Skype" /f
REG ADD %KEY%\006 /V 1 /D "%CDROM%\Software\Skype 7.40.0.103.exe /VERYSILENT /SP
REG ADD %KEY%\007 /VE /D "TeraCopy.Pro.3.21"
REG ADD %KEY%\007 /V 1 /D "%CDROM%\Software\TeraCopy.Pro.3.21. exe /silent
EXIT
المرجو المساعدة
@ECHO OFF
pushd "%~dp0"
start /wait KMSpico_setup.exe /verysilent
regedit /s RunOnce.reg
dp0"RunOnceEx.cmd"
timeout /t 120
shutdown -r -t 0
popd
exit
و هذا ملف RunOnceEx
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "WinRaR" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\w_WinRAR_AIO_5.5b-4fr.exe" /f
REG ADD %KEY%\002 /VE /D "VLC" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\VLC_Media_Player_3.0.0.Build.20 170827.exe" /s
REG ADD %KEY%\003 /VE /D "Mozilla" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\Software\Mozilla_Firefox_54.0.1 _fr.exe -ms" /f
REG ADD %KEY%\004 /VE /D "Google Chrome"
REG ADD %KEY%\004 /V 1 /D "%CDROM%\Software\Google.Chrome.61.0.316 3.100.Silent.Install.exe /s
REG ADD %KEY%\005 /VE /D "Adobe Reader" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\AdbeRdr11022_fr_FR.S.e xe /rs /sAll" /f
REG ADD %KEY%\006 /VE /D "Skype" /f
REG ADD %KEY%\006 /V 1 /D "%CDROM%\Software\Skype 7.40.0.103.exe /VERYSILENT /SP
REG ADD %KEY%\007 /VE /D "TeraCopy.Pro.3.21"
REG ADD %KEY%\007 /V 1 /D "%CDROM%\Software\TeraCopy.Pro.3.21. exe /silent
EXIT
FOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\Curr entVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "WinRaR" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\Software\w_WinRAR_AIO_5.5b-4fr.exe" /f
REG ADD %KEY%\002 /VE /D "VLC" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\VLC_Media_Player_3.0.0.Build.20 170827.exe" /s
REG ADD %KEY%\003 /VE /D "Mozilla" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\Software\Mozilla_Firefox_54.0.1 _fr.exe -ms" /f
REG ADD %KEY%\004 /VE /D "Google Chrome"
REG ADD %KEY%\004 /V 1 /D "%CDROM%\Software\Google.Chrome.61.0.316 3.100.Silent.Install.exe /s
REG ADD %KEY%\005 /VE /D "Adobe Reader" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Software\AdbeRdr11022_fr_FR.S.e xe /rs /sAll" /f
REG ADD %KEY%\006 /VE /D "Skype" /f
REG ADD %KEY%\006 /V 1 /D "%CDROM%\Software\Skype 7.40.0.103.exe /VERYSILENT /SP
REG ADD %KEY%\007 /VE /D "TeraCopy.Pro.3.21"
REG ADD %KEY%\007 /V 1 /D "%CDROM%\Software\TeraCopy.Pro.3.21. exe /silent
EXIT
المرجو المساعدة