How to get MSI product code to deploy the app via Intune on devices?

Vinod Survase 4,776 Reputation points
2023-06-09T14:05:03.3466667+00:00

How to get MSI product code to deploy the app via Intune on devices?

We are getting apps from Internet and deploying the apps and don't have any apps packaging team so far but when we deploy the apps its failing to after installation by detection rules.

See below screenshot.

User's image

Microsoft Security Intune Configuration
Microsoft Security Intune Application management
Microsoft Security Intune Other
0 comments No comments
{count} votes

Accepted answer
  1. Crystal-MSFT 53,981 Reputation points Microsoft External Staff
    2023-06-12T02:05:15.97+00:00

    @Vinod Sur, Thanks for posting in Q&A.

    Based as I know, when we are wrapping a MSI file as .intunewin, the MSI product code will enter automatically when choose MSI in the detection rule.

    Meanwhile, to get the product code of an MSI app via command line, you can follow these steps:

    1. Open Command Prompt and navigate to the folder containing the MSI file.
    2. Type msiexec /I filename.msi /L*V log.txt and press Enter. This will start the installation process and create a log file named "log.txt".
    3. Open the log file and search for "Product Code". This will be a long string of numbers and letters enclosed in braces { }.
    4. Copy the product code and use it for detection rules in Intune.

    Hope it can help.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "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.

    4 people found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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