Uploading Sketches without bootloader

So I changed data in board.txt file ( line about protocol atmega8.upload.protocol=avrispmkii) to use stk500 for uploading data into ATmega should I change max upload size from 7168 to 8000 t ?

I don't understand what you're trying to do. If there is no bootloader on your board, then you're not going to be able to upload a sketch at all. You would need a programmer like the AVR ISP MKii or something that supports bit banging. If you have a production ready hex file (sketch) you can deploy it without a boot loader. But then it can only be updated with a programmer.

I have ISP-programmer , how I can produce hex file ?