When create a deployment package you can select the "Run mode" of the package. This dictates which permissions are used when installing the package. To make sure you are installing with admin rights you can use the Scanning Credentials run mode. However, most of the time the System Account run mode should have sufficient rights to run your package.