PDA

View Full Version : EditFile sorting destination section ?



n7Epsilon
09-26-2006, 05:04 AM
Hi Siginet,
When attempting to add some lines to the [AddReg] section of HiveSys.inf or HiveSft.inf using [EditFile], does the integrator intentionally sort the destination section ?

This is what happens with Antinan's ext2/3 driver addon which causes major HiveSys and HiveSft corruption.

Here's a HiveSys.inf file after the integration (integrated only the driver addon after integrating the 2.1.2 update pack in a separate previous session).

AFAIK, the Update Pack itself doesn't modify HIVESYS.INF, so this should be comparable to a vanilla SP2 HIVESYS.INF

Here's a link to Antinan's thread:
http://www.ryanvm.net/forum/viewtopic.php?p=35414

Siginet
09-26-2006, 02:50 PM
The [EditFile] section puts the section in alphabetical order. ExtraFileEdits can be used to get into more detail on where a specific area is edited.

I can change the EditFile section to not alphabetise things if needed. I did kind of like that feature though to be honest. ;)

n7Epsilon
09-26-2006, 03:51 PM
Then how about extending the functionality of [EditFile] ?

For example, you could make the syntax like this:

[EditFile]
DestinationFile,DestinationSection,SectionInINI,So rt

where sort would be 1 (default) to sort and if set to 0 to not sort the destination section, or maybe make 0 the default.

or maybe create a new section for non-alphabeticalised section editing.