-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b1db118
commit 3c71c3d
Showing
23 changed files
with
202 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
|
||
add_subdirectory(mstsc) | ||
add_subdirectory(msrdc) | ||
add_subdirectory(mstscex) | ||
add_subdirectory(msrdcex) |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# msrdcex launcher executable | ||
|
||
windows_rc_generate_version_info( | ||
NAME "msrdcex" TYPE "EXE" | ||
VERSION "${MSRDPEX_VERSION}" | ||
FILENAME "msrdcex.exe" | ||
VENDOR "${MSRDPEX_VENDOR}" | ||
COPYRIGHT "${MSRDPEX_COPYRIGHT}" | ||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version.rc) | ||
|
||
source_group("Resources" FILES msrdcex.rc) | ||
|
||
add_executable(msrdcex WIN32 | ||
msrdcex.c | ||
msrdcex.rc) | ||
|
||
target_link_libraries(msrdcex MsRdpEx_Dll) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include <MsRdpEx/RdpProcess.h> | ||
|
||
int WINAPI wWinMain( | ||
_In_ HINSTANCE hInstance, | ||
_In_opt_ HINSTANCE hPrevInstance, | ||
_In_ LPWSTR lpCmdLine, | ||
_In_ int nShowCmd) | ||
{ | ||
HRESULT hr; | ||
const char* axName = "msrdc"; | ||
|
||
hr = MsRdpEx_LaunchProcess(-1, NULL, NULL, axName); | ||
|
||
return 0; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
IDI_APP_ICON ICON "msrdcex.ico" | ||
|
||
#include "version.rc" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# mstscex launcher executable | ||
|
||
windows_rc_generate_version_info( | ||
NAME "mstscex" TYPE "EXE" | ||
VERSION "${MSRDPEX_VERSION}" | ||
FILENAME "mstscex.exe" | ||
VENDOR "${MSRDPEX_VENDOR}" | ||
COPYRIGHT "${MSRDPEX_COPYRIGHT}" | ||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/version.rc) | ||
|
||
source_group("Resources" FILES mstscex.rc) | ||
|
||
add_executable(mstscex WIN32 | ||
mstscex.c | ||
mstscex.rc) | ||
|
||
target_link_libraries(mstscex MsRdpEx_Dll) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#include <MsRdpEx/RdpProcess.h> | ||
|
||
int WINAPI wWinMain( | ||
_In_ HINSTANCE hInstance, | ||
_In_opt_ HINSTANCE hPrevInstance, | ||
_In_ LPWSTR lpCmdLine, | ||
_In_ int nShowCmd) | ||
{ | ||
HRESULT hr; | ||
const char* axName = "mstsc"; | ||
|
||
hr = MsRdpEx_LaunchProcess(-1, NULL, NULL, axName); | ||
|
||
return 0; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
IDI_APP_ICON ICON "mstscex.ico" | ||
|
||
#include "version.rc" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<?include $(sys.CURRENTDIR)Variables.wxi ?> | ||
<Fragment> | ||
<StandardDirectory Id="$(var.ProgramFilesId)"> | ||
<Directory Id="VENDORDIR" Name="Devolutions"> | ||
<Directory Id="INSTALLDIR" Name="MsRdpEx" ></Directory> | ||
</Directory> | ||
</StandardDirectory> | ||
</Fragment> | ||
</Wix> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.4.33122.133 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{B7DD6F7E-DEF8-4E67-B5B7-07EF123DB6F0}") = "MsRdpEx", "MsRdpEx.wixproj", "{A8FFAEDD-525B-46F0-BC38-A984E659DD23}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|ARM64 = Debug|ARM64 | ||
Debug|x64 = Debug|x64 | ||
Debug|Win32 = Debug|Win32 | ||
Release|ARM64 = Release|ARM64 | ||
Release|x64 = Release|x64 | ||
Release|Win32 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Debug|ARM64.ActiveCfg = Debug|ARM64 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Debug|ARM64.Build.0 = Debug|ARM64 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Debug|x64.ActiveCfg = Debug|x64 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Debug|x64.Build.0 = Debug|x64 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Debug|Win32.ActiveCfg = Debug|Win32 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Debug|Win32.Build.0 = Debug|Win32 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Release|ARM64.ActiveCfg = Release|ARM64 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Release|ARM64.Build.0 = Release|ARM64 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Release|x64.ActiveCfg = Release|x64 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Release|x64.Build.0 = Release|x64 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Release|Win32.ActiveCfg = Release|Win32 | ||
{A8FFAEDD-525B-46F0-BC38-A984E659DD23}.Release|Win32.Build.0 = Release|Win32 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {E5B39C52-A0A1-4A89-9739-4B0326F040A0} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<Project Sdk="WixToolset.Sdk/4.0.2"> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<?include $(sys.CURRENTDIR)Variables.wxi ?> | ||
<Fragment> | ||
<ComponentGroup Id="MsRdpEx" Directory="INSTALLDIR"> | ||
<Component Guid="4d9715ac-8976-11ee-b9d1-0242ac120002"> | ||
<File Source="$(var.BinDir)\mstscex.exe"></File> | ||
<File Source="$(var.BinDir)\msrdcex.exe"></File> | ||
<File Source="$(var.BinDir)\MsRdpEx.dll"></File> | ||
</Component> | ||
</ComponentGroup> | ||
</Fragment> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<WixLocalization xmlns="http://wixtoolset.org/schemas/v4/wxl" Culture="en-US"> | ||
<String Id="DowngradeError" Value="A newer version of [ProductName] is already installed." /> | ||
</WixLocalization> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
<?include $(sys.CURRENTDIR)Variables.wxi ?> | ||
<Package | ||
Name="$(var.VendorName) $(var.ProductName)" Manufacturer="$(var.VendorFullName)" | ||
Version="$(var.ProductVersion)" UpgradeCode="$(var.UpgradeCode)" | ||
Scope="perMachine" Language="1033"> | ||
<MajorUpgrade AllowSameVersionUpgrades="no" DowngradeErrorMessage="!(loc.DowngradeError)" /> | ||
<Icon Id="MsRdpEx.ico" SourceFile="MsRdpEx.ico" /> | ||
<Property Id="ARPPRODUCTICON" Value="MsRdpEx.ico" /> | ||
<Property Id="ARPHELPLINK" Value="$(var.InfoURL)" /> | ||
<MediaTemplate EmbedCab="yes" /> | ||
<Feature Id="Main"> | ||
<ComponentGroupRef Id="MsRdpEx" /> | ||
</Feature> | ||
</Package> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Include> | ||
<?define VendorName = "Devolutions" ?> | ||
<?define VendorFullName = "Devolutions Inc." ?> | ||
|
||
<?define ProductName = "MsRdpEx" ?> | ||
<?define ProductVersion = "1.0.0.0" ?> | ||
|
||
<!-- Upgrade code HAS to be the same for all updates. Once you've chosen it don't change it. --> | ||
<?define UpgradeCode="76169e12-8976-11ee-b9d1-0242ac120002" ?> | ||
|
||
<!-- The URL for add/remove programs --> | ||
<?define InfoURL="https://github.com/Devolutions/MsRdpEx" ?> | ||
|
||
<!-- Source Windows Terminal directory to copy files from --> | ||
<?if $(var.Platform) = x64 ?> | ||
<?define BinDir="..\dependencies\MsRdpEx\x64" ?> | ||
<?define ProgramFilesId="ProgramFiles64Folder" ?> | ||
<?elseif $(var.Platform) = Win32 ?> | ||
<?define BinDir="..\dependencies\MsRdpEx\x86" ?> | ||
<?define ProgramFilesId="ProgramFilesFolder" ?> | ||
<?else ?> | ||
<?define BinDir="..\dependencies\MsRdpEx\arm64" ?> | ||
<?define ProgramFilesId="ProgramFiles64Folder" ?> | ||
<?endif ?> | ||
</Include> |