PerfectoLibrary install application method

Anyone who knows hot to use this PerfectoLibrary.install application method?
I’m trying to install the app I’m going to automate then uninstall it after the execution.