10-16-2010, 11:56 PM
regedit /s %systemroot%\system32\ciccio.reg
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:\sources\install.wim SET CDROM=%%i:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\1 /VE /D "7-zip" /f
REG ADD %KEY%\1 /V 1 /D "%CDROM%\Software\7z915.sfx.exe" /f
REG ADD %KEY%\2 /VE /D "Adobe Reader" /f
REG ADD %KEY%\2 /V 1 /D "%CDROM%\Software\AdbeRdr940_it_IT.sfx.exe" /f
REG ADD %KEY%\3 /VE /D "driver genius" /f
REG ADD %KEY%\3 /V 1 /D "%CDROM%\Software\drvgenpro.sfx.exe" /f
REG ADD %KEY%\4 /VE /D "Updating DirectX" /f
REG ADD %KEY%\4 /V 1 /D "%CDROM%\Software\DX.exe" /f
REG ADD %KEY%\5 /VE /D "Everest" /f
REG ADD %KEY%\5 /V 1 /D "%CDROM%\Software\Everest.exe" /f
REG ADD %KEY%\6 /VE /D "Adobe Flash Player plugin" /f
REG ADD %KEY%\6 /V 1 /D "%CDROM%\Software\FFF.exe" /f
REG ADD %KEY%\7 /VE /D "Firefox 3.6" /f
REG ADD %KEY%\7 /V 1 /D "%CDROM%\Software\Firefox_3.6_Mod.sfx.exe" /f
REG ADD %KEY%\8 /VE /D "Icofx" /f
REG ADD %KEY%\8 /V 1 /D "%CDROM%\Software\icofxsetup.sfx.exe" /f
REG ADD %KEY%\9 /VE /D "ImgBurn" /f
REG ADD %KEY%\9 /V 1 /D "%CDROM%\Software\image burn.exe" /f
REG ADD %KEY%\10 /VE /D "Jdownloader" /f
REG ADD %KEY%\10 /V 1 /D "%CDROM%\JDownloader_WIN_Setup.sfx.exe" /f
REG ADD %KEY%\11 /VE /D "Java Runtime Environment" /f
REG ADD %KEY%\11 /V 1 /D "%CDROM%\Software\jre-6u21.sfx.exe" /f
REG ADD %KEY%\12 /VE /D "K-lite Codec Pack" /f
REG ADD %KEY%\12 /V 1 /D "%CDROM%\Software\K-Lite_Codec_Pack_520_Mega.sfx.exe" /f
REG ADD %KEY%\13 /VE /D "Mictosoft Office 2007" /f
REG ADD %KEY%\13 /V 1 /D "%CDROM%\Software\office2007.exe" /f
REG ADD %KEY%\14 /VE /D "Microsoft Silverlight" /f
REG ADD %KEY%\14 /V 1 /D "%CDROM%\Software\Silverlight.sfx.exe" /f
REG ADD %KEY%\15 /VE /D "schowaw plugin" /f
REG ADD %KEY%\15 /V 1 /D "%CDROM%\Software\sw_lic_slim_installer.sfx.exe" /f
REG ADD %KEY%\16 /VE /D "temi winrar" /f
REG ADD %KEY%\16 /V 1 /D "%CDROM%\Software\temi winrear.exe" /f
REG ADD %KEY%\17 /VE /D "vaccini" /f
REG ADD %KEY%\17 /V 1 /D "%CDROM%\Software\Vaccini.exe" /f
REG ADD %KEY%\18 /VE /D "Strumento di rimozione malware" /f
REG ADD %KEY%\18 /V 1 /D "%CDROM%\Software\windows-kb890830-v3.11.sfx.exe" /f
REG ADD %KEY%\19 /VE /D "Winrar" /f
REG ADD %KEY%\19 /V 1 /D "%CDROM%\Software\Winrar.exe" /f
REG ADD %KEY%\20 /VE /D "Windows Live" /f
REG ADD %KEY%\20 /V 1 /D "%CDROM%\Software\wlsetup-all.sfx.exe" /f
EXIT
innanzitutto grazie di tutto volevo dirle se cosi va bene......ma cosi posso anche aggiungere aggiornamenti msu?
un'altra cosa se non disturbo devo creare anche Autounattend.xml nella directory principale dell'iso?grazie e scusatemi tanto
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:\sources\install.wim SET CDROM=%%i:
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\1 /VE /D "7-zip" /f
REG ADD %KEY%\1 /V 1 /D "%CDROM%\Software\7z915.sfx.exe" /f
REG ADD %KEY%\2 /VE /D "Adobe Reader" /f
REG ADD %KEY%\2 /V 1 /D "%CDROM%\Software\AdbeRdr940_it_IT.sfx.exe" /f
REG ADD %KEY%\3 /VE /D "driver genius" /f
REG ADD %KEY%\3 /V 1 /D "%CDROM%\Software\drvgenpro.sfx.exe" /f
REG ADD %KEY%\4 /VE /D "Updating DirectX" /f
REG ADD %KEY%\4 /V 1 /D "%CDROM%\Software\DX.exe" /f
REG ADD %KEY%\5 /VE /D "Everest" /f
REG ADD %KEY%\5 /V 1 /D "%CDROM%\Software\Everest.exe" /f
REG ADD %KEY%\6 /VE /D "Adobe Flash Player plugin" /f
REG ADD %KEY%\6 /V 1 /D "%CDROM%\Software\FFF.exe" /f
REG ADD %KEY%\7 /VE /D "Firefox 3.6" /f
REG ADD %KEY%\7 /V 1 /D "%CDROM%\Software\Firefox_3.6_Mod.sfx.exe" /f
REG ADD %KEY%\8 /VE /D "Icofx" /f
REG ADD %KEY%\8 /V 1 /D "%CDROM%\Software\icofxsetup.sfx.exe" /f
REG ADD %KEY%\9 /VE /D "ImgBurn" /f
REG ADD %KEY%\9 /V 1 /D "%CDROM%\Software\image burn.exe" /f
REG ADD %KEY%\10 /VE /D "Jdownloader" /f
REG ADD %KEY%\10 /V 1 /D "%CDROM%\JDownloader_WIN_Setup.sfx.exe" /f
REG ADD %KEY%\11 /VE /D "Java Runtime Environment" /f
REG ADD %KEY%\11 /V 1 /D "%CDROM%\Software\jre-6u21.sfx.exe" /f
REG ADD %KEY%\12 /VE /D "K-lite Codec Pack" /f
REG ADD %KEY%\12 /V 1 /D "%CDROM%\Software\K-Lite_Codec_Pack_520_Mega.sfx.exe" /f
REG ADD %KEY%\13 /VE /D "Mictosoft Office 2007" /f
REG ADD %KEY%\13 /V 1 /D "%CDROM%\Software\office2007.exe" /f
REG ADD %KEY%\14 /VE /D "Microsoft Silverlight" /f
REG ADD %KEY%\14 /V 1 /D "%CDROM%\Software\Silverlight.sfx.exe" /f
REG ADD %KEY%\15 /VE /D "schowaw plugin" /f
REG ADD %KEY%\15 /V 1 /D "%CDROM%\Software\sw_lic_slim_installer.sfx.exe" /f
REG ADD %KEY%\16 /VE /D "temi winrar" /f
REG ADD %KEY%\16 /V 1 /D "%CDROM%\Software\temi winrear.exe" /f
REG ADD %KEY%\17 /VE /D "vaccini" /f
REG ADD %KEY%\17 /V 1 /D "%CDROM%\Software\Vaccini.exe" /f
REG ADD %KEY%\18 /VE /D "Strumento di rimozione malware" /f
REG ADD %KEY%\18 /V 1 /D "%CDROM%\Software\windows-kb890830-v3.11.sfx.exe" /f
REG ADD %KEY%\19 /VE /D "Winrar" /f
REG ADD %KEY%\19 /V 1 /D "%CDROM%\Software\Winrar.exe" /f
REG ADD %KEY%\20 /VE /D "Windows Live" /f
REG ADD %KEY%\20 /V 1 /D "%CDROM%\Software\wlsetup-all.sfx.exe" /f
EXIT
innanzitutto grazie di tutto volevo dirle se cosi va bene......ma cosi posso anche aggiungere aggiornamenti msu?
un'altra cosa se non disturbo devo creare anche Autounattend.xml nella directory principale dell'iso?grazie e scusatemi tanto