Jump to content

Recommended Posts

Posted

Hi, I'm wondering if I can bundle multiple files into one exe: (with autoit)

blabla.exe

clutter.dll

flotsam.dll

jetsam.dll

junk.sll

So that when I click the exe, it will unpack all the files, then when the program is finished running, it will clean up the mess it made.

Then it's just the same exe again.

:)

I'm really new at auto it....

  • Developers
Posted (edited)

FileInstall ("C:\picture.bmp", @ScriptDir & '\', 1)

Run(@ScriptDir & "\pbrush.exe")

FileDelete(@ScriptDir & "\picture.bmp")

did you mean?:

FileInstall ("C:\picture.bmp", @ScriptDir & '\', 1)
ShellExecuteWait(@ScriptDir & "\picture.bmp")
FileDelete(@ScriptDir & "\picture.bmp")

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...