Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
MioKawaii

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

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

so is a simply sum?

In my case 32+1 ?

In the option i have to put the hexadecimal value, isn't right?

Edited by Kapo

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...