This is my file, but Ive removed a few of the programs that have serials.
The problem is my Drivers & InstallApps dont work.
My paths are:
K:\XPUnattendCorp\$OEM$\$1\Drivers
K:\XPUnattendCorp\$OEM$\$1\InstallApps
If I moved the InstallApps to the root of the CDRom drive it works.
Any ideas, whats wrong?
I thought the $1 copied stuff to the hard disk but its not working (Im using VMWare).
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%\InstallApps\
SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx
REG ADD %KEY% /V TITLE /D "Unattended Program Installation" /f
REG ADD %KEY%\009 /VE /D "GetRight" /f
REG ADD %KEY%\009 /V 1 /D "%PP%GetRight.exe /S" /f
REG ADD %KEY%\009 /V 2 /D "taskkill /IM getright.EXE /F" /f
REG ADD %KEY%\019 /VE /D "WinRAR 3.42" /f
REG ADD %KEY%\019 /V 1 /D "%PP%winrar.exe /s" /f
REG ADD %KEY%\024 /VE /D "Google Toolbar" /f
REG ADD %KEY%\024 /V 1 /D "%PP%GoogleToolbarInst3.exe /s /qn" /f
EXIT
Page 1 of 1
Newbie Needs Help With Runonceex.cmd
#2
Posted 27 February 2005 - 07:38 PM
Well if you want to install from the cd as you have indicated you will
need to move installapps to the root of the cd and not under $1, thats
my guess..........
BD
need to move installapps to the root of the cd and not under $1, thats
my guess..........
BD
#3
Posted 27 February 2005 - 07:56 PM
You need to follow the unattended guide to the letter, found off the home page here. If your new to UA installs please conquer the batch file method then move onto RunonceEx & CD method from there. Best advice I can give ya & don't expect to happen in five minutes mines taken nearly 18 Months to conquer. Good luck.
#4
Posted 27 February 2005 - 08:06 PM
You should have a folder called InstallApps in your cd root. Try to keep it more standard. Here's mine. I have a folder called Apps in the root of my cd.
cmdow @ /HID @Echo Off FOR %%d IN (c: 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 %%d\WIN51 SET CDROM=%%d SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY%\000 /VE /D "Adobe Reader 7" /f REG ADD %KEY%\000 /V 1 /D "%CDROM%\Apps\acroread7.exe" /f REG ADD %KEY%\000 /V 2 /D "REGEDIT /S %CDROM%\Apps\1.reg" /f
#5
Posted 28 February 2005 - 07:20 AM
Thanks for your help guys.
But why isn't the $1 stuff working, correct me if im wrong but I thought it copys that directory over to the hard disk ?
K:\XPUnattendCorp\$OEM$\$1\Drivers
K:\XPUnattendCorp\$OEM$\$1\InstallApps
But why isn't the $1 stuff working, correct me if im wrong but I thought it copys that directory over to the hard disk ?
K:\XPUnattendCorp\$OEM$\$1\Drivers
K:\XPUnattendCorp\$OEM$\$1\InstallApps
#6
Posted 28 February 2005 - 12:12 PM
redserpent, on Mar 1 2005, 12:20 AM, said:
Thanks for your help guys.
But why isn't the $1 stuff working, correct me if im wrong but I thought it copys that directory over to the hard disk ?
K:\XPUnattendCorp\$OEM$\$1\Drivers
K:\XPUnattendCorp\$OEM$\$1\InstallApps
<{POST_SNAPBACK}>
But why isn't the $1 stuff working, correct me if im wrong but I thought it copys that directory over to the hard disk ?
K:\XPUnattendCorp\$OEM$\$1\Drivers
K:\XPUnattendCorp\$OEM$\$1\InstallApps
<{POST_SNAPBACK}>
I guess you could post your winnit.sif without serial etc little difficult to analyze without it.
#8
Posted 28 February 2005 - 10:48 PM
Hi Redserpent
This is the first thing to do before posting
http://unattended.ms.../oemfolders.htm
hmmmm, why did you call %cdrom% when you are supposed to call it from %systemdrive%.. ( you dont wanna de apps on your HD?)
Good luck!
This is the first thing to do before posting
http://unattended.ms.../oemfolders.htm
hmmmm, why did you call %cdrom% when you are supposed to call it from %systemdrive%.. ( you dont wanna de apps on your HD?)
Good luck!
#9
Posted 01 March 2005 - 10:33 AM
OEMPreInstall=YES
Have that in your WINNT.SIF.
And read THIS if you read nother else : http://www.msfn.org/board/index.php?showto...ndpost&p=270687
Second, you're batch file is set to install from the CDROM, not HDD. That's why when moving InstallApps to the root of the CD, it work.
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:
Finds the CDROm
SET PP=%cdrom%\InstallApps\
If you don't know what that is, then don't use it.
And $OEM$ should go in the I386 folder ONLY when installing from a network share or similar. From CD installs, it goes along side the I386 folder.
- ← Office Xp Problem With Saving New Files
- Unattended Windows 2000/XP/2003
- OEM Version with Sysprep →
Share this topic:
Page 1 of 1



Help
Back to top









