Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

cab file deploy

working on a deployment of a cab file (Win10 21H2 entitlement package) and using a cmd step with :   DISM /Online /Add-Package /PackagePath:"C:\Filepath.cab”

If i leave it like that, the task continues to run w/out completion.  If i try the command locally on a vm it looks like its a restart y/n? prompt.   I tried adding a /Quiet (to force a restart) and a /NoRestart to ignore (and then i'd throw in a restart step)....in those instances it completes but fails.  However the details of the step show it was successful.  If i reboot the vm the package shows it DID install correctly so curious what i'm missing in the pdq step so it doesnt show as "failed"

0

Comments

1 comment
Date Votes
  • If the details/logs for the step show as successful but the PDQ step shows as failed I recommend looking into the error code that is returned. If you find that the error code should be considered a success code, you can add it to the list of success codes for that step in the package.

    0