Jump to content

wiiiman

Member
  • Posts

    3
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Belgium

Posts posted by wiiiman

  1. Here the code of my batch_file.cmd:

    CLS

    @echo off

    TITLE Windows XP SP2 - Unattended Installation

    ECHO.

    ECHO Over the next few minutes you will see automated installations

    ECHO of various sofware applications, and registry tweaks being

    ECHO implemented. The computer will restart automatically once the

    ECHO whole process has finished!

    ECHO.

    ECHO Starting installation of Applications (1/3)

    ECHO.

    ECHO Installing Directx 9.c

    ECHO Please wait...

    start /wait %systemdrive%\install\Applications\directx_9c_redist\dxsetup.exe /silent

    ECHO.

    ECHO Installing Satsuki Decoder Pack 2.0.0.6

    ECHO Please wait...

    start /wait %systemdrive%\install\Applications\Satsuki.Decoder.Pack.2.0.0.6.exe /S

    ECHO.

    ECHO Installing Adobe Acrobat Reader 7.0

    ECHO Please wait...

    start /wait %systemdrive%\install\Applications\AdbeRdr70_fra_full.exe /S /v/qn

    ECHO.

    ECHO Installing Office XP Professional with Frontpage

    ECHO Please wait...

    start /wait %systemdrive%\install\Applications\OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-

    ECHO.

    ECHO Starting implementing of registry tweaks (2/3)

    ECHO.

    ECHO Applying Registry Tweaks...

    REGEDIT /S %systemdrive%\install\Reg\2ki10.reg

    REGEDIT /S %systemdrive%\install\Reg\2ki18.reg

    REGEDIT /S %systemdrive%\install\Reg\arret_rapide.reg

    REGEDIT /S %systemdrive%\install\Reg\arret_service.reg

    REGEDIT /S %systemdrive%\install\Reg\booster.reg

    REGEDIT /S %systemdrive%\install\Reg\i1262.reg

    REGEDIT /S %systemdrive%\install\Reg\i165.reg

    REGEDIT /S %systemdrive%\install\Reg\i19.reg

    REGEDIT /S %systemdrive%\install\Reg\i89.reg

    REGEDIT /S %systemdrive%\install\Reg\i652.reg

    REGEDIT /S %systemdrive%\install\Reg\ntfs.reg

    ECHO.

    ECHO Restarting the PC in 1 minute...

    shutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute, this will give enough time for the shortcuts to update and for the shell to fully load before its ready to restart!"

    ECHO.

    Echo Starting deleting of unless files (3/3)

    ECHO.

    ECHO Deleting Temp Installation Files...

    RD /S /Q %systemdrive%\install

    ECHO.

    ECHO Removing useless shortcuts...

    DEL "%systemdrive%\Documents and Settings\All Users\Menu Démarrer\Configurer les programmes par défaut.lnk"

    DEL "%systemdrive%\Documents and Settings\All Users\Menu Démarrer\Catalogue Windows.lnk"

    DEL "%AllUsersProfile%\Bureau\Adobe Reader 7.0.lnk"

    EXIT

    Can you tell me if I didn't make mistakes in my code, especially on the "installation of Applications " part (for the silent parametre)???

    Sorry for my English but I live in Belgium.. And so you understand well why there are some french words in the code like "menu démarrer"!

    Do I have to put a "wait" for each registry tweaks, or can the batch cmd make all of them in the same time??

    If there are mistakes, can you explain me them and correct them!

    Thank you very well!!!! :thumbup

×
×
  • Create New...