Jump to content

Recommended Posts

Posted

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


Posted

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

Posted

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.

Posted

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

Posted

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

Posted
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

I guess you could post your winnit.sif without serial etc little difficult to analyze without it.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...