You know something U did jus wat i was goin to do I jus started with the code which will allow to unpack only installtions not other archives for other archives i use IZArc http://www.izsoft.dir.bg which unpacks every known archive including bin,iso,nrg,img files So i think u oly concentrate on unpacin installers let IZArc do the other job BTW u can call IZArc from commandline and avoid use of other files Just a suggestion hop u lik it