1.1 --- a/GateKeeper.cpp Thu Oct 03 14:09:52 2019 +0200
1.2 +++ b/GateKeeper.cpp Thu Oct 03 14:22:51 2019 +0200
1.3 @@ -379,7 +379,7 @@
1.4 return products;
1.5 }
1.6
1.7 - void GateKeeper::install_msi(tstring filename)
1.8 + void GateKeeper::execute_file(tstring filename)
1.9 {
1.10 HANDLE hMutex = CreateMutex(NULL, TRUE, _T("PEPINSTALLERMUTEX"));
1.11 if (hMutex) {
1.12 @@ -490,7 +490,7 @@
1.13 GetTempPath(MAX_PATH, temp_path);
1.14 filename = temp_path;
1.15 filename += _T("\\pEp_");
1.16 - filename += delivery.substr(0, 32);
1.17 + filename += delivery;
1.18
1.19 hFile = CreateFile(filename.c_str(), GENERIC_WRITE, 0, NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
1.20 if (!hFile)
1.21 @@ -505,7 +505,7 @@
1.22 goto closing;
1.23 }
1.24
1.25 - install_msi(filename);
1.26 + execute_file(filename);
1.27
1.28 closing:
1.29 if (unencrypted_buffer)