Modify

Opened 12 years ago

Closed 6 years ago

#2477 closed Feature Request (Rejected)

FileInstall() to use the same Flag values as FileCopy to create destination directory

Reported by: Bowmore Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: FileInstall Cc:

Description

Description

I made a feature request for this 6 years ago, (ticket #47), which was rejected at the time due to a proposed re-write of the FileInstall() code. Would it be possible for someone to have another look at this some time.


I would like FileInstall() to use the same Flag parameter values as FileCopy(), by adding an option to be able to create the FileInstall destination folder structure if it does not exist when the script is run and the file installs.

Quote:form FileCopy help

flag [optional] 
this flag determines whether to overwrite files if they already exist.
Can be a combination of the following:
 0 = (default) do not overwrite existing files
 1 = overwrite existing files
 8 = Create destination directory structure if it doesn't exist (See Remarks). 

Attachments (0)

Change History (2)

comment:1 by Emiel Wieldraaijer, 12 years ago

This would be a handy feature

comment:2 by J-Paul Mesnage, 6 years ago

Resolution: Rejected
Status: newclosed

Hi,
As it is easy to add a DirCreate() before calling FileInstall() it will not be implemented.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.