1. The ProductID is how DSC identifies if the package is installed or not, at least in the current iteration. You can look at the Win32_Product WMI class to get product IDs of installed products. It’s just the Windows Installer product ID.
2. No idea. Bit tough for me to guess with just the information you’ve provided.