Jump to content

Recommended Posts

Posted

I there a way to add files to the compiled exe so that I have a script and the file in one exe?

I don't see an option in the compiler. Perhaps there is another program to do this?

Thanks

Posted

FileInstall ( "source", "dest" [, flag] )

is this what you need?

Thanks but I was looking to include files into the EXE package so I have them to copy/replace/register ect. without calling out to a source since some deploys the end user may not have access to the network.

Any suggestions?

Thanks

Posted

I use WinRAR self-extract feature.

You may configure WinRAR to run your .exe automatically after extracting all files.

  • Developers
Posted (edited)

Thanks but I was looking to include files into the EXE package so I have them to copy/replace/register ect. without calling out to a source since some deploys the end user may not have access to the network.

FileInstall() incorporates the "source" file at compilation time in the target EXE and at Run time it extracts it into the specified Target Directory.

Isn't that what you wanted?

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

adding info.

to use FileInstall()

Func OnAutoItStart ()

FileInstall("fileNeed2beCopied", "C:\copyToHere", 1)

EndFunc

If you use some kind of codes listed above, this can guarantee you will have your files to copy/replace/register, because OnAutoItStart() will be run before all other codes

Posted

Thanks,

Looks like file install is good for a few files. And I think the winrar may be the way for directories or a larger amount of files since it looks like I need to create folders and call individual files out.

Is this a correct assesment?

Thanks again.

Posted

I also was looking to do this. Go to this site http://www.portablefreeware.com and search for a prog called nBinder. It will combine all files of a program to a single exe and extract them when you open the program. Also has the option to delete files that were extracted when you close program. Hope this helps.

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
  • Recently Browsing   0 members

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