Index: src/plugin/PluginClass.cpp |
=================================================================== |
--- a/src/plugin/PluginClass.cpp |
+++ b/src/plugin/PluginClass.cpp |
@@ -705,9 +705,9 @@ |
{ |
return false; |
} |
- |
s_criticalSectionLocal.Lock(); |
- int versionCompRes = CPluginClient::GetInstance()->CompareVersions(CPluginClient::GetInstance()->GetPref(L"currentVersion", L"0.0"), L"1.2"); |
+ std::wstring curVer = CPluginClient::GetInstance()->GetPref(L"currentVersion", L"0.0"); |
+ int versionCompRes = CPluginClient::GetInstance()->CompareVersions(curVer, L"1.2"); |
bool isFirstRun = CPluginClient::GetInstance()->IsFirstRun(); |
CPluginClient::GetInstance()->SetPref(L"currentVersion", std::wstring(IEPLUGIN_VERSION)); |
@@ -717,7 +717,11 @@ |
{ |
if (!isFirstRun) |
{ |
- CPluginClient::GetInstance()->SetPref(L"displayUpdatePage", true); |
+ // Display an update page only if it's not a conversion from other product |
+ if (CPluginClient::GetInstance()->GetConvertedFrom() == L"") |
+ { |
+ CPluginClient::GetInstance()->SetPref(L"displayUpdatePage", true); |
+ } |
} |
// IE6 can't be accessed from another thread, execute in current thread |