MSFN Forum: Problem with RunOnceEx.cmd - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Problem with RunOnceEx.cmd Rate Topic: -----

#1 User is offline   njscorpion 

  • Group: Members
  • Posts: 8
  • Joined: 05-February 09

Posted 06 February 2009 - 02:43 AM

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!


#2 User is offline   njscorpion 

  • Group: Members
  • Posts: 8
  • Joined: 05-February 09

Posted 10 February 2009 - 09:41 PM

my mistake the file win51ip.SP2 didn't existed

#3 User is offline   loleta 

  • Group: Members
  • Posts: 4
  • Joined: 20-August 09

Posted 26 February 2010 - 09:09 AM

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

This post has been edited by cluberti: 26 February 2010 - 06:03 PM
Reason for edit: 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.


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy