Given Windows 7 and older are x86 (Intel and AMD and compatibles) only, and a PowerMac G4 uses a Motorola PowerPC processor, the answer is you don't run Windows 7 on a G4 mac without using a virtual machine. Only Intel-based Macs can run Windows natively (and not all of them do it well, either).