Jump to content

Cannot Find C:\install\batch.cmd


Recommended Posts

This is what I have in my winnt.sif file:

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

%systemdrive%\install\applications.cmd

when it is installing it tells me it cannot find the batch files, but it is looking on c:\.

How do I get it to look for the cd drive?

Link to comment
Share on other sites


If you've placed all your files in the $OEM$\$1 directory, then they get copied to the root of the windows drive automatically.

For example: $OEM$\$1\Cats\cats.bat

will be come: C:\Cats\cats.bat

Just check to make sure you've got your files in that $OEM$\$1 directory.

Link to comment
Share on other sites

they dont get copied to C:\ you say?

Everything else works though?

Is your winnt.sif file in your I386 directory?

To make thing easier, can you please post the contents of your winnt.sif file. I have a feeling there's a problem in there :)

Link to comment
Share on other sites

Yes I have D:\i386 and D:\$OEM$.

Here is my winnt.sif:

;SetupMgrTag

[Data]

AutoPartition=1

MsDosInitiated="0"

UnattendedInstall="Yes"

[unattended]

UnattendMode=FullUnattended

OemSkipEula=Yes

OemPreinstall=No

TargetPath=\WINDOWS

OemPreinstall=Yes

UnattendSwitch="no"

[GuiUnattended]

AdminPassword=removed

EncryptedAdminPassword=Yes

OEMSkipRegional=1

TimeZone=35

OemSkipWelcome=1

[userData]

ProductKey=removed

FullName="removed"

OrgName=""

ComputerName=hal

[TapiLocation]

CountryCode=1

Dialing=Pulse

AreaCode=513

[RegionalSettings]

LanguageGroup=1

Language=00000409

[identification]

JoinWorkgroup=WORKGROUP

[Networking]

InstallDefaultComponents=Yes

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

%systemdrive%\install\applications.cmd

Link to comment
Share on other sites

Yes I have D:\i386 and D:\$OEM$.

Here is my winnt.sif:

;SetupMgrTag

[Data]

    AutoPartition=1

    MsDosInitiated="0"

    UnattendedInstall="Yes"

[unattended]

    UnattendMode=FullUnattended

    OemSkipEula=Yes

    OemPreinstall=No

    TargetPath=\WINDOWS

    OemPreinstall=Yes

    UnattendSwitch="no"

[GuiUnattended]

    AdminPassword=removed

    EncryptedAdminPassword=Yes

    OEMSkipRegional=1

    TimeZone=35

    OemSkipWelcome=1

[userData]

    ProductKey=removed

    FullName="removed"

    OrgName=""

    ComputerName=hal

[TapiLocation]

    CountryCode=1

    Dialing=Pulse

    AreaCode=513

[RegionalSettings]

    LanguageGroup=1

    Language=00000409

[identification]

    JoinWorkgroup=WORKGROUP

[Networking]

    InstallDefaultComponents=Yes

[GuiRunOnce]

%systemdrive%\install\main_batch.cmd

%systemdrive%\install\applications.cmd

I have the same probem. The cause of it is when the CD image is created and when the files are being copies (i.e Roxio CD Creator 6), the folder $OEM$ gets renamed to _OEM_. The message is that it is to keep with the file naming format specified when creating the bootable CD. I have the same problem, so if someone could enlighten me it would be very helpful. TYIA

Link to comment
Share on other sites

Yes I have D:\i386 and D:\$OEM$.

[unattended]

    UnattendMode=FullUnattended

    OemSkipEula=Yes

    OemPreinstall=No

    TargetPath=\WINDOWS

    OemPreinstall=Yes

    UnattendSwitch="no"

You also have the line OemPreinstall=Yes twice once says NO and the other says YES :)

Link to comment
Share on other sites

Yeah I noticed that and fixed it too. Now the only update I still need to get working is the MDAC. I copied the command and pasted right into my main_batch.cmd: ECHO Installing Q823718 Security Update for Microsoft Data Access Components

start /wait %systemdrive%\install\hotfixes\Q823718.exe /T:%systemdrive%\install\tmp /C:"%systemdrive%\install\tmp\dahotfix.exe /q /n" /Q

Windows Update still shows it as not installed. I am using VPC if it makes a difference

Link to comment
Share on other sites

Nevermind, I got that fixed too. I forgot to reboot the system in the batch file. I did a manual reboot and windows update now only lists 1 missing critical (which should be fixed after reading another thread) instead of 2.

Link to comment
Share on other sites

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...