Modify

Opened 11 years ago

Closed 4 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 Changed 11 years ago by Emiel Wieldraaijer

This would be a handy feature

comment:2 Changed 4 years ago by Jpm

  • Resolution set to Rejected
  • Status changed from new to closed

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

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.