So i think that i need some help for making simple install program for my fake os or shell (or whatever you wan't to call it...

I want that it have own file extension like rpm or deb wich haves some files inside and that program install thems to right places...
For example:
I have one myprogram.myextension and i give command "install myprogram.myextension" and it looks that file have myprog.exe, myprog.001 and myprog.002 files inside so it copies myprog.exe to /usr/bin, myprog.001 to /etc and myprog.002 to /usr/man.
I already talked about that in one of finnish biggest quickbasic programming site, but they doesn't really helped me.

Sorry my english...