Suite always prompts user for newer version when offline
I'm developing a Suite/Advanced UI Installation with downloadable update support, that prompts the user before download the updated version. It works fine, but I realised that it always prompts user when the computer is offline. After the prompt window, it continues the installation, whatever the answer.
The prompt window is shown always, even when the user is launching the last version of the product (the computer is offline, so it can't check for updates), and it may be confusing for the user.
How could I prevent the prompt window in that case?