Modify

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#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 12 years ago by Valik

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

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 Changed 12 years ago by TicketCleanup

  • Version 3.2.10.0 deleted

Automatic ticket cleanup.

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.