sandman Posted February 10, 2007 Posted February 10, 2007 I mean the same way all the installation files are packed inside a install exe (at least sometimes). I can explain it a little more if you want me to. Thanks! [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]
sandman Posted February 10, 2007 Author Posted February 10, 2007 I'm sorry.. but I don't really understand the file. So when the autoit script is run, when not yet compiled, what happens? Also when you run the exe it can only extract it to somewhere, it can't just keep it inside the exe? [center]"Yes, [our app] runs on Windows as well as Linux, but if you had a Picasso painting, would you put it in the bathroom?" -BitchX.com (IRC client)"I would change the world, but they won't give me the source code." -Unknownsite . blog . portfolio . claimidcode.is.poetry();[/center]
BrettF Posted February 10, 2007 Posted February 10, 2007 I'm sorry.. but I don't really understand the file. So when the autoit script is run, when not yet compiled, what happens? Also when you run the exe it can only extract it to somewhere, it can't just keep it inside the exe? An alternitive is: Opt("OnExitFunc", "endscript") FileInstall ("SOURCE", @TempDir & "\Foldername") Func endscript () DirRemove (@TempDir & "\Foldername") Exit EndFunc Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version!
xcal Posted February 10, 2007 Posted February 10, 2007 So when the autoit script is run, when not yet compiled, what happens?When this function is used from a non-compiled script, a copy operation is performed instead (to allow for easy testing pre-compilation). How To Ask Questions The Smart Way
petesa Posted February 14, 2007 Posted February 14, 2007 To add the ability to include multiple files and directories into a compiled AutoIT executable, it would be cool to write an AutoIT routine that:Creates a file and directory list" (or array) then generates DirCreate and FileInstall statements in a separate .au3 script that can be included into the original .au3 script and compiled.At my level of experience I think that it would only take me a few days to figure this out
Moderators SmOke_N Posted February 14, 2007 Moderators Posted February 14, 2007 To add the ability to include multiple files and directories into a compiled AutoIT executable, it would be cool to write an AutoIT routine that:Creates a file and directory list" (or array) then generates DirCreate and FileInstall statements in a separate .au3 script that can be included into the original .au3 script and compiled.At my level of experience I think that it would only take me a few days to figure this out http://www.autoitscript.com/forum/index.ph...c=34805&hl= Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
MHz Posted February 14, 2007 Posted February 14, 2007 (edited) Creates a file and directory “list" (or array) then generates ‘DirCreate’ and ‘FileInstall’ statements in a separate .au3 script that can be included into the original .au3 script and compiled.At my level of experience I think that it would only take me a few days to figure this out… Use the Forum Search Button and it maybe easier. I made a tool in SendToA3X to create a generated fileinstall script and I am fairly sure that SmOke_N has posted a similar script in the Example Scripts Forum somewhere.Edit: Oh late. Too kind you are SmOke_N with suppling a link Edited February 14, 2007 by MHz
Moderators SmOke_N Posted February 14, 2007 Moderators Posted February 14, 2007 Use the Forum Search Button and it maybe easier. I made a tool in SendToA3X to create a generated fileinstall script and I am fairly sure that SmOke_N has posted a similar script in the Example Scripts Forum somewhere.Edit: Oh late. Too kind you are SmOke_N with suppling a link Yeah, but I like the A3x idea too, I didn't know you did that, I just did a Command Line one for myself the other day, would have saved some time lol. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now