Help about .INF file

Questions about Update Pack making? Ask here.
Post Reply
Posts: 20
Joined: Fri Aug 17, 2007 1:13 pm

Help about .INF file

Post by CocoNuts » Sat Jan 12, 2008 6:30 am

Hello all,

I will wish to have the significance of some terms ("xxx.dll",,8 "xxx.dll",,,8 "xxx.dll",,4 or "xxx.dll",,,4) which are in files INF.
For exemple from update.inf IE7

"Windows Feed Discovered.wav","FeedDisc.wav",,8


User avatar
Posts: 3214
Joined: Mon May 22, 2006 12:27 am
Location: Honduras

Post by ricktendo64 » Sat Jan 12, 2008 8:57 am

These are both "CopyFiles", with the name of the file that is needed to copy or be renamed after copy (the 8 is also a flag to force the replacement of the file)

Code: Select all

"Windows Feed Discovered.wav","FeedDisc.wav",,8 ;<-This copies "FeedDisc.wav" and renames it to "Windows Feed Discovered.wav" after copy
Here is what goes in between each comma (the sections in parenthesis are optional)

Code: Select all

destination-file-name(, source-file-name)(, temporary-file-name)(,flag)
Name of the destination file. If no source filename is given, this is also the name of the source file.

Name of the source file. If the source and destination filenames for the file copy operation are the same, this is not required.

Name of a temporary file for the file copy operation. The installer copies the source file but gives it the temporary file name. The next time the operating system starts, it renames the temporary file to the destination file name. This is useful for copying files to a destination which is currently open or in use by Windows.

If the file is not in use by Windows, use flag 8 to force it to use the temporary name. This will only work if the file already exists in in the target folder. To get around this, first copy the file into the folder, then use flag 8 to copy it again.

Optional parameter used to perform special actions during the installation process. Multiple flags can be used by adding the values to create the combined flag. The following valid flags can be used:

Value Meaning
1 On CopyFiles: Warn if user tries to skip file.
1 On DelFiles: If file is in use, queue up delayed delete in wininit.ini. Otherwise an in-use file will not be deleted.
2 Setup Critical: don't allow user to skip file.
4 Ignore version check and always copy file. This will overwrite a newer file.
8 Force Rename (trick engine into thinking that file is in use). Note: Only happens if file already exists on target.
16 If file already exists on target, don't copy.
32 Suppress version conflict dialog and don't overwrite newer files.

Posts: 20
Joined: Fri Aug 17, 2007 1:13 pm

Post by CocoNuts » Sat Jan 12, 2008 12:22 pm

Thanks ricktendo64 for your Informations

Posts: 39
Joined: Mon Aug 07, 2006 12:59 pm

Post by MrWoo » Wed Jan 16, 2008 11:50 pm

Most everything you would need to know ... f_4l47.htm

it's a start anyway.


Post Reply