Jump to content

Line 49 is invalid


Recommended Posts

This is my first unattended cd, and it's not working. When I go to install windows, I get this error: "Line 49 of the INF file \i386\winnt.sif is invalid" Can anyone find any problems in it?

;SetupMgrTag
[Data]
AutoPartition=1
MsDosInitiated="0"
UnattendedInstall="Yes"

[Unattended]
UnattendMode=FullUnattended
OemSkipEula=Yes
OemPreinstall=No
TargetPath=\WINDOWS
OemPnPDriversPath="Drivers\000_monitor"
DriverSigningPolicy=Ignore

[GuiUnattended]
AdminPassword=*
EncryptedAdminPassword=NO
OEMSkipRegional=1
TimeZone=20
OemSkipWelcome=1

[UserData]
ProductKey=xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
FullName="Adam"
OrgName="(none)"
ComputerName=THEBEAST

[TapiLocation]
CountryCode=1

[RegionalSettings]
LanguageGroup=1
Language=00000409

[Identification]
JoinWorkgroup=MSHOME

[Networking]
InstallDefaultComponents=Yes

[GuiRunOnce]
%systemdrive%\install\services.cmd
%systemdrive%\install\wmp10.cmd
%systemdrive%\install\winrar.cmd
%systemdrive%\install\firefox.cmd
%systemdrive%\install\tweak.cmd
%systemdrive%\install\events.cmd
%systemdrive%\install\mp3tag.cmd
%systemdrive%\install\Applications\Real Alternative\realalt.bat
%systemdrive%\install\Applications\Quicktime Alternative\qtalt.bat
%systemdrive%\install\ccleaner.cmd

[Shell]
CustomDefaultThemeFile = "%WinDir%\Resources\Themes\Royal.theme"

And where exactly is line 49?

Thanks,

hXcPlayr

Link to comment
Share on other sites


This is my first unattended cd, and it's not working. When I go to install windows, I get this error: "Line 49 of the INF file \i386\winnt.sif is invalid" Can anyone find any problems in it?

And where exactly is line 49?

If i paste your code, as is, into my text editor, I get this as line 49:

%systemdrive%\install\Applications\Real Alternative\realalt.bat

So I would assume there is a problem with that line...possibly the file is missing or the folder structure is misnamed on the CD?

Link to comment
Share on other sites

I'll check that right now.

EDIT: Everything looks right

Do these lines need to be in quotation marks?

%systemdrive%\install\services.cmd
%systemdrive%\install\wmp10.cmd
%systemdrive%\install\winrar.cmd
%systemdrive%\install\firefox.cmd
%systemdrive%\install\tweak.cmd
%systemdrive%\install\events.cmd
%systemdrive%\install\mp3tag.cmd
%systemdrive%\install\Applications\Real Alternative\realalt.bat
%systemdrive%\install\Applications\Quicktime Alternative\qtalt.bat
%systemdrive%\install\ccleaner.cmd

Edited by hXcPlayr
Link to comment
Share on other sites

Do these lines need to be in quotation marks?

The two lines with spaces in them should be in quotation marks so you code should be like this:

"%systemdrive%\install\Applications\Real Alternative\realalt.bat"
"%systemdrive%\install\Applications\Quicktime Alternative\qtalt.bat"

Hope this will fix your problem. :)

Link to comment
Share on other sites

you may wish to look at this line as well, even though it it isn't directly associated with your issue

oempreinstall=no

should be

oempreinstall=yes

otherwise your line referencing youe own drivers won't be used, it will use winxp only ones

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