WPF application for MSI installation with silent mode then get progress and status message

I have to install MSI file in silent mode using WPF application and need to show install progress and status message. I am installing MSI using Microsoft.Deployment.WindowsInstaller assembly and installation completed properly.

How could I get progress of installation and status message from above assembly? or Is there any other method to install msi with silent mode and get progress and status message to show in UI of WPF application?

Installer.InstallProduct(sourcePath, "Arguments");

I have looked into below link,

Get progress value and status of a MSI installation


How to make use of it in WPF application?. Is there any sample code in C# available in any link?

Please any one help on this?