Jump to content
Sign in to follow this  
h711

How to include bitmaps in exe file?

Recommended Posts

h711

Hi, I use xskin mode and some other bitmaps to dress up my UI. But when I run the exe on a different pc, I got an error message says skin folder not found. Does AutoIt includes all the bitmap when compile to an exe file? If not, how can I make this happen?

Thanks!

Edited by h711

Share this post


Link to post
Share on other sites
h711

I had no luck with #include for the skin file.

#include <C:\Program Files\AutoIt3\Beta\Skins\DeFacto>

#include <C:\Program Files\AutoIt3\Beta\Skins\DeFacto\skin.dat>

nothing works so far

Share this post


Link to post
Share on other sites
h711

Thanks. Not sure about step 2 and 3, but think this should work.

DirCreate ( "C:\Temp_Skin\DeFacto" )
    FileInstall("C:\Program Files\AutoIt3\Beta\Skins\DeFacto\skin.dat", "C:\Temp_Skin\DeFacto\skin.dat",1)

I just have to use fileinstall 10 times for 10 files...

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  

×