Skip to content

Commit 11da72c

Browse files
committed
Added Installer Project
1 parent 727b9d4 commit 11da72c

4 files changed

Lines changed: 766 additions & 4 deletions

File tree

Taskplay.sln

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 15
4-
VisualStudioVersion = 15.0.26430.4
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.7.34031.279
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Taskplay", "Taskplay\Taskplay.csproj", "{391C150B-9A89-4057-A9C6-8A6B526C01D1}"
77
EndProject
8+
Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "TaskplaySetup", "TaskplaySetup\TaskplaySetup.vdproj", "{430192B4-F2DC-49EE-A77C-94CB076EC5B8}"
9+
EndProject
810
Global
911
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1012
Debug|Any CPU = Debug|Any CPU
@@ -15,8 +17,8 @@ Global
1517
Release|x86 = Release|x86
1618
EndGlobalSection
1719
GlobalSection(ProjectConfigurationPlatforms) = postSolution
18-
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
19-
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
20+
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Debug|Any CPU.ActiveCfg = Release|Any CPU
21+
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Debug|Any CPU.Build.0 = Release|Any CPU
2022
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Debug|x64.ActiveCfg = Debug|x64
2123
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Debug|x64.Build.0 = Debug|x64
2224
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Debug|x86.ActiveCfg = Debug|x64
@@ -27,8 +29,18 @@ Global
2729
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Release|x64.Build.0 = Release|x64
2830
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Release|x86.ActiveCfg = Release|x86
2931
{391C150B-9A89-4057-A9C6-8A6B526C01D1}.Release|x86.Build.0 = Release|x86
32+
{430192B4-F2DC-49EE-A77C-94CB076EC5B8}.Debug|Any CPU.ActiveCfg = Release
33+
{430192B4-F2DC-49EE-A77C-94CB076EC5B8}.Debug|Any CPU.Build.0 = Release
34+
{430192B4-F2DC-49EE-A77C-94CB076EC5B8}.Debug|x64.ActiveCfg = Debug
35+
{430192B4-F2DC-49EE-A77C-94CB076EC5B8}.Debug|x86.ActiveCfg = Debug
36+
{430192B4-F2DC-49EE-A77C-94CB076EC5B8}.Release|Any CPU.ActiveCfg = Release
37+
{430192B4-F2DC-49EE-A77C-94CB076EC5B8}.Release|x64.ActiveCfg = Release
38+
{430192B4-F2DC-49EE-A77C-94CB076EC5B8}.Release|x86.ActiveCfg = Release
3039
EndGlobalSection
3140
GlobalSection(SolutionProperties) = preSolution
3241
HideSolutionNode = FALSE
3342
EndGlobalSection
43+
GlobalSection(ExtensibilityGlobals) = postSolution
44+
SolutionGuid = {93EA43A3-7EE4-4382-9EF5-A3380AAFB7FC}
45+
EndGlobalSection
3446
EndGlobal

Taskplay/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ static class Program
1111
static bool IsDarkModeOn => GetSettingState("DarkMode");
1212
static bool AreChangeSongButtonsShown => GetSettingState("ShowChangeSongButtons");
1313

14+
15+
1416
static readonly Action<bool> restartAction = (b) => Application.Restart();
1517

1618
/// <summary>

Taskplay/Taskplay.csproj

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,23 @@
1212
<FileAlignment>512</FileAlignment>
1313
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
1414
<TargetFrameworkProfile />
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+
<AutorunEnabled>true</AutorunEnabled>
27+
<ApplicationRevision>1</ApplicationRevision>
28+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
29+
<UseApplicationTrust>false</UseApplicationTrust>
30+
<PublishWizardCompleted>true</PublishWizardCompleted>
31+
<BootstrapperEnabled>true</BootstrapperEnabled>
1532
</PropertyGroup>
1633
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1734
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -71,6 +88,18 @@
7188
<ErrorReport>prompt</ErrorReport>
7289
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
7390
</PropertyGroup>
91+
<PropertyGroup>
92+
<ManifestCertificateThumbprint>B82C6098758F9724305941714FE043098650B68E</ManifestCertificateThumbprint>
93+
</PropertyGroup>
94+
<PropertyGroup>
95+
<ManifestKeyFile>Taskplay_TemporaryKey.pfx</ManifestKeyFile>
96+
</PropertyGroup>
97+
<PropertyGroup>
98+
<GenerateManifests>true</GenerateManifests>
99+
</PropertyGroup>
100+
<PropertyGroup>
101+
<SignManifests>true</SignManifests>
102+
</PropertyGroup>
74103
<ItemGroup>
75104
<Reference Include="System" />
76105
<Reference Include="System.Data" />
@@ -110,6 +139,7 @@
110139
<DependentUpon>Settings.settings</DependentUpon>
111140
<DesignTimeSharedInput>True</DesignTimeSharedInput>
112141
</Compile>
142+
<None Include="Taskplay_TemporaryKey.pfx" />
113143
</ItemGroup>
114144
<ItemGroup>
115145
<None Include="App.config" />
@@ -126,5 +156,12 @@
126156
<Content Include="Icons\Stop.ico" />
127157
<Content Include="Icons\StopDark.ico" />
128158
</ItemGroup>
159+
<ItemGroup>
160+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
161+
<Visible>False</Visible>
162+
<ProductName>.NET Framework 3.5 SP1</ProductName>
163+
<Install>true</Install>
164+
</BootstrapperPackage>
165+
</ItemGroup>
129166
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
130167
</Project>

0 commit comments

Comments
 (0)