i have created the following RunOnceEx.cmd using RunOnceEx.exe
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:\win51ip.SP2 SET CDROM=%%i: SET PP=%cdrom%\Apps\ SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Programs & Updates..." /f REG ADD %KEY%\000 /VE /D "Applying Updates : Active Killbits KB-956391" /f REG ADD %KEY%\000 /V 1 /D "%PP%KB956391.exe /quite /norestart /nobackup /log:"c:\KB956391.log"" /f REG ADD %KEY%\001 /VE /D "Applying Updates : Group Policy Preference Client Side Extensions (KB943729)" /f REG ADD %KEY%\001 /V 1 /D "%PP%KB943729.exe /quite /norestart /nobackup /log:"c:\KB943729.log"" /f REG ADD %KEY%\002 /VE /D "Applying Updates : Security Update for Windows Media Player 6.4 KB925398" /f REG ADD %KEY%\002 /V 1 /D "%PP%KB925398.exe /quite /norestart /nobackup /log:"c:\KB925398.log"" /f REG ADD %KEY%\003 /VE /D "Applying Updates : Windows Mailicious Software Removal Tool KB-890830 v2.6" /f REG ADD %KEY%\003 /V 1 /D "%PP%KB890830.exe /quite /norestart /nobackup /log:"c:\KB890830.log"" /f REG ADD %KEY%\004 /VE /D "7zip 4.65 (2009-02-03)" /f REG ADD %KEY%\004 /V 1 /D "%PP%7zip.msi /qn /norestart /lie+ "c:\install.log"" /f REG ADD %KEY%\005 /VE /D "Adobe Reader 9.0" /f REG ADD %KEY%\005 /V 1 /D "%PP%AdbeRdr90_en_US.exe /sAll /l" /f REG ADD %KEY%\006 /VE /D "VirtualBox 2.1.2" /f REG ADD %KEY%\006 /V 1 /D "%PP%VirtualBox-2.1.2-41885-Win_amd64.msi /qn /norestart /lie+ "c:\install.log"" /f REG ADD %KEY%\007 /VE /D "Windows Media Encoder v10.00.00.3809 Series9" /f REG ADD %KEY%\007 /V 1 /D "%PP%WMEncoder64.exe /Q" /f EXIT
following is my Directory Structure:

and as per the guide i have added the following lines to cmdline.txt under $OEM$
[Commands]
"rundll32 advpack.dll,LaunchINFSection nLite.inf,U"
"RunOnceEx.cmd"
but when i am installing the test cd i am getting the following error:

PLZ! help me understand what i did wrong!



Help
Back to top








