Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Problem with RunOnceEx.cmd

- - - - -

  • Please log in to reply
2 replies to this topic

#1
njscorpion

njscorpion
  • Member
  • 8 posts
hi guys i am posting here for the first time the following is my problem:

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:
Posted Image

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:
Posted Image

PLZ! help me understand what i did wrong!


How to remove advertisement from MSFN

#2
njscorpion

njscorpion
  • Member
  • 8 posts
my mistake the file win51ip.SP2 didn't existed

#3
loleta

loleta
  • Member
  • 4 posts
why you dont do from windows
it,s mor god and it esy lik
WindowsServer2003.WindowsXP-KB924667-v2-x64-ENU
and you mak rename lik thes
q924667-v2-x
and type in run
it cam lik thes
q924667-v2-x.exe
and comblt it lik thet
/integrate:C:\W
in coblit lik
q924667-v2-x.exe /integrate:C:\W
w thet wehr the windows you bot
Iam sore for my lang I,am arab
and thet what ido evre taime wthe my windows
ihoop you get it

Edited by cluberti, 26 February 2010 - 06:03 PM.
Don't quote a huge image thread unless absolutely necessary. Also, I'm assuming English isn't your first (or maybe not even second) language, but please try to make it a bit more legible next time if at all possible, and thank you.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN