Sign in to follow this  
Followers 0
Starfish41

Packing into .exe

12 posts in this topic

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?

Share this post


Link to post
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.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
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?

Share this post


Link to post
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



Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

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

Hehe Thanks

Just one last question...

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

Share this post


Link to post
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.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
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...

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Thanks!

I think i got it for now...

Share this post


Link to post
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


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

You got it in one. :geek:

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

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

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

? :geek:


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

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

Share this post


Link to post
Share on other sites

? :o

bad joke on myself. nevermind

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

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