Skip to content

Commit dba2b6f

Browse files
author
Nozols
committed
Add installer project
1 parent 68cceed commit dba2b6f

6 files changed

Lines changed: 840 additions & 6 deletions

File tree

ScopeOnMicroController.sln

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ VisualStudioVersion = 16.0.29806.167
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ScopeOnMicrocontroller", "ScopeOnMicrocontroller\ScopeOnMicrocontroller.csproj", "{95A2DF86-CCE9-4733-B6DF-6F609A7BC474}"
77
EndProject
8+
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Setup", "Setup\Setup.vdproj", "{2ADF81B0-5874-43CA-A8DB-CA8F773B4A06}"
9+
EndProject
810
Global
911
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1012
Debug|Any CPU = Debug|Any CPU
@@ -15,6 +17,8 @@ Global
1517
{95A2DF86-CCE9-4733-B6DF-6F609A7BC474}.Debug|Any CPU.Build.0 = Debug|Any CPU
1618
{95A2DF86-CCE9-4733-B6DF-6F609A7BC474}.Release|Any CPU.ActiveCfg = Release|Any CPU
1719
{95A2DF86-CCE9-4733-B6DF-6F609A7BC474}.Release|Any CPU.Build.0 = Release|Any CPU
20+
{2ADF81B0-5874-43CA-A8DB-CA8F773B4A06}.Debug|Any CPU.ActiveCfg = Debug
21+
{2ADF81B0-5874-43CA-A8DB-CA8F773B4A06}.Release|Any CPU.ActiveCfg = Release
1822
EndGlobalSection
1923
GlobalSection(SolutionProperties) = preSolution
2024
HideSolutionNode = FALSE

ScopeOnMicrocontroller/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
// General Information about an assembly is controlled through the following
66
// set of attributes. Change these attribute values to modify the information
77
// associated with an assembly.
8-
[assembly: AssemblyTitle("MC2-Eindopdracht")]
8+
[assembly: AssemblyTitle("Scope On Microcontroller")]
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("")]
12-
[assembly: AssemblyProduct("MC2-Eindopdracht")]
12+
[assembly: AssemblyProduct("Scope On Microcontroller")]
1313
[assembly: AssemblyCopyright("Copyright © 2020")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]

ScopeOnMicrocontroller/ScopeOnMicrocontroller.csproj

Lines changed: 54 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,38 @@
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+
<ProductName>Scope On Microcontroller</ProductName>
27+
<PublisherName>Niels de Boer</PublisherName>
28+
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
29+
<WebPage>publish.htm</WebPage>
30+
<ApplicationRevision>2</ApplicationRevision>
31+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
32+
<UseApplicationTrust>false</UseApplicationTrust>
33+
<PublishWizardCompleted>true</PublishWizardCompleted>
34+
<BootstrapperEnabled>true</BootstrapperEnabled>
1535
</PropertyGroup>
1636
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1737
<PlatformTarget>AnyCPU</PlatformTarget>
1838
<DebugSymbols>true</DebugSymbols>
1939
<DebugType>full</DebugType>
2040
<Optimize>false</Optimize>
2141
<OutputPath>bin\Debug\</OutputPath>
22-
<DefineConstants>DEBUG;TRACE</DefineConstants>
42+
<DefineConstants>
43+
</DefineConstants>
2344
<ErrorReport>prompt</ErrorReport>
2445
<WarningLevel>4</WarningLevel>
46+
<CodeAnalysisRuleSet>ManagedMinimumRules.ruleset</CodeAnalysisRuleSet>
2547
</PropertyGroup>
2648
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2749
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -32,6 +54,21 @@
3254
<ErrorReport>prompt</ErrorReport>
3355
<WarningLevel>4</WarningLevel>
3456
</PropertyGroup>
57+
<PropertyGroup>
58+
<ManifestCertificateThumbprint>AED0E00BAD383E95899707C0946D77F3C5D7FF9B</ManifestCertificateThumbprint>
59+
</PropertyGroup>
60+
<PropertyGroup>
61+
<ManifestKeyFile>ScopeOnMicrocontroller_TemporaryKey.pfx</ManifestKeyFile>
62+
</PropertyGroup>
63+
<PropertyGroup>
64+
<GenerateManifests>true</GenerateManifests>
65+
</PropertyGroup>
66+
<PropertyGroup>
67+
<SignManifests>true</SignManifests>
68+
</PropertyGroup>
69+
<PropertyGroup>
70+
<ApplicationIcon>icon.ico</ApplicationIcon>
71+
</PropertyGroup>
3572
<ItemGroup>
3673
<Reference Include="System" />
3774
<Reference Include="System.Core" />
@@ -86,9 +123,25 @@
86123
<DesignTimeSharedInput>True</DesignTimeSharedInput>
87124
</Compile>
88125
<None Include="README.md" />
126+
<None Include="ScopeOnMicrocontroller_TemporaryKey.pfx" />
89127
</ItemGroup>
90128
<ItemGroup>
91129
<None Include="App.config" />
92130
</ItemGroup>
131+
<ItemGroup>
132+
<BootstrapperPackage Include=".NETFramework,Version=v4.7.2">
133+
<Visible>False</Visible>
134+
<ProductName>Microsoft .NET Framework 4.7.2 %28x86 and x64%29</ProductName>
135+
<Install>true</Install>
136+
</BootstrapperPackage>
137+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
138+
<Visible>False</Visible>
139+
<ProductName>.NET Framework 3.5 SP1</ProductName>
140+
<Install>false</Install>
141+
</BootstrapperPackage>
142+
</ItemGroup>
143+
<ItemGroup>
144+
<Content Include="icon.ico" />
145+
</ItemGroup>
93146
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
94147
</Project>

ScopeOnMicrocontroller/Serial.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
*/
1111
using System;
1212
using System.IO.Ports;
13-
using System.Diagnostics;
1413
using ScopeOnMicrocontroller.Messages;
15-
using System.Collections.Generic;
1614

1715
namespace ScopeOnMicrocontroller
1816
{
@@ -180,7 +178,6 @@ public void SendMessage(byte message)
180178
{
181179
if (IsConnected)
182180
{
183-
Console.WriteLine("Outgoing message: {0}", message);
184181
_serialPort.Write(new byte[] { message }, 0, 1);
185182
}
186183
}

ScopeOnMicrocontroller/icon.ico

99.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)