My favorites | Sign in
Project Home Downloads Wiki Issues Source
Project Information
Members
Featured
Downloads

Brief

This program takes an EXE file and any other files it might need to run -- graphics, data files, DLLS, etc. -- and packages the whole thing into one standalone EXE.

Basic Usage

Put your EXE file and all its data files into a folder. Then run packager.exe, giving the path to your EXE file. For example:

packager C:\myproject\dist\program.exe

This will package program.exe and all the other files in C:\myproject\dist. The result will be a new program.exe created in your current working directory. Use the /L option to specify a different output filename.

Advanced Usage

You can specify commandline options to pass to your program when run from its package. For example:

packager C:\myproject\dist\program.exe /O /SomeOption

Working Directory

When a user runs your packaged program, your original program is extracted and run in a temporary environment. Then, when the program exit, the temporary environment is deleted. If you want your packaged program to read or create files outside of that environment, you can have the launcher pass its working directory as an argument to your program:

packager C:\myproject\dist\program.exe /O /WorkingDir %W

The /WorkingDir is just an example. Your program receives all options after /O verbatim, with %W replaced with the launcher's working directory.

Powered by Google Project Hosting