thank stoneharry i achieved that thing. I append with example_base.exe as base and is working like intended.
Edit :
component-*.txt need to have the header?
I am not sure what the component file is for - it seems to have no effect no matter what it says. It does need to have a header if you are including it.
One thing I have discovered is that an AVI file (movie) does need a header to install but the installer doesn't strip the header when copying it into the MPQ for some reason. If anyone knows how to solve this it would be appreciated.