Generating Wix file (*.wxs) from an MSI

For generating Wix file (*.wxs) from an existing MSI we can utilize dark.exe that comes with Wix. Following is the command for generating it C:\Program Files\Windows Installer XML v3\bin>dark.exe <MSI File Path> <Path for Wix File (*.wxs)>