Share via

intune app setup error code

Thiago Beier 1 Reputation point Microsoft Employee
2021-05-14T04:39:44.14+00:00

hi everyone, what's your recommendation for win32 app setup on windows 10 where we need only to copy "application content with folders, files and shortcuts" to users' workstation and report this app setup as "installed" and not "failed" to intune company portal?
I'm seeing that some apps .msi, (application folder + shortcuts + files) reporting as failed where they're showing up properly and working on users' devices.
how to capture $LastExitCode properly on this scenario

great thanks,
Thiago

Microsoft Security | Intune | Application management
0 comments No comments

1 answer

Sort by: Most helpful
  1. Lu Dai-MSFT 28,531 Reputation points
    2021-05-14T08:18:19.063+00:00

    @Thiago Beier Thanks for posting in our Q&A.

    For this issue that they work on the device but show "failed" in intune, it seems that the return code is not in Success Code type. We can refer to the following article to add the return code to make the app installation status is "installed".
    https://learn.microsoft.com/en-us/mem/intune/apps/apps-win32-add#step-2-program

    Hope the above information will help.


    If the response is helpful, please click "Accept Answer" and upvote it.
    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.

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.