1 HKCU { 2 NoRemove Software { 3 NoRemove Classes { 4 ForceRemove '%APP_USER_MODEL_ID%' { 5 ForceRemove .exe { 6 ForceRemove shell = s 'open' { 7 ForceRemove open { 8 command = s '%EXE_OPEN_COMMAND%' { 9 val DelegateExecute = s '%DELEGATE_EXECUTE_CLSID%' 10 } 11 val CommandId = s 'Browser.Launch' 12 } 13 ForceRemove opennewwindow = s 'New Window' { 14 command = s '%EXE_OPEN_COMMAND%' { 15 val DelegateExecute = s '%DELEGATE_EXECUTE_CLSID%' 16 } 17 val CommandId = s 'Browser.Launch' 18 } 19 } 20 } 21 } 22 } 23 } 24 } 25 26 HKCU { 27 NoRemove Software { 28 NoRemove Classes { 29 ForceRemove '%PROG_ID%' = s 'Test Delegate Execute ProgId' { 30 val AppUserModelId = s '%APP_USER_MODEL_ID%' 31 val 'URL Protocol' = s '' 32 ForceRemove Application { 33 val ApplicationName = s '%EXE_NAME%' 34 val ApplicationCompany = s 'Google Inc.' 35 val ApplicationDescription = s 'Test Description' 36 val ApplicationIcon = s '%EXE_ICON%' 37 val AppUserModelId = s '%APP_USER_MODEL_ID%' 38 } 39 ForceRemove DefaultIcon = s '%EXE_ICON%' { 40 } 41 ForceRemove shell { 42 ForceRemove open { 43 ForceRemove command = s '%PROG_ID_OPEN_COMMAND%' { 44 val DelegateExecute = s '%DELEGATE_EXECUTE_CLSID%' 45 } 46 } 47 } 48 } 49 } 50 } 51 } 52 53 HKCU { 54 NoRemove Software { 55 NoRemove Classes { 56 NoRemove CLSID { 57 ForceRemove '%DELEGATE_EXECUTE_CLSID%' = s 'Test CommandExecuteImpl Class' { 58 ForceRemove Programmable 59 LocalServer32 = s '%MODULE%' { 60 val ServerExecutable = s '%MODULE_RAW%' 61 } 62 } 63 } 64 } 65 } 66 } 67 68 HKCU { 69 NoRemove Software { 70 NoRemove Clients { 71 NoRemove StartMenuInternet { 72 ForceRemove '%APP_USER_MODEL_ID%' = s '%EXE_NAME%' { 73 ForceRemove Capabilities { 74 val ApplicationDescription = s 'Test Description' 75 val ApplicationIcon = s '%EXE_ICON%' 76 val ApplicationName = s '%EXE_NAME%' 77 ForceRemove Startmenu { 78 val StartMenuInternet = s '%APP_USER_MODEL_ID%' 79 } 80 ForceRemove URLAssociations { 81 val http = s '%PROG_ID%' 82 val https = s '%PROG_ID%' 83 } 84 } 85 } 86 } 87 } 88 } 89 } 90 91 HKCU { 92 NoRemove Software { 93 NoRemove RegisteredApplications { 94 val '%APP_USER_MODEL_ID%' = s 'Software\Clients\StartMenuInternet\%APP_USER_MODEL_ID%\Capabilities' 95 } 96 } 97 } 98 99 100