Both are correct, and they mean the same thing. "wanted" is framed in what may be called 'the past of politeness'. The verb "need" in the IF-clause can match the present tense of "I'm installing" or the past tense "wanted", as you wish.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.