Yeah installer, that's right.
The trick is in taking the array element:
["GD Version"]=> string(24) "bundled (2.0 compatible)"
and parsing it so you can check... You basically just parse the value down to the 2, make it an integer, and compare that... Like:
If($versionnumber >= 2) {
// GD2 is installed
} else {
// GD2 is not installed
}
You need to parse it to the 2, because in my case on my own computer, it is:
["GD Version"]=> string(27) "bundled (2.0.23 compatible)"
so you can't just do a straight comparison to the whole value...
There's probably an easier way to do this, but I can't really wrap my head around it right now.