How is the need for self-repair determined by the Windows Installer?