Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

"line 1 Contains A Syntax Error"

Featured Replies

Hello,

Today tried to create Winddows Xp Installation with VIA VT8237 SATA driver (motherboard:ASUS A7V600-X),By the next message.

But at the installation appears the next error:

"Line 1 contains a syntax error"

Someone knows problem source?

thanks,

Shaked

  • Author

WINNT.SIF file:

; Generated by nLite 0.99.8 beta 4

;

[Data]Autopartition = 0

MsDosInitiated = 0

UnattendedInstall = Yes

[unattended]

UnattendMode = FullUnattended

UnattendSwitch = Yes

OemPreinstall = Yes

OemSkipEula = Yes

FileSystem = *

WaitForReboot = No

NoWaitAfterTextMode = 1

NoWaitAfterGUIMode = 1

TargetPath = Windows

DriverSigningPolicy = Ignore

NonDriverSigningPolicy = Ignore

Hibernation = No

[MassStorageDrivers]

"VIA RAID Controller(Windows XP)" = "OEM"

[OEMBootFiles]

TXTSETUP.OEM

TXTSETUP.OEM:

d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA RAID Combo Driver Diskette", \RAID\win2000\VIAMRAID.SYS, \

d3 = "VIA RAID Combo Driver Diskette", \RAID\Winnt40\VIAMRAID.SYS, \

d4 = "VIA RAID Combo Driver Diskette", \RAID\2003ia32\VIAMRAID.SYS, \

#d9 = "VIA RAID Combo Driver Diskette", \RAID\x64\VIAMRAID.SYS, \

d5 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

d6 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\win2000\viapdsk.sys, \

d7 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winnt40\viapdsk.sys, \

d8 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\2003ia32\viapdsk.sys, \

If i remember correctly you need to change

OemPreinstall = Yes

to

OemPreinstall = No

  • Author
If i remember correctly you need to change

OemPreinstall = Yes

to

OemPreinstall = No

Thank you very much, the problem with line 1 is solved.

But now the installation does not identify the hard drive, Someone has an idea why the problem exists?.

thanks.

Well... the answer is VERY simple... By setting OemPreinstall=No, Setup won't find the drivers anymore...

You HAVE to set it OemPreinstall=Yes.

And... line 1 of WHICH FILE contains an error? Please post your txtsetup.oem file.

  • Author
Well... the answer is VERY simple... By setting OemPreinstall=No, Setup won't find the drivers anymore...

You HAVE to set it OemPreinstall=Yes.

And... line 1 of WHICH FILE contains an error? Please post your txtsetup.oem file.

Below txtsetup.oem file contents,That situated by the folders windosXpCD\$OEM$\TEXTMODE and I386\$OEM$ (The explanations accounts were delete) :

[Disks]d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA RAID Combo Driver Diskette", \RAID\win2000\VIAMRAID.SYS, \

d3 = "VIA RAID Combo Driver Diskette", \RAID\Winnt40\VIAMRAID.SYS, \

d4 = "VIA RAID Combo Driver Diskette", \RAID\2003ia32\VIAMRAID.SYS, \

#d9 = "VIA RAID Combo Driver Diskette", \RAID\x64\VIAMRAID.SYS, \

d5 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

d6 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\win2000\viapdsk.sys, \

d7 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winnt40\viapdsk.sys, \

d8 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\2003ia32\viapdsk.sys, \

[Defaults]

scsi = VIARAID_MULTIPLE_XP

[scsi]

VIARAID_MULTIPLE_2003IA32 = "VIA RAID Controller(Windows 2003 IA32)"

VIARAID_MULTIPLE_XP = "VIA RAID Controller(Windows XP)"

VIARAID_MULTIPLE_2K = "VIA RAID Controller(Windows 2000)"

VIARAID_MULTIPLE_NT = "VIA RAID Controller(Windows NT4)"

#VIARAID_MULTIPLE_2003K864 = "VIA RAID Controller(Windows 2003 AMDx86-64)"

VIAPDSK_VT4149_2003IA32 = "VIA ATA/ATAPI Host Controller(Windows 2003IA32)"

VIAPDSK_VT4149_XP = "VIA ATA/ATAPI Host Controller(Windows XP)"

VIAPDSK_VT4149_2K = "VIA ATA/ATAPI Host Controller(Windows 2000)"

VIAPDSK_VT4149_NT = "VIA ATA/ATAPI Host Controller(Windows NT4)"

#=======================================#

[Files.scsi.VIARAID_MULTIPLE_XP]

driver = d1, viamraid.sys, VIAMRAID_NT5

inf = d1, viamraid.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d1, viamraid.cat

[Files.scsi.VIARAID_MULTIPLE_2K]

driver = d2, viamraid.sys, VIAMRAID_NT4

inf = d2, viamraid.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d2, viamraid.cat

[Files.scsi.VIARAID_MULTIPLE_NT]

driver = d3,viamraid.sys,VIAMRAID_NT4

inf = d3,viamraid.inf

[Files.scsi.VIARAID_MULTIPLE_2003IA32]

driver = d4, viamraid.sys, VIAMRAID_NT5

inf = d4, viamraid.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d4, viamraid.cat

#[Files.scsi.VIARAID_MULTIPLE_2003K864]

#driver = d9, viamraid.sys, VIAMRAID_NT5

#inf = d9, viamraid.inf

#[HardwareIds.scsi.VIARAID_MULTIPLE_2003K864]

#id = "PCI\VEN_1106&DEV_3249","viamraid"

#id = "PCI\VEN_1106&DEV_3149","viamraid"

#id = "PCI\VEN_1106&DEV_3164","viamraid"

[HardwareIds.scsi.VIARAID_MULTIPLE_2003IA32]

id = "PCI\VEN_1106&DEV_3249","viamraid"

id = "PCI\VEN_1106&DEV_3149","viamraid"

id = "PCI\VEN_1106&DEV_3164","viamraid"

[HardwareIds.scsi.VIARAID_MULTIPLE_XP]

id = "PCI\VEN_1106&DEV_3249","viamraid"

id = "PCI\VEN_1106&DEV_3149","viamraid"

id = "PCI\VEN_1106&DEV_3164","viamraid"

[HardwareIds.scsi.VIARAID_MULTIPLE_2K]

id = "PCI\VEN_1106&DEV_3249","viamraid"

id = "PCI\VEN_1106&DEV_3149","viamraid"

id = "PCI\VEN_1106&DEV_3164","viamraid"

#=======================================#

[Files.scsi.VIAPDSK_VT4149_XP]

driver = d5, viapdsk.sys, VIAMRAID_NT5

inf = d5, viapide.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d5, viapdsk.cat

[Files.scsi.VIAPDSK_VT4149_2K]

driver = d6, viapdsk.sys, VIAMRAID_NT4

inf = d6, viapide.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d6, viapdsk.cat

[Files.scsi.VIAPDSK_VT4149_NT]

driver = d7, viapdsk.sys, VIAMRAID_NT4

inf = d7, viapide.inf

[Files.scsi.VIAPDSK_VT4149_2003IA32]

driver = d8, viapdsk.sys, VIAMRAID_NT5

inf = d8, viapide.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d8, viapdsk.cat

[HardwareIds.scsi.VIAPDSK_VT4149_2003IA32]

id = "PCI\VEN_1106&DEV_4149","viapdsk"

[HardwareIds.scsi.VIAPDSK_VT4149_XP]

id = "PCI\VEN_1106&DEV_4149","viapdsk"

[HardwareIds.scsi.VIAPDSK_VT4149_2K]

id = "PCI\VEN_1106&DEV_4149","viapdsk"

#===============================================================================

[Config.VIAMRAID_NT5]

value = Parameters\PnpInterface, 5, REG_DWORD, 1

[Config.VIAMRAID_NT4]

value = "", Tag, REG_DWORD, 1

  • Author

Thank you Bâshrat the Sneaky.

I acted according to the instructions in the message, but still the hard disk was not identified.

I attached the TXTSETUP.OEM and part of WINNT.SIF ,will be happy if will be able to examine if there are in them errors.

______________________________________________

WINNT.SIF:

[MassStorageDrivers]"VIA RAID Controller(Windows XP)" = "OEM"

[OEMBootFiles]

TXTSETUP.OEM

viamraid.cat

viamraid.sys

TXTSETUP.OEM (in $OEM$\TEXTMODE and I386\$OEM$):

[Disks]d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

[Defaults]

scsi = VIARAID_MULTIPLE_XP

[scsi]

VIARAID_MULTIPLE_XP = "VIA RAID Controller(Windows XP)"

VIAPDSK_VT4149_XP = "VIA ATA/ATAPI Host Controller(Windows XP)"

#=======================================#

[Files.scsi.VIARAID_MULTIPLE_XP]

driver = d1, viamraid.sys, VIAMRAID_NT5

inf = d1, viamraid.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d1, viamraid.cat

[HardwareIds.scsi.VIARAID_MULTIPLE_XP]

id = "PCI\VEN_1106&DEV_3249","viamraid"

id = "PCI\VEN_1106&DEV_3149","viamraid"

id = "PCI\VEN_1106&DEV_3164","viamraid"

#=======================================#

[Files.scsi.VIAPDSK_VT4149_XP]

driver = d5, viapdsk.sys, VIAMRAID_NT5

inf = d5, viapide.inf

## Cat file directive. It should be marked with non-digital signed driver

catalog = d5, viapdsk.cat

#===============================================================================

[Config.VIAMRAID_NT5]

value = Parameters\PnpInterface, 5, REG_DWORD, 1

[Config.VIAMRAID_NT4]

value = "", Tag, REG_DWORD, 1

d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

Well... those are still subfolders of which you have to get rid...

  • Author
d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \

d2 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

Well... those are still subfolders of which you have to get rid...

Be able to explain please you your intention?

I endeavoured to add the next line to the file, but still the hard drive is was not identified:

[Disks]d1 = "VIA RAID Combo Driver Diskette", \RAID\winxp\VIAMRAID.SYS, \TEXTMODE

d2 = "VIA ATA/ATAPI Host Controller Driver", \PIDE\winxp\viapdsk.sys, \

  • 3 weeks later...

Here's what I did. I got help from another post in this forum (can't remember where it's at; I'll let you know in the near future hopefully). Thanks for the driver packs Bashrat. But for some odd reason, I could never get them to work with the VIA SATA 8237 drivers. It always errored out. If the drivers need to be OEM without a floppy, then there are some settings that are required for the WINNT.SIF file.

[GuiUnattended]

OemSkipWelcome = 1

[Data]

UnattendedInstall=Yes

MSDosInitiated=No

The following lines also must be added to TXTSETUP.SIF:

[sourceDisksFiles]

viamraid.sys = 1,,,,,,4_,4,1,,,1,4

viapdsk.sys = 1,,,,,,4_,4,1,,,1,4

[HardwareIdsDatabase]

PCI\VEN_1106&DEV_3149 = "viamraid"

PCI\VEN_1106&DEV_4149 = "viapdsk"

[sCSI.Load]

viamraid = viamraid.sys,4

viapdsk = viapdsk.sys,4

[sCSI]

viamraid = "VIA SATA RAID Controller"

viapdsk = "VIA ATA/ATAPI Host Controller"

I used the "OEM" method of adding drivers by creating the $OEM$ folder in the source folder (and the i386 folder as well to make sure). I also compressed the driver files using the makecab command. When you download the latest drivers, you use the "DriverDisk" folder to create the File structure needed for the $OEM$/$1\Drivers folder. Only copy the TXTSETUP.OEM file and the 2 folders with them.

Make sure to reference the drivers in the WINNT.SIF file by doing something similar to this:

[unattended]

OemPnPDriversPath = "Drivers\VIAMRAID;Drivers\VIAMRAID\PIDE\Winxp;Drivers\VIAMRAID\RAID\Winxp"

That's what I used in my folder structure.

That's how I got it to FINALLY work. I spent 1 week trying to figure out what was wrong after following all the SATA driver slipstreaming forums and sites I could find. There was a certain error that always came up after the textmode installation was finished, and it was finally solved with the lines above in the [Data] section in WINNT.SIF

So Bashrat, how do I get those driver packs to work? It just won't work for me. Maybe it's my configuration? I'm using a SATA and an IDE hard drive, but wanted Windows XP SP2 on my SATA drive. I have no floppy. I'm also using a PCI sound card because it has 2 cd connectors on it and my mini-ATX mobo only comes with one. My GeForce FX 5700LE is also generic (Apollo Graphics, but they supposedly only produce everything BUT NVidia cards on their website. The card still works good though, and overclocks really well 225/325 stock -> 275/400 overclocked, but that's actually supposed to be the "normal" clock for a 5700 anyway...go figure).

Is there something that I was doing wrong? Maybe it was that I was combining both methods for installing drivers instead of just doing one or the other?

Isn't that the EXACT same thing as I have???

If it is, then I'm sorry. Maybe I just didn't do your method right. I'll try it again. This time I won't try to combine the methods.

Sorry.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.