Apple suggests that prior to submitting to the Mac application store, the installation process for Macs be tested using the command
sudo installer -store -pkg pa
Probably not exactly your issue..
Do you have any spaces in your package path? You should wrap it up in double quotes to be safe, otherwise it can be taken as two separate arguments
sudo installer -store -pkg "/User/MyName/Desktop/helloWorld.pkg" -target /