build: renaming to sourcetrail

This commit is contained in:
Andreas Stallinger
2017-04-07 13:19:09 +02:00
parent 8391a6da57
commit 045a259b2e
224 changed files with 885 additions and 4271 deletions
@@ -5,22 +5,22 @@ int main()
{
HKEY hKey;
#ifdef WIN64
LONG lResult = RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Coati Software OG\\Coati 64-bit\\coatiSoftwareAppData"), 0, KEY_READ, &hKey);
LONG lResult = RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Coati Software OG\\Sourcetrail 64-bit\\sourcetrailAppData"), 0, KEY_READ, &hKey);
#else
LONG lResult = RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Coati Software OG\\Coati\\coatiSoftwareAppData"), 0, KEY_READ, &hKey);
LONG lResult = RegOpenKeyEx(HKEY_CURRENT_USER, TEXT("Software\\Coati Software OG\\Sourcetrail\\sourcetrailAppData"), 0, KEY_READ, &hKey);
#endif
if (lResult == ERROR_SUCCESS)
{
std::cout << "Coati found" << std::endl;
std::cout << "Sourcetrail found" << std::endl;
std::cout << "Performing upgrade" << std::endl;
}
else
{
std::cout << "Coati not found" << std::endl;
std::cout << "Sourcetrail not found" << std::endl;
std::cout << "Performing initial installation" << std::endl;
}
system("msiexec /i coati.msi");
system("msiexec /i sourcetrail.msi");
return 0;
}