Error after the Refresh the Desktop and Windows Explorer Environment

Hello, I am working on an msi install with parameters and everything seems to go fine until the Refresh Desktop and Windows Environment step.

Then I get this message
[Installation] :: Error Record:

Message : The term ‘redacted.msi’ 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.
InnerException :

FullyQualifiedErrorId : CommandNotFoundException
ScriptStackTrace : at , C:\Operate\PSAppDeployToolkit_v3.9.3 - Program
\Toolkit\Deploy-Application.ps1: line 227
at , : line 1
at , : line 1

PositionMessage : At C:\Operate\PSAppDeployToolkit_v3.9.3 - Program\Toolkit\Deploy-Application.ps1:227 char:1
+ redacted.msi -Parameters ‘/quiet /MODEL=N /CONNECTION=XXX’ -Er …
+ ~~~~~~~~~~~~~~~~~~~

Deploy Application	8/25/2023 11:33:20 AM	1892 (0x0764)

It still installs the application but I have another piece in the post installation that I believe this error is causing it skip that part. I have tried continue on error/erroraction -continue pieces but that error still shows up in the log and it exits with 60001

Em… your line 227 is not complete

I Think it should start with Execute-MSI

Thank you, that got me on the right path.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.