Even better, thanks for the additional information!
Makoa
Announcement
Collapse
No announcement yet.
Embedding external files into AutoPlay
Collapse
X
-
In Lua scripting, you would typically use relative paths, so it does not matter where exactly the files were decompressed, as in
Code:File.Run("AutoPlay\\Docs\\filename.exe");
Ulrich
Leave a comment:
-
Hi Ulrich,
Thank you for responding, this worked beautifully.
For those wanting more information, there is a "Docs" folder in "CD_Root\AutoPlay" where you build AutoPlay, any files included in this folder will be unpackaged locally to %temp%\ir_ext_temp_0\AutoPlay\Docs (note, the 0 will increment if this folder already exists for every new instance of AutoPlay exe you run.
Thanks again,
Makoa
Leave a comment:
-
You can add any file you want to the Docs sub folder. The file will be embedded into the self-extractor created by AutoPlay Media Studio, and placed into the TEMP folder. There, you can access it at runtime as needed.
Ulrich
- Likes 1
Leave a comment:
-
Hi Herrin,
Appreciate the response, but I believe the video you provided is an AutoPlay page that contains a window that runs the WinRAR program, then you manually perform an extraction against an already available local .rar file.
I would like to embed this Summer.rar file into an AutoPlay exe, then upon starting the AutoPlay exe, have the Summer.rar file be unpackaged to a known temp location.
Would you possibly know if this is supported?
Thanks,
Makoa
Leave a comment:
-
Leave a comment:
-
Embedding external files into AutoPlay
Hello,
I am using AutoPlay Media Studio 8.5.3.0.
My question is, I am wondering if it is possible to embed an EXE into my AutoPlay project so that when the AutoPlay exe is started, the embedded EXE is unpackaged into a known temporary directory and can be called as needed (Similar to Setup Factory's Primer Files).
As of now, I am downloading the EXE upon startup, but I would like to avoid any delay when running AutoPlay.
Thanks in advance,
MakoaTags: None
Leave a comment: