Sketch vs Microchip Studio?

I don’t want a bootloader installed. This is an embedded product.

Do you also use those programmers with Arduino IDE (or with AVRDUDE directly)?

If so, have you encountered the problem of the Microchip Studio driver being incompatible with AVRDUDE and the driver suitable for use with AVRDUDE being incompatible with Microchip Studio?

Yes, I have used both programmers with Arduino IDE 1.8.19 and earlier, without problems.

I don't bother using AVRDUDE directly, e.g. for programming fuses, because it is so much easier to use Microchip Studio for that purpose. And Studio does work without issues to burn a .hex file produced by the IDE.

On new chips, the bootloader programming procedure installs the fuses, so if you're programming from the IDE environment, only programming the bootloader and then programming the chip makes the program execution relevant; programming through a programmer alone doesn't install the fuses.

Did you encounter any problems with the driver for the programmers? If so, what solution did you find to allow the use of the programmers with both Arduino IDE and Microchip Studio?

I encountered the same problem reported by @andy_ee way back around 2013 when I was deciding whether I wanted to continue with Arduino IDE, or switch to Atmel Studio. I gave Atmel Studio a try (and I believe the Visual Micro extension that adds Arduino framework support to Atmel Studio). I found it was not to my liking and switched back to Arduino IDE, only to find that uploads via my Atmel AVRISP mkII now failed with that "avrdude: usbdev_open(): did not find any USB device "usb"" error.

So I do have personal experience of the incompatibility between the "Jungo" driver Atmel Studio installed at that time and AVRDUDE. However, that was long ago and I also never tried going back to Atmel Studio after replacing the "Jungo" driver with libusbK.

OK, so if I install a bootloader it will set the fuses properly for a 16mhz crystal which is the same as the Uno board?

Then loading a .hex file will clear out the bootloader?

I guess I can load the boot loader then look at the fuse values to program future chips?

I would say yes.
I get Firmware updates in HEX format from one of our suppliers and then update the firmware with Microchip Studio.

The chip is an Atmega64.

Yes!

ptillisch, quick question RE post #6:

Does this update reprogram the AVRISP unit firmware or is it just a Windows driver?

It is just a driver. It doesn't have any effect on the AVRISP mkII unit; only on your PC's operating system.

Thanks!

Yes, Microchip Studio should be able to program the .hex file into the AVR through one of its supported programmers, without needing the source code. You could also look at using one of the command-line tools that come with studio ("atprog" ?), or you could use avrdude from the command line, either with your programmer and its problematic driver situation, or through the arduino bootloader.