Jump to content

RunOnceEx - adding DX9c and IE7 ?

Recommended Posts

Hello folks, due to your guide im almsot completed my Unattended CD, but im stuck to these two components : DirectX 9.0c (redist_Mar2008) and IE7. Also i want to check my RunOnceEx.cmd and my batch.cmd and tell me if i have made

something wrong or if im ok, before closing the CD and make it Bootable.

Before posting i made a search in da forum but i didnt find a solution about DX9c and IE7, i mean from RunOnceEx.

Here is my two files :

RunOnceEX :

cmdow @ /HID
@echo off

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\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\001 /VE /D "Preparing Installation..." /f

REG ADD %KEY%\005 /VE /D "Live Messenger 8" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\Apps\MSN\MsnMsgs.msi /qn" /f

REG ADD %KEY%\010 /VE /D "Windows Media Player 11" /f
REG ADD %KEY%\010 /V 1 /D "%CDROM%\Apps\WMP11\WMP11.exe /q:A /c:\"setup_wm.exe /Q /R:N /DisallowSystemRestore\"" /f

REG ADD %KEY%\015 /VE /D "Windows Defender" /f
REG ADD %KEY%\015 /V 1 /D "%CDROM%\Apps\Defender\WindowsDefender.msi /qn" /f
REG ADD %KEY%\015 /V 2 /D "taskkill /F /IM MSASCui.exe" /f

REG ADD %KEY%\020 /VE /D "Internet Explorer 7" /f
REG ADD %KEY%\020 /V 1 /D "%CDROM%\Apps\IE7\IE7.exe /qn" /f


apps_batch :

@echo off
TITLE Windows XP SP2 - Unattended Installation

ECHO Over the next few minutes you will see automated installations
ECHO of various software applications. The computer will restart
ECHO automatically once the process has finished!

ECHO Installing Applications...

ECHO Installing .NET Framework v1.1
ECHO Please wait...
start /wait %systemdrive%\install\NetFramework1\netfx.msi /qb

ECHO Installing .NET Framework 2.0...
start /wait %Systemdrive%\Install\NeTFramework2\dotnetfx2.exe /q:a /c:"install.exe /q"

ECHO Deleting Temp Installation Files...
RD /S /Q %systemdrive%\install


About IE7 entry in the RunOnce is just an addition, when ill have the complete code ill delete it and add the correct one.

About DX9, i unzip it to a folder and i saw a lot of other .cab files . . . . that confused me a lot.

So that all, if someone give a hand ill be grateful. Cheers :hello:

Link to comment
Share on other sites

Hi, :hello:

For the DirectX End-User Runtimes (March 2008):


I extract the content of the file “directx_mar2008_redist.exe” to folder called “DIRECTX”.

Then I do my command line pointing to the “DXSETUP.exe” inside that folder with this switch:


For IE7 I use this command line:

Windows Internet Explorer 7 for Windows XP


IE7-WindowsXP-x86-enu.exe /quiet /update-no /nobackup /norestart

Good luck,


Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

  • Create New...