https://www.msi.com/Motherboard/support/Z170I-GAMING-PRO-AC#support-cpu
"Core i7 Kabylake i7-7700K 100 4.2 1M 8M B0 91 HDGraphics630 1150MHz 7980v1A.zip"
from the MSI page, the CPU is supported with the proper BIOS upgrade, if you do not already have the proper BIOS you will need to use a 6th generation CPU to flash the BIOS to support the 7th generation 7700k.
https://www.msi.com/Motherboard/support/Z170I-GAMING-PRO-AC#support-cpu
"Core i7 Kabylake i7-7700K 100 4.2 1M 8M B0 91 HDGraphics630 1150MHz 7980v1A.zip"
from the MSI page, the CPU is supported with the proper BIOS upgrade, if you do not already have the proper BIOS you will need to use a 6th generation CPU to flash the BIOS to support the 7th generation 7700k.