Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stascorp/rdpwrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStas'M <x86corez@gmail.com>2017-12-27 20:17:28 +0300
committerStas'M <x86corez@gmail.com>2017-12-27 20:17:28 +0300
commit1223417ca1bc9a4aa956fa0ee2735983bdf6cc38 (patch)
tree70b6689ac3d01c1fe6af2209f6405393d9deee13
parent180f41197aa6384b918caaec24d2ce17b262b645 (diff)
Installer: Extract rfxvmt.dll if missing (#194)
-rw-r--r--src-installer/RDPWInst.dpr10
-rw-r--r--src-installer/resource.resbin996464 -> 1141176 bytes
2 files changed, 9 insertions, 1 deletions
diff --git a/src-installer/RDPWInst.dpr b/src-installer/RDPWInst.dpr
index e5e43a6..9b5de2b 100644
--- a/src-installer/RDPWInst.dpr
+++ b/src-installer/RDPWInst.dpr
@@ -641,7 +641,7 @@ end;
procedure ExtractFiles;
var
- RDPClipRes, S: String;
+ RDPClipRes, RfxvmtRes, S: String;
OnlineINI: TStringList;
begin
if not DirectoryExists(ExtractFilePath(ExpandPath(WrapPath))) then
@@ -685,6 +685,7 @@ begin
end;
RDPClipRes := '';
+ RfxvmtRes := '';
case Arch of
32: begin
ExtractRes('rdpw32', ExpandPath(WrapPath));
@@ -692,6 +693,8 @@ begin
RDPClipRes := 'rdpclip6032';
if (FV.Version.w.Major = 6) and (FV.Version.w.Minor = 1) then
RDPClipRes := 'rdpclip6132';
+ if (FV.Version.w.Major = 10) and (FV.Version.w.Minor = 0) then
+ RfxvmtRes := 'rfxvmt32';
end;
64: begin
ExtractRes('rdpw64', ExpandPath(WrapPath));
@@ -699,11 +702,16 @@ begin
RDPClipRes := 'rdpclip6064';
if (FV.Version.w.Major = 6) and (FV.Version.w.Minor = 1) then
RDPClipRes := 'rdpclip6164';
+ if (FV.Version.w.Major = 10) and (FV.Version.w.Minor = 0) then
+ RfxvmtRes := 'rfxvmt64';
end;
end;
if RDPClipRes <> '' then
if not FileExists(ExpandPath('%SystemRoot%\System32\rdpclip.exe')) then
ExtractRes(RDPClipRes, ExpandPath('%SystemRoot%\System32\rdpclip.exe'));
+ if RfxvmtRes <> '' then
+ if not FileExists(ExpandPath('%SystemRoot%\System32\rfxvmt.dll')) then
+ ExtractRes(RfxvmtRes, ExpandPath('%SystemRoot%\System32\rfxvmt.dll'));
end;
procedure DeleteFiles;
diff --git a/src-installer/resource.res b/src-installer/resource.res
index ebdf66d..920430a 100644
--- a/src-installer/resource.res
+++ b/src-installer/resource.res
Binary files differ