Modify

#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 by Valik, on Apr 20, 2008 at 9:39:16 PM

Resolution: Rejected
Status: newclosed

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.

comment:2 by TicketCleanup, on Apr 20, 2008 at 10:00:06 PM

Version: 3.2.10.0

Automatic ticket cleanup.

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.