Monday, March 22, 2010

Value 0 in line from paragraph [WinntDirectories] with Key "0"

This error happened when I was trying to repair a windows installation using RIS:
The following Value in txtsetup.sif is wrong or missing
Value 0 in line from paragraph [WinntDirectories] with Key "0"
Yep, no line number. I looked in google and found nothing! So I started with something simple and yet, it worked. Unbelievable :P

So, to fix that, using notepad, open the txtsetup.sif located in the i386 folder of the RIS image (remoteinstall\setup\[lang]\images\[image name]\i386) and add the following code to the [WinntDirectories] section:
0 = "\"
So it should look like this:
[WinntDirectories]
0 = "\"
1 = "\"
Save & Close, and there you go. Strange, eh?

1 comment:

ericore said...

"The following Value in txtsetup.sif is wrong or missing
Value 0 in line from paragraph [WinntDirectories]"

This means that under [SourceDisksFiles], an entry is incorrectly formatted. For example, autoruns.exe = 1,,,,,,,2,0

1 = original XP file (lies haha)
2 = copy to system 32
3 = always copy

Now suppose I had:

autoruns.exe = 1,,,,,,,,2,0

Same thing right? Nope, there is an extra comma, so instead of having 2 as the copy directory, you have a comma which windows interprets as 0.

2 copies to system32 via
[WinntDirectories]