Problem long file names with winnt.exe

Questions about Update Pack making? Ask here.
Post Reply
Posts: 32
Joined: Mon Feb 27, 2006 12:06 am
Location: Germany

Problem long file names with winnt.exe

Post by JSe » Wed Mar 29, 2006 1:45 pm

If I start an unattended installation with winnt.exe (what I normaly do) there is no support of long file names (longer than 8.3). Even in Textmode setup there are no files longer than 8.3. This is because MS supports a FAT16 as destination drive until the FileSystem="ConvertNTFS" and/or ExtendOemPartition="xxxx" has been done what is after Textmode. All renaming operations from txtsetup.sif will be written internaly to the file $$Rename.txt". This file is processed in early GUIMode.

Unfortunely we have some long names in the \Svpack directory after deploying the updatepacks. And just these files are not handled in the "normal way" with renaming in txtsetup.sif.

The same problem we have with some drivers. See my post here:
The solution here is a user specified file $$Rename.txt in $oem$\$1.

So I used this $$Rename.txt and added as a quick&dirty hack the following lines:

Code: Select all

Although it works as it should, I'm not proud on this solution and would like to hear if somebody else has an idea for a better solution.

User avatar
Site Admin
Posts: 5190
Joined: Tue Nov 23, 2004 6:03 pm
Location: Pennsylvania

Post by RyanVM » Wed Mar 29, 2006 9:50 pm

I've got a solution - I'll rename them in the next release :P
Get up to $200 off on hosting from the same people who host this website!

Posts: 32
Joined: Mon Feb 27, 2006 12:06 am
Location: Germany

Post by JSe » Wed Apr 05, 2006 6:58 pm

I've got a solution - I'll rename them in the next release
That's nice! Although I was in doubt if this will work since the names of the *.cat-files are also in the *.inf-files. But I verified that the signature of the signed files will be valid even if the *.cat-file have been renamed as long as the new names will be used in svcpack.inf.

FYI: this can be verified using sigverif.exe --> Advanced --> Search for files not digitaly signed --> *.* in C:\windows with subfolders --> OK then Start.
After some minutes when the program finished close it (do not study its output window). Much more intresting is the file SIGVERIF.TXT in C:\Windows. It does not only show files that are not signed it also shows all signed files an the *.cat files which delivered the signature.

User avatar
Posts: 1155
Joined: Tue Nov 23, 2004 9:50 pm
Location: Buffalo, NY

Post by RogueSpear » Wed Apr 05, 2006 9:50 pm

What a sweet tool. Hiding in plain sight all this time too. Thanks for pointing that out.

Posts: 6
Joined: Sat Mar 25, 2006 8:20 pm
Location: behind

Post by Djé » Mon Apr 10, 2006 7:12 am

There is a $$Rename.txt file also when using winnt32 on a NTFS partition.
I'm usually installing using bartPE from a share.
BartPE is great to have an insight at what is happening on the drive at each step. That's how I noticed this $$Rename.txt file.
But I don't know if there's any problem with svcpack files.
The Enemy is stupid: He beleives us being the enemy.

Post Reply