There is no official PC release of Mega Man X7, so there is no legitimate download for Windows. The game exists on PlayStation 2 only.
Mega Man X7 was a PS2 exclusive in 2003. The X series' PC history is patchy — a handful of early titles and the Mega Man X Legacy Collection releases reached Windows, but X7 was not among them. That collection covers X1 through X6, which is precisely why people looking for X7 on PC come up empty.
X7 is the most divisive entry in the series. It introduced 3D segments alongside the traditional 2D action, and the 3D platforming was widely criticised at release. Many players consider it the weakest mainline X game. If you are hunting it out of curiosity, that is a fine reason; if you are hunting it expecting the classic formula, the Legacy Collection is the better use of your time.