Opened 15 years ago
Closed 15 years ago
#1359 closed Feature Request (Rejected)
Embed a file in compiled script
Reported by: | flackrobert@… | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | embed file resource | Cc: |
Description
It would be nice to be able to embed a file into the compiled autoit script in order to be able to make scripts similar to a self-contained installation. Forgive my example code for I have not done much autoit scripting yet, but it could look something like the following:
$fileresource=Embed("filename.exe")
Then:
RunEmbedded($fileresouce)
And/or the ability to extract an embedded resource.
ExtractEmbedded($fileresource, "C:\Temp\")
An interpreted version of this script could simply use the physical file, whereas when compiled the file would be fetched from the script EXE. This could be managed by having a resource data-type of some sort.
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by Jos
comment:2 Changed 15 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.
Why not simply use FileInstall() ?
Jos