AVI is to video, what WAV is to audio.
It's uncompressed and universal. Since you need an interim file before compressing to WMV, you will get best results by NOT compressing it before.

-Michael