WIArchive
,
making it annoyingly easy to use.
The back end resides in the wiarchive
subdirectory and was written by Jens B„ckman.
First of all, include ../wiarchive/wiarchive.h in your source.
To define an archive called
arc, you code WIArchive arc;
and you're off.
Calling functions is really easy too; to open
an archive called Test, you use arc.open ("Test");
.
If you run into some
problem, the source should be pretty well commented out.
It's maybe even easier to read than this.
wic -a test 1 *
and the current (WarpIN) directory will be copied to
the archive TEST.WPI. Note that the profile will then
also be in the archive so that the installer (below)
will find it.
WIC.EXE currently can only handle files in the current directory.