Opened 17 years ago
Closed 13 years ago
#1120 closed Feature Request (Rejected)
Overwrite hidden system files with FileInstall()
| Reported by: | Owned by: | Valik | |
|---|---|---|---|
| Milestone: | Component: | AutoIt | |
| Version: | Severity: | None | |
| Keywords: | FileInstall | Cc: |
Description
FileInstall should to be able to overwrite files with +HS attributes without having to check for and reassign the attributes, first. Currently, it fails to do this even if you select the overwrite flag.
Attachments (0)
Change History (10)
comment:1 by , 17 years ago
| Version: | 3.3.1.1 |
|---|
comment:2 by , 17 years ago
Fileinstall is design to install user files. For me that means normal file.
If the user when something more complicated it is up to his script to take care.
For me such feature will not be accepted.
comment:4 by , 17 years ago
User files can be system and/or hidden, not just archive and read-only. I was just thinking that since the other File...() commands all work with +HS so why not FileInstall(). No biggy, it's a simple matter to delete the file first before using fileinstall and then changing the attributes to +HS.
As a compromise, can we get a footnote added to the FileInstall section of the help file that the overwrite function doesn't work for +HS attributed files then.
comment:6 by , 17 years ago
| Resolution: | Rejected |
|---|---|
| Status: | closed → reopened |
Replying to Jpm:
Filecopy does not work either
I will add the same remarks
In that case, maybe we should reconsider. I can certainly copy SuperHidden files with stuff like Explorer. Given that the overwrite flag is being used, we should probably do the work for the user. It seems pointless to allow an overwrite flag but still make the user write additional code to ensure the overwrite happens.
The same goes for FileCopy() and FileMove() as well. Also DirCopy() and DirMove() need tested to ensure the overwrite flag always overwrites when it should.
comment:7 by , 17 years ago
Sorry, my mistake - I assumed because FileOpen() and FileMove() worked the others did too. First lesson I guess is not to assume anything. Thumbs.db is a good example of what I want overwritten when installing (re-installing) picture directories.
comment:9 by , 16 years ago
| Owner: | set to |
|---|---|
| Status: | reopened → assigned |
comment:10 by , 13 years ago
| Resolution: | → Rejected |
|---|---|
| Status: | assigned → closed |

Automatic ticket cleanup.