You can enable diagnostic logging of Group Policy Application Deployment, to determine the cause of problems with the advertisement, publishing, or assignment of Windows Installer programs.
To enable diagnostic logging, use Regedt32 to navigate to:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion
If a Diagnostics sub-key does NOT exist, press Add Key on the Edit menu, type Diagnostics in the Key Name box, and press OK.
Select the Diagnostics key and press Add Value on the Edit menu. Type AppMgmtDebugLevel in the Value Name box. Toggle the Data Type to REG_DWORD and press OK. In the DWORD Editor, type 4b in the Data box, using the Hex Radix.
When Group Policy processing occurs on this computer, a %SystemRoot%\Debug\UserMode\Appmgmt.log is created.