When installing new software you usually get a message telling you to close all other applications. I do this which I suppose is to avoid conflicts but I'm unsure whether I should also close programmes like my antivirus and antispyware. I usually close them after disconnecting from the internet but some programmes want to connect to a website as a part of the installation process.

What's the right approach to this?