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:
authorbinarymaster <x86corez@gmail.com>2015-08-11 05:32:35 +0300
committerbinarymaster <x86corez@gmail.com>2015-08-11 05:32:35 +0300
commit216255b3b41f72d523111dbbbeea25931820191e (patch)
treedcf3641143111f03ac085a07948610e79f659ce3 /src-installer
parente11b3c73548ab1768d0d560ed3e2f20c2508f721 (diff)
Pre-release updates
Diffstat (limited to 'src-installer')
-rw-r--r--src-installer/RDPWInst.dpr18
-rw-r--r--src-installer/resource.resbin397100 -> 973380 bytes
2 files changed, 14 insertions, 4 deletions
diff --git a/src-installer/RDPWInst.dpr b/src-installer/RDPWInst.dpr
index a5bee95..db0a3ba 100644
--- a/src-installer/RDPWInst.dpr
+++ b/src-installer/RDPWInst.dpr
@@ -606,6 +606,8 @@ begin
end;
procedure ExtractFiles;
+var
+ RDPClipRes: String;
begin
if not DirectoryExists(ExtractFilePath(ExpandPath(WrapPath))) then
if ForceDirectories(ExtractFilePath(ExpandPath(WrapPath))) then
@@ -616,18 +618,26 @@ begin
Halt(0);
end;
ExtractRes('config', ExtractFilePath(ExpandPath(WrapPath)) + 'rdpwrap.ini');
+ RDPClipRes := '';
case Arch of
32: begin
ExtractRes('rdpw32', ExpandPath(WrapPath));
- if not FileExists(ExpandPath('%SystemRoot%\System32\rdpclip.exe')) then
- ExtractRes('rdpclip32', ExpandPath('%SystemRoot%\System32\rdpclip.exe'));
+ if (FV.Version.w.Major = 6) and (FV.Version.w.Minor = 0) then
+ RDPClipRes := 'rdpclip6032';
+ if (FV.Version.w.Major = 6) and (FV.Version.w.Minor = 1) then
+ RDPClipRes := 'rdpclip6132';
end;
64: begin
ExtractRes('rdpw64', ExpandPath(WrapPath));
- if not FileExists(ExpandPath('%SystemRoot%\System32\rdpclip.exe')) then
- ExtractRes('rdpclip64', ExpandPath('%SystemRoot%\System32\rdpclip.exe'));
+ if (FV.Version.w.Major = 6) and (FV.Version.w.Minor = 0) then
+ RDPClipRes := 'rdpclip6064';
+ if (FV.Version.w.Major = 6) and (FV.Version.w.Minor = 1) then
+ RDPClipRes := 'rdpclip6164';
end;
end;
+ if RDPClipRes <> '' then
+ if not FileExists(ExpandPath('%SystemRoot%\System32\rdpclip.exe')) then
+ ExtractRes(RDPClipRes, ExpandPath('%SystemRoot%\System32\rdpclip.exe'));
end;
procedure DeleteFiles;
diff --git a/src-installer/resource.res b/src-installer/resource.res
index 402086a..4dd1297 100644
--- a/src-installer/resource.res
+++ b/src-installer/resource.res
Binary files differ