Windows before installing gpu

Solution
No, not really.

Windows will detect the GPU once you've installed it - and then you head to either NVidia or AMDs website (depending on the card you have) and download the appropriate driver for your OS.