Sign in to follow this  
Followers 0
mikeylikesit

Fileinstall?

4 posts in this topic

i am working on a program, that will "brand" our version of windows. (it adds a custom to logo to the computer properties)

this is what i have

FileInstall("oemlogo.bmp", "C:\WINDOWS\system32")

FileInstall("oeminfo.ini", "C:\WINDOWS\system32")

It works fine now BUT...

The problem is that i have to keep the exe in the a folder with the rest .bmp and the .ini file. I would like to have it be a single .exe file.

i was trying to use fileinstall but it did not seemed to work even after i had it compiled. I guess i am asking if there is a way to compile all into a .exe.

Any Help would be good.


Hard work never killed anyone but why take the chance?

Share this post


Link to post
Share on other sites



Sorry For doing a double post :-/ thought i was just doing a preview


Hard work never killed anyone but why take the chance?

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

FileInstall("Full Path To BMP From the PC you are Compiling From", @SystemDir & '\BMPName.bmp', 1)

Edited by SmOke_N

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.

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

FileInstall("oemlogo.bmp", "C:\WINDOWS\system32")

FileInstall("oeminfo.ini", "C:\WINDOWS\system32")

The destination path of the file with trailing backslash if only the directory is used. This can be a variable.

FileInstall("oemlogo.bmp", @SystemDir & "\")
FileInstall("oeminfo.ini", @SystemDir & "\")
Edited by MHz

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