sudo installer message

When you run the installer on a MAS build e.g.

sudo installer -store -pkg <path-to-pkg> -target /


I see this message as the first line

installer: Note: running installer as an admin user (instead of root) gives better Mac App Store fidelity


What does this message mean? I can't see how it is possible to run as admin user because if I remove "sudo" then the command does nothing.

I think the point of the message is that simulating a MAS installation is more realistic if done using admin priveleges instead of root—because admin is closer to the way it works in "real life." That said, there isn't a way to do that from the command line, but you probably shouldn't worry about it; any differences will probably be very minor.

sudo installer message
 
 
Q