Jump to content

Packing into .exe


Recommended Posts

Hey!

As the topic says i want to include a small picture into my exe file.

Is that possible?

For now i made a zipfile that contains both the exe and the picture but i would like to get both in one.

Is there any program or whatever that can do so?

Link to comment
Share on other sites

Hey!

As the topic says i want to include a small picture into my exe file.

Is that possible?

For now i made a zipfile that contains both the exe and the picture but i would like to get both in one.

Is there any program or whatever that can do so?

If your exe is a compiled AutoIt script you could use FileInstall. You will find syntax etc in the help file.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Nice thank that worked.

Now you can probably tell me if i can use the picture i installed without to install it on the pc later or do i have to install it when the prog starts and delete it when it ends?

You can use it again later without having to re-install it. You would just have to add something to your script to check if it exists and fileinstall it if it does not.

BTW - Welcome to the best forum on the internet. :o


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Hehe Thanks

Just one last question...

What if i want to use the picture out of the .exe file? - possible¿

Once you fileinstall the picture to some location you can do what you want with it.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Hehe Thanks

Just one last question...

What if i want to use the picture out of the .exe file? - possible¿

FileInstall() will put the picture (or any other file) wherever you like on the harddrive when the script is run. so if neither you, nor another user delete that file, it is still there to be accessed/used by anyone or any program. you can check for its existence in other scripts using the FileExists() function...
Link to comment
Share on other sites

FileInstall() will put the picture (or any other file) wherever you like on the harddrive when the script is run. so if neither you, nor another user delete that file, it is still there to be accessed/used by anyone or any program. you can check for its existence in other scripts using the FileExists() function...

You got it in one. :o


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

probably the most efficient thing i've written all day. :o

? :geek:


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
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
 Share

  • Recently Browsing   0 members

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