Jump to content

Silent/Unattended Install The INF way!


Recommended Posts

to the gurus of the infs:

flags

This optional hexadecimal value, expressed as an ORed bitmask of system-defined low word and high word flag values, defines the data type for a value entry and/or controls the add-registry operation. Bitmask values for each of these flags are as follows

i don't understand this settings of the CopyFiles

section...can i have some examples?

i want that my custom installer doesn't ask me if i want

to overwrite files if they are already in the destination dir,

so i want to set some flags (0x00000048), including the flag to copy the files

in use on the next reboot (0x00000008), but i think that the sum

is not correct.....0x00000048.

Infact it doesn't work. I need help.

Thanks s0 much.

Edited by Kapo
Link to comment
Share on other sites


[CopyFiles-section-name] 
destination-file-name, source-file-name, temporary-file-name, flag
;
;Multiple flags can be used by adding the values to create the combined flag.
;The following valid flags can be used:
;1 -On CopyFiles: Warn if user tries to skip file.
; -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). 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.

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...