These extra features can't always or easily be accomplished by drag-and-drop, so applications which use them must have an additional installer script.
Installer scripts also check that you have the appropriate hardware available or software libraries installed if the application depends on them.