AI_DETECTED_INTERNET_CONNECTION is the AI property that defines if there is an Internet connection present.
The problem is that the value of the property is only set if the installer itself needs to check for the Internet, which is not usually the case.
So to force AI to define our property, go to the Requirements->Launch Conditions page and turn on the 'Run only if an active Internet connection is found'.
Now we do indeed want our installer to run despite turning that on, so go to the Custom Behavior->Table Editor and choose the LaunchCondition table.
Highlight the AI_DETECTED_INTERNET_CONNECTION line and click the Delete icon at the top, the line will get a green line through it.
Now our property is set to whether or not we are connected to the internet, but we have disabled the condition that would have made the installer exit.
However, we can do whatever we want ourselves by testing the AI_DETECTED_INTERNET_CONNECTION property which should not be correctly set.
- To detect if there is an Internet connection:
1. Check 'Run only if an active Internet connection is found' under Requirements->Launch Conditions
2. Delete the AI_DETECTED_INTERNET_CONNECTION condition line in the LaunchCondition table found under Custom Behavior->Table Editor
FOLLOW US
Get the latest news in Application Packaging