I am trying to do a silent install of LastPass on our Macbooks, I am following the instructions from this link. I downloaded the pkg and created a dmg using composer which will put the LastPass pkg in the users downloads folder. I then run a policy that runs the following script
sudo installer -pkg lpmacosx.pkg -tgt /
This is where I am having the issue, the policy fails stating that the package path specified was invalid: 'lpmacosx.pkg'. I do not know much about scripting but I am wondering if I am supposed to put the location of the pkg in the script for it to run properly. Any help is much appreciated.