Skip to content

Commit 37e0cf8

Browse files
committed
mecm rc
1 parent 4b20a2c commit 37e0cf8

3 files changed

Lines changed: 45 additions & 1 deletion

File tree

Program.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ private static ProtocolResult ResolveProtocol(string path)
135135
{
136136
@"(ms-excel):ofe\|u\|(https?:\/\/.*\.xlsx?)",
137137
@"(ms-word):ofe\|u\|(https?:\/\/.*\.docx?)",
138-
@"(ms-powerpoint):ofe\|u\|(https?:\/\/.*\.pptx?)"
138+
@"(ms-powerpoint):ofe\|u\|(https?:\/\/.*\.pptx?)",
139+
@"(mecmrc):\/\/(.*)"
139140
};
140141

141142
ProtocolResult result = null;

ProtocolHandler.csproj

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,22 @@
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<Deterministic>true</Deterministic>
15+
<IsWebBootstrapper>false</IsWebBootstrapper>
16+
<PublishUrl>publish\</PublishUrl>
17+
<Install>true</Install>
18+
<InstallFrom>Disk</InstallFrom>
19+
<UpdateEnabled>false</UpdateEnabled>
20+
<UpdateMode>Foreground</UpdateMode>
21+
<UpdateInterval>7</UpdateInterval>
22+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
23+
<UpdatePeriodically>false</UpdatePeriodically>
24+
<UpdateRequired>false</UpdateRequired>
25+
<MapFileExtensions>true</MapFileExtensions>
26+
<ApplicationRevision>1</ApplicationRevision>
27+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
28+
<UseApplicationTrust>false</UseApplicationTrust>
29+
<PublishWizardCompleted>true</PublishWizardCompleted>
30+
<BootstrapperEnabled>true</BootstrapperEnabled>
1531
</PropertyGroup>
1632
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1733
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -32,6 +48,18 @@
3248
<ErrorReport>prompt</ErrorReport>
3349
<WarningLevel>4</WarningLevel>
3450
</PropertyGroup>
51+
<PropertyGroup>
52+
<ManifestCertificateThumbprint>E8388D7AD6D795C637CF18D108D0FAFE3257ED71</ManifestCertificateThumbprint>
53+
</PropertyGroup>
54+
<PropertyGroup>
55+
<ManifestKeyFile>ProtocolHandler_TemporaryKey.pfx</ManifestKeyFile>
56+
</PropertyGroup>
57+
<PropertyGroup>
58+
<GenerateManifests>true</GenerateManifests>
59+
</PropertyGroup>
60+
<PropertyGroup>
61+
<SignManifests>true</SignManifests>
62+
</PropertyGroup>
3563
<ItemGroup>
3664
<Reference Include="CLAP, Version=4.6.0.0, Culture=neutral, processorArchitecture=MSIL">
3765
<HintPath>packages\CLAP.4.6\lib\net35\CLAP.dll</HintPath>
@@ -58,10 +86,24 @@
5886
</ItemGroup>
5987
<ItemGroup>
6088
<None Include="App.config" />
89+
<None Include="install-div-lm.bat" />
6190
<None Include="install-office-cu.bat">
6291
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
6392
</None>
6493
<None Include="packages.config" />
94+
<None Include="ProtocolHandler_TemporaryKey.pfx" />
95+
</ItemGroup>
96+
<ItemGroup>
97+
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
98+
<Visible>False</Visible>
99+
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 und x64%29</ProductName>
100+
<Install>true</Install>
101+
</BootstrapperPackage>
102+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
103+
<Visible>False</Visible>
104+
<ProductName>.NET Framework 3.5 SP1</ProductName>
105+
<Install>false</Install>
106+
</BootstrapperPackage>
65107
</ItemGroup>
66108
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
67109
</Project>

install-div-lm.bat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ProtocolHandler.exe RegisterScheme -protocol="mecmrc" -handlerPath="C:\Program Files\Remote SCCM\i386\CmRcViewer.exe" -install -forMachine

0 commit comments

Comments
 (0)