@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:
- Open Command Prompt and navigate to the folder containing the MSI file.
- 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".
- Open the log file and search for "Product Code". This will be a long string of numbers and letters enclosed in braces { }.
- 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.