[Help] RunOnceEx.cmd

Forum for anything else which doesn't fit in the above forums. Site feedback, random talk, whatever, are welcome.
Post Reply
avneet25
Posts: 529
Joined: Mon Nov 14, 2005 12:25 am
Location: Fiji Islands
Contact:

[Help] RunOnceEx.cmd

Post by avneet25 » Tue Mar 14, 2006 4:50 pm

hi am trying to use the RunOnceEx.cmd.but i dont want to creat the OEM folders. I tink I need to put the RunOnceEx.cmd in the $OEM$ folder so that it gets copied to the drive.. But i use floppies for sum of my sata/raid drivers so i cant use the $OEM$ folder..

is theer anyway to call the RunOnceEx.cmd from the cd rom

the contents of my RunOnceEx.cmd is given below

Code: Select all

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" /f

REG ADD %KEY%\000 /VE /D "Open Office 2.2" /f
REG ADD %KEY%\000 /V 1 /D "%PP%OpenOffice.exe" /f

REG ADD %KEY%\001 /VE /D "Ava Find" /f
REG ADD %KEY%\001 /V 1 /D "%PP%AvaFind.exe" /f

REG ADD %KEY%\002 /VE /D "BurnOn CD/DVD" /f
REG ADD %KEY%\002 /V 1 /D "%PP%BurnOnCDDVD.exe" /f

REG ADD %KEY%\003 /VE /D "IS Script" /f
REG ADD %KEY%\003 /V 1 /D "%PP%ISScript.exe" /f

REG ADD %KEY%\004 /VE /D "Opera 8.52" /f
REG ADD %KEY%\004 /V 1 /D "%PP%opera.exe" /f

REG ADD %KEY%\005 /VE /D "MS AntiSpyware Beta 1" /f
REG ADD %KEY%\005 /V 1 /D "%PP%MSASpyware.exe" /f

REG ADD %KEY%\006 /VE /D "Infran View" /f
REG ADD %KEY%\006 /V 1 /D "%PP%irfanview.exe" /f

REG ADD %KEY%\007 /VE /D "PS PAD" /f
REG ADD %KEY%\007 /V 1 /D "%PP%PSPad450.exe" /f

REG ADD %KEY%\008 /VE /D "Photo Filter" /f
REG ADD %KEY%\008 /V 1 /D "%PP%PhotFilt.exe" /f

REG ADD %KEY%\009 /VE /D "NVU Web Editer" /f
REG ADD %KEY%\009 /V 1 /D "%PP%NVU.exe" /f

REG ADD %KEY%\010 /VE /D "7-Zip 4.36 Beta" /f
REG ADD %KEY%\010 /V 1 /D "%PP%7z431.exe / s" /f

REG ADD %KEY%\011 /VE /D "Winrar 3.51" /f
REG ADD %KEY%\011 /V 1 /D "%PP%wrar351.exe /s" /f

REG ADD %KEY%\012 /VE /D "ISO Recorder" /f
REG ADD %KEY%\012 /V 1 /D "%PP%ISORecorderV2RC1.msi /qn" /f

REG ADD %KEY%\013 /VE /D "TweakNow PowerPack 1.1.2" /f
REG ADD %KEY%\013 /V 1 /D "%PP%tweak.exe /VERYSILENT /SP-" /f

REG ADD %KEY%\014 /VE /D "Spyware Blaster 3.51" /f
REG ADD %KEY%\014 /V 1 /D "%PP%SpywareBlaster.msi /qn" /f

EXIT

User avatar
Siginet
Site Admin
Posts: 2894
Joined: Fri May 27, 2005 1:07 pm
Location: Planet Earth
Contact:

Post by Siginet » Tue Mar 14, 2006 4:58 pm

Actually the $OEM$ dir doesn't get copied to the drive. The $1 and $$ dirs do... and a few others.

But you should be ok with what you have.

Use cmdlines.txt to run RunOnceEx.cmd. Then it will stay on the disk.
Image
--Siginet--

Techware
Your Virtual Technician
Computer Management Software

avneet25
Posts: 529
Joined: Mon Nov 14, 2005 12:25 am
Location: Fiji Islands
Contact:

Post by avneet25 » Tue Mar 14, 2006 5:10 pm

so if i use cmdlines.txt to run RunOnceEx.cmd. wud i still be able to use floppies for my drivers during setup (wheer it says press F6 )

avneet25
Posts: 529
Joined: Mon Nov 14, 2005 12:25 am
Location: Fiji Islands
Contact:

Post by avneet25 » Tue Mar 14, 2006 7:13 pm

sweeet... i just found another way.. just put that RunOnceEx.cmd in the svcpack folder and edit the svcpack.in_ file.

so no need to create the $OEM$ folders..i guess i can live wit that

Post Reply