#220 closed Feature Request (Rejected)
FileInstall() with a default source file.
Reported by: | aGorilla | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | Cc: |
Description
Disclaimer: I completely understand why FileInstall can't include variables (it happens at compile time, not run time).
I've also looked for similar suggestions, and haven't found one (my apologies if this has been suggested before), so here goes...
How about having some default file that contains a list of files (with fully qualified paths) to install? Give it some outlandish name (eg: 'au3inludes.aui'), and if it's present at compile time, the compiler will read them in, and add them to the executable.
Every time FileInstall is called, even with no parameters (or an empty string, as a placeholder), it checks for @ScriptDir\au3inludes.aui, and if present, reads through it line by line and adds the file.
Might want to change the return, 0/1 stay the way they are, add -1 for 'some files not found'.
Crazy? Stupid? Possible? Likely to happen?
Attachments (0)
Change History (2)
comment:1 Changed 17 years ago by Valik
- Resolution set to Rejected
- Status changed from new to closed
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.
There is already an idea on the table for rewriting FileInstall. It'll be done when it's done. This idea will not be part of that.