Other Configuration Manager-related features and issues
I will raise an support call with Microsoft.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have the the following question (SCCM/MECM version 2207).
I know that the application setup will return an exitcode 4 (fail) if the license server is not reachable during install time. Nothing we can do about it, it's vendor default (Comsol 6.1).
What we can do is give feedback to the user and feedback in the log files about that exitcode 4.
So I added this return code 4 to the "Return Codes" tab of the deployment type:
But the Appenforce.log keeps telling me the exit code 4 is unmatched.
Also there is no feedback for the user from Software Center:
What am I missing here?
We have also played with this setting in the user experience tab:
I am using the correct revision, issue persists on multiple workstations.
Other Configuration Manager-related features and issues
I will raise an support call with Microsoft.
Hi, @JMB
I test it in my lab, if I add a custom return code 6 Failure(no reboot), I get the same result as you, but if I add a custom return code 5 Success(no reboot), it matched the exit code 5. It's really strange, I will do more research about it, if there any progress, I will update it here.
I have isolated the problem, in this case I used en exitcode of 5.
Just a install.cmd with:
exit /b 5
Same issue:
AppEnforce.log:
Hi @AllenLiu-MSFT
I have done exactly what you asked, I've removed the deployment. Waited until the Application was no longer in Software Center, Deployed again and tested.
Same issue:
Easy to reproduce. If you deploy an application with an install.cmd with the contents "exit /b 4".
This will force an exitcode of 4.
Note, of course you have to add the Value to the Return Codes table on the deployment type:
Hi, @JMB
Thank you for posting in Microsoft Q&A forum.
If I understand correctly, you added the return code 4 to the "Return Codes" tab after you deployed the application.
So it seems the clients do not recieve your change, you may try the steps:
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.