Capturing a .wim of a sysprepped pc

I've created a reference win7 pro pc with all applications and settings configured for our company. I need to capture it as a .wim image so I can create an answer file for it in wsim. Should I capture it with imagex before or after I sysprep it with sysprep /oobe /generalize?

All I need is for it to prompt me for a computer name and the rest of the install can be unattended. Any help is appreciated.

This website is not affiliated, owned, or endorsed by Microsoft Corporation. It is a member of the Microsoft Partner Program.