support privileged app generation (bug 1104862)