BriefThis 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 UsagePut 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 UsageYou 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 DirectoryWhen 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.
|