diff --git a/testData/preferences/john.json b/testData/preferences/john.json new file mode 100644 index 000000000..0265a4e6e --- /dev/null +++ b/testData/preferences/john.json @@ -0,0 +1,12 @@ +{ + "flat": { + "contexts": { + "gpii-default": { + "name": "Default preferences", + "preferences": { + "http://registry.gpii.net/applications/info.wordweb": {} + } + } + } + } +} \ No newline at end of file diff --git a/testData/solutions/win32.json5 b/testData/solutions/win32.json5 index 7616551c7..82cc108c2 100644 --- a/testData/solutions/win32.json5 +++ b/testData/solutions/win32.json5 @@ -2840,5 +2840,49 @@ "type": "gpii.deviceReporter.alwaysInstalled" } ] + }, + + "info.wordweb": { + "name": "WordWeb", + "contexts": { + "OS": [ + { + "id": "win32", + "version": ">=5.0" + } + ] + }, + "settingsHandlers": { + "configuration": { + "type": "gpii.settingsHandlers.noSettings" + } + }, + "start": [ + { + "type": "gpii.launch.exec", + "command": "\"C:\\Program Files (x86)\\WordWeb\\wweb32.exe\"" + } + ], + "stop": [ + { + "type": "gpii.windows.closeProcessByName", + "filename": "wweb32.exe" + } + ], + "isInstalled": [ + { + "type": "gpii.deviceReporter.registryKeyExists", + "hKey": "HKEY_CURRENT_USER", + "path": "Software\\WordWeb\\3", + "subPath": "Font Name", + "dataType": "REG_SZ" + } + ], + "isRunning": [ + { + "type": "gpii.processReporter.find", + "command": "wweb32" + } + ] } }