KeyVar.cpp 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. #include "KeyVar.h"
  2. #pragma region 安装信息
  3. #ifdef Beta
  4. const wstring Product::URI_AppXml = L"http://test-pdf-pro.kdan.cn:3021/downloads/pdfreaderprocast_win_en_Us.xml";
  5. #else
  6. const wstring Product::URI_AppXml = L"https://www.pdfreaderpro.com/downloads/pdfreaderprocast_win_en_Us.xml";
  7. #endif
  8. #ifdef Beta
  9. wstring Product::URI_InstallPackge = L"http://test-pdf-pro.kdan.cn:3021/downloads/PDFReaderPro.exe";
  10. #else
  11. wstring Product::URI_InstallPackge = L"https://pdfreaderpro.oss-cn-shanghai.aliyuncs.com/downloads/PDFReaderPro.exe";
  12. #endif
  13. const wstring Product::smName_InstallPackage = L"PDFReaderPro.exe";
  14. const wstring Product::smName_Application = L"PDFReaderProWin.exe";
  15. const wstring Product::smName_Product = L"PDF Reader Pro";
  16. const unsigned int Product::unFreeDiskMinSize = 1024;
  17. const int Product::InstallPathMaxLength = 160;
  18. #pragma endregion
  19. #pragma region 程序
  20. const wstring ExeCore::smName_ExeProcess = L"PDFReaderPro_Installer.exe";
  21. const wstring ExeCore::smName_AppName = L"PDF Reader Pro Installer";
  22. #pragma endregion
  23. #pragma region Banner信息
  24. #ifdef Beta
  25. const wstring BannerCore::URI_BannerJson = L"http://test-store.kdan.cn:3019/api/advertise/getBanner";
  26. #else
  27. const wstring BannerCore::URI_BannerJson = L"https://store.filmagepro.com:3018/api/advertise/getBanner";
  28. #endif
  29. const wstring BannerCore::smName_BannerJson = L"Banner.json";
  30. int BannerCore::ShowBannerCount = 5;
  31. #pragma endregion
  32. #pragma region 路径
  33. wstring PathCore::smPath_Install = L"C:\\Program Files\\PDF Technologies, Inc";
  34. wstring PathCore::smPath_Temp = L"C:/Program Files(x86)/Temp";
  35. wstring PathCore::smPath_DefaultInstall = L"C:\\Program Files\\PDF Technologies, Inc";
  36. #pragma endregion
  37. #pragma region 注册表
  38. const wstring RegeditCore::smPath_ProductsInfo = L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products";
  39. const wstring RegeditCore::smPath_DefaultPDFOpen = L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\.pdf\\UserChoice";//暂时用不到,App自动启动
  40. const wstring RegeditCore::smPath_NETFrameworkInfo = L"SOFTWARE\\WOW6432Node\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full";
  41. const wstring RegeditCore::smPath_InternetProxyInfo = L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings";
  42. const wstring RegeditCore::smPath_VsCPulsPulsInfoX64 = L"SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\X64";
  43. const wstring RegeditCore::smPath_VsCPulsPulsInfoX86 = L"SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\X86";
  44. #pragma endregion