123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- #include "KeyVar.h"
- #pragma region 安装信息
- #ifdef Beta
- const wstring Product::URI_AppXml = L"http://test-pdf-pro.kdan.cn:3021/downloads/pdfreaderprocast_win_en_Us.xml";
- #else
- const wstring Product::URI_AppXml = L"https://www.pdfreaderpro.com/downloads/pdfreaderprocast_win_en_Us.xml";
- #endif
- #ifdef Beta
- wstring Product::URI_InstallPackge = L"http://test-pdf-pro.kdan.cn:3021/downloads/PDFReaderPro.exe";
- #else
- wstring Product::URI_InstallPackge = L"https://pdfreaderpro.oss-cn-shanghai.aliyuncs.com/downloads/PDFReaderPro.exe";
- #endif
- const wstring Product::smName_InstallPackage = L"PDFReaderPro.exe";
- const wstring Product::smName_Application = L"PDFReaderProWin.exe";
- const wstring Product::smName_Product = L"PDF Reader Pro";
- const unsigned int Product::unFreeDiskMinSize = 1024;
- const int Product::InstallPathMaxLength = 160;
- #pragma endregion
- #pragma region 程序
- const wstring ExeCore::smName_ExeProcess = L"PDFReaderPro_Installer.exe";
- const wstring ExeCore::smName_AppName = L"PDF Reader Pro Installer";
- #pragma endregion
- #pragma region Banner信息
- #ifdef Beta
- const wstring BannerCore::URI_BannerJson = L"http://test-store.kdan.cn:3019/api/advertise/getBanner";
- #else
- const wstring BannerCore::URI_BannerJson = L"https://store.filmagepro.com:3018/api/advertise/getBanner";
- #endif
- const wstring BannerCore::smName_BannerJson = L"Banner.json";
- int BannerCore::ShowBannerCount = 5;
- #pragma endregion
- #pragma region 路径
- wstring PathCore::smPath_Install = L"C:\\Program Files\\PDF Technologies, Inc";
- wstring PathCore::smPath_Temp = L"C:/Program Files(x86)/Temp";
- wstring PathCore::smPath_DefaultInstall = L"C:\\Program Files\\PDF Technologies, Inc";
- #pragma endregion
- #pragma region 注册表
- const wstring RegeditCore::smPath_ProductsInfo = L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Installer\\UserData\\S-1-5-18\\Products";
- const wstring RegeditCore::smPath_DefaultPDFOpen = L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Explorer\\FileExts\\.pdf\\UserChoice";//暂时用不到,App自动启动
- const wstring RegeditCore::smPath_NETFrameworkInfo = L"SOFTWARE\\WOW6432Node\\Microsoft\\NET Framework Setup\\NDP\\v4\\Full";
- const wstring RegeditCore::smPath_InternetProxyInfo = L"SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Internet Settings";
- const wstring RegeditCore::smPath_VsCPulsPulsInfoX64 = L"SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\X64";
- const wstring RegeditCore::smPath_VsCPulsPulsInfoX86 = L"SOFTWARE\\WOW6432Node\\Microsoft\\VisualStudio\\14.0\\VC\\Runtimes\\X86";
- #pragma endregion
|