Jump to content

Inf files + Batch files


Recommended Posts

This is what the inf file looks like in the copyfiles=

CopyFiles=Copy.Boot,Copy.Cab,Copy.Command,Copy.EBD,Copy.GFWin,Copy.GFOffice,Copy.Help,
Copy.HT,Copy.Inf,Copy.IOSubSys,Copy.Machine,Copy.Media,Copy.MSDA,Copy.MUI,Copy.System,
Copy.System32,Copy.SysBckup,Copy.TC,Copy.TEdit,Copy.TViewer,Copy.VMM32,Copy.891711,Copy.918547

but when I add 2 more directories, copy.themes,copy.mspaint

I get a rundll.exe error.

Can someone help me fix this?

Make note that all the directories are on the same line.

Edited by PROBLEMCHYLD
Link to comment
Share on other sites


Try changing the single line to this:

CopyFiles=Copy.Boot,Copy.Cab,Copy.Command,Copy.EBD,Copy.GFWin,Copy.GFOffice
CopyFiles=Copy.Help,Copy.HT,Copy.Inf,Copy.IOSubSys,Copy.Machine,Copy.Media
CopyFiles=Copy.MSDA,Copy.MUI,Copy.System,Copy.System32,Copy.SysBckup,Copy.TC
CopyFiles=Copy.TEdit,Copy.TViewer,Copy.VMM32,Copy.891711,Copy.918547
CopyFiles=Copy.themes,Copy.mspaint

Link to comment
Share on other sites

Try changing to

[ProgramFilesDir] 
HKLM,"%CurrentVersion%","ProgramFilesDir","",%16422%

[CommonFilesDir]
HKLM,"%CurrentVersion%","CommonFilesDir","",%16422%\Common Files

Edit: remove quotes surrounding %16422%

Edited by Geej
Link to comment
Share on other sites

If you fix the lines as stated above, you can also remove the unnecessary CustomDestination.Section above it and then fix the invalid references, (49001, and 35353), to the custom locations you had created.

Program Files\Common could also be changed to %16427%

[ProgramFilesDir]
HKLM, "%CurrentVersion%", "ProgramFilesDir", "", %16422%

[CommonFilesDir]
HKLM, "%CurrentVersion%", "CommonFilesDir", "", %16427%

[DestinationDirs]
Copy.Boot = 30
Copy.Cab = 11, Precopy
Copy.Command = 13
Copy.EBD = 13, EBD
Copy.GFWin = 10, MsApps\Grphflt
Copy.GFOffice = 16427, Micros~1\Grphflt
Copy.Help = 18
Copy.HT = 16422, Access~1\Hypert~1
Copy.Inf = 17
Copy.IOSubSys = 12
Copy.Machine = 10
Copy.Media = 10, Media
Copy.MSDA = 16427, System\Oledb~1
Copy.Mspaint = 16422, Access~1
Copy.MUI = 11, MUI\%LCID%
Copy.System = 11
Copy.System32 = 10, System32\Drivers
Copy.Sysbckup = 10, Sysbckup
Copy.TC = 16427, Micros~1\TextConv
Copy.TEdit = 16427, Micros~1\Triedit
Copy.Themes = 16422, Plus!
Copy.TViewer = 16427, Tvview~1
Copy.VMM32 = 22
Copy.891711 = 11, KB891711
Copy.918547 = 11, KB918547
Del.Uninstall = 13
Del.Windows = 25

There are a few more references to 35353 below this which look like they should read 16427 to match the above.

Additionally you appear to have an incomplete line:

; TSHOOT.OCX 
HKLM,"Software\Microsoft\Internet Explorer\ActiveX Compatibility\{4B106874-DD36-11D0-8B44-00A024DD9EFF}","Compatibility Flags

A fixed version of your file is included as an attachment.

fixed.zip

Link to comment
Share on other sites

I have no idea what the contents of your layout files or which files are available for use by the inf.

BTW, since I have only added whitespace to lines containing Winboot.sys, I'd suggest that using a DIRID of 30 for the Boot disk is possibly problematic. Try changing

[DestinationDirs] 
Copy.Boot = 30

to

[DestinationDirs] 
Copy.Boot = 24

so that it references the System disk.

Link to comment
Share on other sites

I have no idea what the contents of your layout files or which files are available for use by the inf.

BTW, since I have only added whitespace to lines containing Winboot.sys, I'd suggest that using a DIRID of 30 for the Boot disk is possibly problematic. Try changing

[DestinationDirs] 
Copy.Boot = 30

to

[DestinationDirs] 
Copy.Boot = 24

so that it references the System disk.

Thanks for your help Yzöwl. I want the forum to know I'm not the original creator of this service pack but I'm striving to update it.

I have the necessary original Inf files attached below if you don't mind looking @ them. If anything is broken please help me fix them.

Thanks

Edited by PROBLEMCHYLD
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...