Sign in to follow this  
Followers 0
PantZ4

Install a .exe though Autoit?

6 posts in this topic

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 :lmao:

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

you want to write the whole exe? try downloading the file...

inetget()


Share this post


Link to post
Share on other sites

Hi,

have a look at FileInstall()

So long,

Mega

But 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 :lmao:

Share this post


Link to post
Share on other sites

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 :lmao:.

Share this post


Link to post
Share on other sites

I don't know... What if a computer without internet, try download it? So can they don't use my program :ph34r:.

What if gas prices go up? So you don't drive anymore :geek: ?

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=Installer

Maybe even one to fit your needs :lmao: .


[center]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.[/center]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0