PantZ4 Posted October 9, 2006 Share Posted October 9, 2006 How can I install a .exe file thougt Autoit? I have though of something like this: _FileCreate('test.exe') $testfile = FileOpen("test.exe", 2) FileWrite($testfile, "") FileClose($testfile) And on FileWrite I just write the hex code of the exe. Or do you have a better solution/way? Thank you Link to comment Share on other sites More sharing options...
Xenobiologist Posted October 9, 2006 Share Posted October 9, 2006 Hi, have a look at FileInstall() So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
lopolop Posted October 9, 2006 Share Posted October 9, 2006 you want to write the whole exe? try downloading the file... inetget() Link to comment Share on other sites More sharing options...
PantZ4 Posted October 9, 2006 Author Share Posted October 9, 2006 Hi,have a look at FileInstall()So long,MegaBut this need a sorce first. What I need is I can put the exe in my script, and when I run it, it will unpack the .exe and install it.But thanks for your reply Link to comment Share on other sites More sharing options...
PantZ4 Posted October 9, 2006 Author Share Posted October 9, 2006 you want to write the whole exe? try downloading the file...inetget()I don't know... What if a computer without internet, try download it? So can they don't use my program . Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted October 9, 2006 Moderators Share Posted October 9, 2006 I don't know... What if a computer without internet, try download it? So can they don't use my program .What if gas prices go up? So you don't drive anymore ?Ask yourself a question... If they don't have internet, how did they get your "program"?The other thing/question you are asking needs to be more specific. What exactly do you need support with? We won't write you a Installer, but there are plenty of examples in the forum of them.http://www.autoitscript.com/forum/index.ph...hlite=InstallerMaybe even one to fit your needs . 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. Link to comment Share on other sites More sharing options...
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