Jump to content
Sign in to follow this  
tylerh27

Attach files help

Recommended Posts

tylerh27

i want to be able to install files with my program, but im not sure how to attach the files to my program?

I know how to download them online, but i want it to be able to install offline

can someone help me?

Share this post


Link to post
Share on other sites
FireFox

Hi,

FileInstall ?

Br, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
tylerh27

i looked at that, but i dont know how to do it, cause i want 1 exe file to magically create like image files lol like is there a way to recreate the image with binary or something?

Share this post


Link to post
Share on other sites
kaotkbliss

you do

FileInstall(path to file on your pc, path where you want file to install on other pc)

As for creating with binary, I think so but I don't know how.

*edit*

here's a piece of code from my program launcher that installs the images, icons and exe file

FileInstall("C:Allin1.exe",$install&"Allin1_"&$Name&".exe",1)
    FileInstall("C:Allin1.ico",$install&"Allin1.ico",1)
    FileInstall("C:program-launcher.chm",$install&"program-launcher.chm",1)
    FileInstall("C:Installer.rtf", $install&"Installer.rtf",1)
    FileInstall("C:Plai1.dll",$install&"Plai1.dll",1)
    FileInstall("C:Options.bmp",$install&"Options.bmp",1)
    FileInstall("C:Options2.bmp",$install&"Options2.bmp",1)
    FileInstall("C:Black.bmp",$install&"Black.bmp",1)
    FileInstall("C:BlackBut2.bmp",$install&"BlackBut2.bmp",1)
    FileInstall("C:Green.bmp",$install&"Green.bmp",1)
    FileInstall("C:GreenBut.bmp",$install&"GreenBut.bmp",1)
    FileInstall("C:Red.bmp",$install&"Red.bmp",1)
    FileInstall("C:RedBut.bmp",$install&"RedBut.bmp",1)
    FileInstall("C:Blue.bmp",$install&"Blue.bmp",1)
    FileInstall("C:BlueBut.bmp",$install&"BlueBut.bmp",1)
    FileInstall("C:Purple.bmp",$install&"Purple.bmp",1)
    FileInstall("C:PurpleBut.bmp",$install&"PurpleBut.bmp",1)
    FileInstall("C:Gold.bmp",$install&"Gold.bmp",1)
    FileInstall("C:GoldBut.bmp",$install&"GoldBut.bmp",1)
    FileInstall("C:Grey.bmp",$install&"Grey.bmp",1)
    FileInstall("C:GreyBut.bmp",$install&"GreyBut.bmp",1)
    FileInstall("C:White.bmp",$install&"White.bmp",1)
    FileInstall("C:WhiteBut.bmp",$install&"WhiteBut.bmp",1)

the $install variable is a path the user picks

The C: drive is where all the files are located when I compile my script

Edited by kaotkbliss

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

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  

×