Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Icon for Installer and Appliction #12

Merged
merged 1 commit into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added TextToSpeech/299033_microphone_icon.ico
Binary file not shown.
10 changes: 9 additions & 1 deletion TextToSpeech/TextToSpeech.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>299033_microphone_icon.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="BouncyCastle.Crypto, Version=1.8.9.0, Culture=neutral, PublicKeyToken=0e99375e54769942">
<HintPath>..\packages\BouncyCastle.1.8.9\lib\BouncyCastle.Crypto.dll</HintPath>
Expand Down Expand Up @@ -103,7 +106,6 @@
</None>
</ItemGroup>
<ItemGroup>
<Folder Include="images\" />
<Folder Include="Utilites\" />
</ItemGroup>
<ItemGroup>
Expand All @@ -112,6 +114,12 @@
<Name>TextToSpeechLogger</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<Content Include="299033_microphone_icon.ico" />
<Content Include="images\299033_microphone_icon.ico">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="..\packages\GemBox.Pdf.17.0.1015\build\netstandard2.0\GemBox.Pdf.targets" Condition="Exists('..\packages\GemBox.Pdf.17.0.1015\build\netstandard2.0\GemBox.Pdf.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
Expand Down
6 changes: 6 additions & 0 deletions TextToSpeech/TextToSpeech.csproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectView>ProjectFiles</ProjectView>
</PropertyGroup>
</Project>
Binary file modified TextToSpeech/bin/Debug/TextToSpeech.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ C:\Users\oyetu\source\repos\Text2speeech\TextToSpeech\obj\Debug\TextToSpeech.For
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeech\bin\Debug\App.config
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeech\bin\Debug\TextToSpeechLogger.dll
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeech\bin\Debug\TextToSpeechLogger.pdb
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeech\bin\Debug\images\299033_microphone_icon.ico
Binary file modified TextToSpeech/obj/Debug/TextToSpeech.exe
Binary file not shown.
43 changes: 39 additions & 4 deletions TextToSpeechInstaller/Product.wxs
Original file line number Diff line number Diff line change
@@ -1,18 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product Id="*" Name="TextToSpeechInstaller" Language="1033" Version="1.0.0.0" Manufacturer="Olabamiji" UpgradeCode="4547332d-e749-4802-be14-1c9e7ff2548e">
<Product Id="*" Name="TextToSpeech" Language="1033" Version="1.0.0.0" Manufacturer="Olabamiji" UpgradeCode="4547332d-e749-4802-be14-1c9e7ff2548e">
<Package InstallerVersion="500" Compressed="yes" InstallScope="perMachine" />

<!-- Handle upgrades between versions -->
<!--<Upgrade Id="PUT-GUID-HERE">
<Upgrade Id="f4b1adbb-5b46-43f3-95f9-9ff2564da80b">
<UpgradeVersion Minimum="1.0.0.0" Maximum="2.0.0.0" Property="OLDERVERSIONBEINGUPGRADED" IncludeMinimum="yes" IncludeMaximum="no" />
</Upgrade>-->
</Upgrade>

<!-- Maintenance Dialog -->
<UI Id="WixUI_Minimal">
<TextStyle Id="WixUI_Font_Normal" FaceName="Tahoma" Size="8" />
<TextStyle Id="WixUI_Font_Bigger" FaceName="Tahoma" Size="12" />
<TextStyle Id="WixUI_Font_Title" FaceName="Tahoma" Size="9" Bold="yes" />
<Property Id="DefaultUIFont" Value="WixUI_Font_Normal" />
<Property Id="WixUI_Mode" Value="Minimal" />
<DialogRef Id="ErrorDlg" />
<DialogRef Id="FatalError" />
<DialogRef Id="FilesInUse" />
<DialogRef Id="MsiRMFilesInUse" />
<DialogRef Id="PrepareDlg" />
<DialogRef Id="ProgressDlg" />
<DialogRef Id="ResumeDlg" />
<DialogRef Id="UserExit" />
<DialogRef Id="WelcomeDlg" />
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="PrepareDlg">1</Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
<Publish Dialog="VerifyReadyDlg" Control="Back" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceWelcomeDlg" Control="Next" Event="NewDialog" Value="MaintenanceTypeDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RepairButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="RemoveButton" Event="NewDialog" Value="VerifyReadyDlg">1</Publish>
<Publish Dialog="MaintenanceTypeDlg" Control="Back" Event="NewDialog" Value="MaintenanceWelcomeDlg">1</Publish>
<Property Id="ARPNOMODIFY" Value="1" />
</UI>
<UIRef Id="WixUI_Common" />
<MajorUpgrade DowngradeErrorMessage="A newer version of TextToSpeech is already installed." />
<MediaTemplate />
<MediaTemplate EmbedCab ="yes"/>

<Feature Id="ProductFeature" Title="TextToSpeech" Level="1">
<ComponentGroupRef Id="ProductComponents" />
<ComponentRef Id="DesktopFolderShortcut" />
</Feature>
</Product>

Expand All @@ -21,7 +48,15 @@
<Directory Id="ProgramFilesFolder">
<Directory Id="INSTALLFOLDER" Name="TextToSpeech" />
</Directory>
<Directory Id="DesktopFolder" Name="Desktop"/>
</Directory>
<DirectoryRef Id="DesktopFolder">
<Component Id="DesktopFolderShortcut" Guid="51edd39a-e106-4230-9051-39452953abe2">
<Shortcut Id="DesktopShortcut" Name="TextToSpeech" Description="TextToSpeech" Target="[INSTALLFOLDER]TextToSpeech.exe" WorkingDirectory="INSTALLFOLDER" />
<RemoveFolder Id="DesktopFolder" On="uninstall" />
<RegistryValue Root="HKCU" Key="Software\TextToSpeech" Name="installed" Type="integer" Value="1" KeyPath="yes" />
</Component>
</DirectoryRef>
</Fragment>

<Fragment>
Expand Down
10 changes: 10 additions & 0 deletions TextToSpeechInstaller/TextToSpeechInstaller.wixproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
<ItemGroup>
<Compile Include="Product.wxs" />
</ItemGroup>
<ItemGroup>
<WixExtension Include="WixUtilExtension">
<HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
<Name>WixUtilExtension</Name>
</WixExtension>
<WixExtension Include="WixUIExtension">
<HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
<Name>WixUIExtension</Name>
</WixExtension>
</ItemGroup>
<Import Project="$(WixTargetsPath)" Condition=" '$(WixTargetsPath)' != '' " />
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets" Condition=" '$(WixTargetsPath)' == '' AND Exists('$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets') " />
<Target Name="EnsureWixToolsetInstalled" Condition=" '$(WixTargetsImported)' != 'true' ">
Expand Down
Binary file modified TextToSpeechInstaller/bin/Debug/TextToSpeechInstaller.msi
Binary file not shown.
Binary file modified TextToSpeechInstaller/bin/Debug/TextToSpeechInstaller.wixpdb
Binary file not shown.
Binary file removed TextToSpeechInstaller/bin/Debug/cab1.cab
Binary file not shown.
2 changes: 1 addition & 1 deletion TextToSpeechInstaller/obj/Debug/Product.wixobj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\cab1.cab
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\TextToSpeechInstaller.msi
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\TextToSpeechInstaller.wixpdb
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\cab1.cab
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\TextToSpeechInstaller.msi
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\TextToSpeechInstaller.wixpdb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
obj\Debug\Product.wixobj
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\cab1.cab
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\TextToSpeechInstaller.msi
C:\Users\oyetu\source\repos\Text2speeech\TextToSpeechInstaller\bin\Debug\TextToSpeechInstaller.wixpdb
obj\Debug\TextToSpeechInstaller.wixproj.BindContentsFileListnull.txt
Expand Down
Binary file not shown.
Loading