Note: This is for OS X Installer packages only, packages for submission to the Mac App Store follow different rules.
Because of Mountain Lion\'s Gatekeeper I finally
A +1 to accepted answer:
Destination Selection in Installer
If domain (a.k.a destination) selection is desired between user domain and system domain then rather than trying use following:
enable_currentUserHome installs application app under ~/Applications/ and enable_localSystem allows the application to be installed under /Application
I've tried this in El Capitan 10.11.6 (15G1217) and it seems to be working perfectly fine in 1 dev machine and 2 different VMs I tried.