fix: GetHeliconApeVersion for old version of Ape

This commit is contained in:
Sergey 2012-12-29 17:24:11 +02:00
parent 043be0cccf
commit c5fa9db2cb

View file

@ -2037,6 +2037,19 @@ namespace WebsitePanel.Providers.Web
return System.Diagnostics.FileVersionInfo.GetVersionInfo(apeModulePath).FileVersion;
}
apeModulePath = Path.Combine(installDir, "ManualInstall\\bin\\Helicon.Ape.dll");
if (File.Exists(apeModulePath))
{
return System.Diagnostics.FileVersionInfo.GetVersionInfo(apeModulePath).FileVersion;
}
apeModulePath = Path.Combine(installDir, "Helicon.Ape.dll");
if (File.Exists(apeModulePath))
{
return System.Diagnostics.FileVersionInfo.GetVersionInfo(apeModulePath).FileVersion;
}
return HELICON_APE_NOT_REGISTERED;
}