redserpent Posted February 28, 2005 Share Posted February 28, 2005 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\DriversK:\XPUnattendCorp\$OEM$\$1\InstallAppsIf 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 OffFOR %%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\RunOnceExREG ADD %KEY% /V TITLE /D "Unattended Program Installation" /fREG ADD %KEY%\009 /VE /D "GetRight" /fREG ADD %KEY%\009 /V 1 /D "%PP%GetRight.exe /S" /fREG ADD %KEY%\009 /V 2 /D "taskkill /IM getright.EXE /F" /fREG ADD %KEY%\019 /VE /D "WinRAR 3.42" /fREG ADD %KEY%\019 /V 1 /D "%PP%winrar.exe /s" /fREG ADD %KEY%\024 /VE /D "Google Toolbar" /fREG ADD %KEY%\024 /V 1 /D "%PP%GoogleToolbarInst3.exe /s /qn" /fEXIT Link to comment Share on other sites More sharing options...
bonedaddy Posted February 28, 2005 Share Posted February 28, 2005 Well if you want to install from the cd as you have indicated you willneed to move installapps to the root of the cd and not under $1, thatsmy guess..........BD Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted February 28, 2005 Share Posted February 28, 2005 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. Link to comment Share on other sites More sharing options...
keytotime Posted February 28, 2005 Share Posted February 28, 2005 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 OffFOR %%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=%%dSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY%\000 /VE /D "Adobe Reader 7" /fREG ADD %KEY%\000 /V 1 /D "%CDROM%\Apps\acroread7.exe" /fREG ADD %KEY%\000 /V 2 /D "REGEDIT /S %CDROM%\Apps\1.reg" /f Link to comment Share on other sites More sharing options...
redserpent Posted February 28, 2005 Author Share Posted February 28, 2005 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\DriversK:\XPUnattendCorp\$OEM$\$1\InstallApps Link to comment Share on other sites More sharing options...
MAVERICKS CHOICE Posted February 28, 2005 Share Posted February 28, 2005 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\DriversK:\XPUnattendCorp\$OEM$\$1\InstallApps<{POST_SNAPBACK}>I guess you could post your winnit.sif without serial etc little difficult to analyze without it. Link to comment Share on other sites More sharing options...
EdwardQ Posted March 1, 2005 Share Posted March 1, 2005 I think the $OEM$ is suppose to be under i386. Link to comment Share on other sites More sharing options...
FeTT! Posted March 1, 2005 Share Posted March 1, 2005 Hi RedserpentThis is the first thing to do before posting http://unattended.msfn.org/global/oemfolders.htmhmmmm, why did you call %cdrom% when you are supposed to call it from %systemdrive%.. ( you dont wanna de apps on your HD?)Good luck! Link to comment Share on other sites More sharing options...
Alanoll Posted March 1, 2005 Share Posted March 1, 2005 OEMPreInstall=YESHave that in your WINNT.SIF.And read THIS if you read nother else : http://www.msfn.org/board/index.php?showto...ndpost&p=270687Second, 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 CDROmSET 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now