From 2423b9fd0aac2c056dcfe3a2b0b7d6ee10fae18d Mon Sep 17 00:00:00 2001 From: jthedering <51533355+jthedering@users.noreply.github.com> Date: Mon, 20 May 2013 18:10:07 +0000 Subject: [PATCH] Fixed: Installation to device that has an FxProperties registry key but no APO guid value. --- DeviceAPOInfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DeviceAPOInfo.cpp b/DeviceAPOInfo.cpp index cb7fe21..8f274b3 100644 --- a/DeviceAPOInfo.cpp +++ b/DeviceAPOInfo.cpp @@ -165,7 +165,7 @@ void DeviceAPOInfo::install() RegistryHelper::writeValue(keyPath + L"\\FxProperties", fxTitleValueName, L"Equalizer APO"); } - else + else if(originalApoGuid != APOGUID_NOVALUE) { RegistryHelper::saveToFile(keyPath + L"\\FxProperties", guidValueName, L"backup_" + StringHelper::replaceIllegalCharacters(deviceName) + L"_" + StringHelper::replaceIllegalCharacters(connectionName) + L".reg");