agpz (Zipped agp file) was first added around 5.2 Editor version. Then around SMP 3 SP04 the editor started to be able to create a Zip file with the application and other files for production SMP deployments.
What Server are you publishing to? Agentry 6.x, SMP 2.3, or SMP 3.0?