Hi guys,
I am trying to solve a puzzle.
I am deploying Adobe Acrobat with msi file and mst.
I wrote the proper command and when I run the script locally its working great.
When I deploying it through Configuration Manager (SCCM) as application, i get an error saying that the MSI could not be found.
The msi is located in the following folder: .\files\acrobat9\acropro.msi
SCCM download the content of the folder first and then tries to deploy the ps1 file.
How can reveal the path the sccm application is running in order to troubleshoot this error?
this is the command line: Execute-MSI -Action 'Install' -Path ".\source\Acrobat9\AcroPro.msi" -TRANSFORM "$dirfiles\acrobat9\AcroPro.mst" -Parameters '/QN'
(i am using source instead of files folder )
the error message:
---------------------------
Poalim Adobe Acrobat Pro 9.0
---------------------------
Error Record:
-------------
Message : Failed to find MSI file [.\source\Acrobat9\AcroPro.msi].
InnerException :
FullyQualifiedErrorId : Failed to find MSI file [.\source\Acrobat9\AcroPro.msi].
ScriptStackTrace : at Execute-MSI<Process>, C:\Windows\ccmcache\t\AppDeployToolkit\AppDeployToolkitMain.ps1: line
3504
at <ScriptBlock>, C:\Windows\ccmcache\t\Deploy-Application.ps1: line 129
at <ScriptBlock>, <No file>: line 1
at <ScriptBlock>, <No file>: line 1
PositionMessage : At C:\Windows\ccmcache\t\AppDeployToolkit\AppDeployToolkitMain.ps1:3504 char:17
+ Throw "Failed to find MSI file [$path]."
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------
Poalim Adobe Acrobat Pro 9.0
---------------------------
Error Record:
-------------
Message : Failed to find MSI file [$dirFiles\Acrobat9\AcroPro.msi].
InnerException :
FullyQualifiedErrorId : Failed to find MSI file [$dirFiles\Acrobat9\AcroPro.msi].
ScriptStackTrace : at Execute-MSI<Process>, C:\Windows\ccmcache\20\AppDeployToolkit\AppDeployToolkitMain.ps1:
line 3504
at <ScriptBlock>, C:\Windows\ccmcache\20\Deploy-Application.ps1: line 129
at <ScriptBlock>, <No file>: line 1
at <ScriptBlock>, <No file>: line 1
PositionMessage : At C:\Windows\ccmcache\20\AppDeployToolkit\AppDeployToolkitMain.ps1:3504 char:17
+ Throw "Failed to find MSI file [$path]."
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
---------------------------
OK
---------------------------
During the deployment, can you check the contents of the C:\Windows\ccmcache\20\ folder structure on a machine that this is being sent to?
It would be interesting to see exactly what files and folders you have below C:\Windows\ccmcache\20\
That is assuming the \20\ subfolder is the same location on different clients?
Hi,
This is the first thing i check. to see if the package are downloaded correctly.
i even compared with beyond compare between the original folder and the downloaded folder from SCCMâŚthe folders are identical.
AFAIK, using a single quote means the string is interpreted as literal and no changes/substitutions are made. Whereas with double quotes, substitutions are made so â$dirFilesâ is literally just that while â$dirFilesâ gets substituted with whatever you defined $dirFiles to be (which in your case looks to be âc:\windows\ccmcache\t\Sourceâ).