Execute MSP

Copper Contributor

Trying to run this command and it fails and gives error as such. Any idea where I might be going wrong

 

Installdir = "c:\temp\install_adobe"
New-Item -Path $Installdir -ItemType directory

 

This is the command executed  shown below and get error.

Execute-MSP -Path '$Installdir\AcrobatDCx64Upd2200120169.msp' -ArgumentList "/sAll /rs /rps /msi /norestart /quiet EULA_ACCEPT=YES"

 

Error

Execute-MSP : The term 'Execute-MSP' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Execute-MSP -Path '$Installdir\AcrobatDCx64Upd2200120169.msp' -Argume ...
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Execute-MSP:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

2 Replies
You need to download PSAppDeployToolkit
https://allnewandimproved.psappdeploytoolkit.com/

If you created the MSP file with the Adobe Customization Wizard you just need to run the setup.exe in the same folder: https://www.sccm.ie/how-to/60-install-adobe-reader-dc-with-sccm