Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding installer

  • Loading branch information...
commit 2cceccdd74e45d1d4319211cb38c47bfd521a43e 1 parent ec8ae57
@shellscape authored
View
32 Gmail Notifier Plus.sln
@@ -7,7 +7,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shellscape.Common", "Extern
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Windows API", "External\Shellscape.Common\Microsoft\Windows API\Windows API.csproj", "{B20A1853-BDC5-47D5-9369-3999BBD7F516}"
EndProject
-Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "Installer", "Installer\Installer.vdproj", "{52972B46-12FE-4E55-91C7-0D33B38C8450}"
+Project("{930C7802-8A8C-48F9-8165-68863BCCD9DD}") = "Installer", "Installer\Installer.wixproj", "{04567B92-BA0F-4548-9B10-78D105AE1D65}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -79,18 +79,24 @@ Global
{B20A1853-BDC5-47D5-9369-3999BBD7F516}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{B20A1853-BDC5-47D5-9369-3999BBD7F516}.Release|x64.ActiveCfg = Release|Any CPU
{B20A1853-BDC5-47D5-9369-3999BBD7F516}.Release|x86.ActiveCfg = Release|Any CPU
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.CodeAnalysisDebug|Any CPU.ActiveCfg = Debug
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.CodeAnalysisDebug|Mixed Platforms.ActiveCfg = Debug
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.CodeAnalysisDebug|x64.ActiveCfg = Debug
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.CodeAnalysisDebug|x86.ActiveCfg = Debug
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.Debug|Any CPU.ActiveCfg = Debug
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.Debug|Mixed Platforms.ActiveCfg = Debug
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.Debug|x64.ActiveCfg = Debug
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.Debug|x86.ActiveCfg = Debug
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.Release|Any CPU.ActiveCfg = Release
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.Release|Mixed Platforms.ActiveCfg = Release
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.Release|x64.ActiveCfg = Release
- {52972B46-12FE-4E55-91C7-0D33B38C8450}.Release|x86.ActiveCfg = Release
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.CodeAnalysisDebug|Any CPU.ActiveCfg = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.CodeAnalysisDebug|Mixed Platforms.ActiveCfg = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.CodeAnalysisDebug|Mixed Platforms.Build.0 = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.CodeAnalysisDebug|x64.ActiveCfg = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.CodeAnalysisDebug|x86.ActiveCfg = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.CodeAnalysisDebug|x86.Build.0 = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Debug|Any CPU.ActiveCfg = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Debug|Mixed Platforms.Build.0 = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Debug|x64.ActiveCfg = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Debug|x86.ActiveCfg = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Debug|x86.Build.0 = Debug|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Release|Any CPU.ActiveCfg = Release|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Release|Mixed Platforms.Build.0 = Release|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Release|x64.ActiveCfg = Release|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Release|x86.ActiveCfg = Release|x86
+ {04567B92-BA0F-4548-9B10-78D105AE1D65}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
View
BIN  Imagery/setup-dialog.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
84 Installer/Installer.wixproj
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">x86</Platform>
+ <ProductVersion>3.5</ProductVersion>
+ <ProjectGuid>{04567b92-ba0f-4548-9b10-78d105ae1d65}</ProjectGuid>
+ <SchemaVersion>2.0</SchemaVersion>
+ <OutputName>Gmail Notifier Plus</OutputName>
+ <OutputType>Package</OutputType>
+ <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
+ <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
+ <OutputPath>bin\$(Configuration)\</OutputPath>
+ <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
+ <DefineConstants>Debug</DefineConstants>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
+ <OutputPath>bin\$(Configuration)\</OutputPath>
+ <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
+ </PropertyGroup>
+ <ItemGroup>
+ <Compile Include="Product.wxs" />
+ </ItemGroup>
+ <ItemGroup>
+ <ProjectReference Include="..\Application\Gmail Notifier Plus.csproj">
+ <Name>GmailNotifierPlus</Name>
+ <Project>{f1308eec-69ab-4b73-ab3e-e3276a543f3d}</Project>
+ <Private>True</Private>
+ <DoNotHarvest>True</DoNotHarvest>
+ <RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
+ <RefTargetDir>INSTALLLOCATION</RefTargetDir>
+ </ProjectReference>
+ <ProjectReference Include="..\External\Shellscape.Common\Microsoft\Windows API\Windows API.csproj">
+ <Name>WindowsAPI</Name>
+ <Project>{b20a1853-bdc5-47d5-9369-3999bbd7f516}</Project>
+ <Private>True</Private>
+ <DoNotHarvest>True</DoNotHarvest>
+ <RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
+ <RefTargetDir>INSTALLLOCATION</RefTargetDir>
+ </ProjectReference>
+ <ProjectReference Include="..\External\Shellscape.Common\Shellscape.Common\Shellscape.Common.csproj">
+ <Name>ShellscapeCommon</Name>
+ <Project>{f7f1f64d-f6cd-42a9-b167-546e4ea31463}</Project>
+ <Private>True</Private>
+ <DoNotHarvest>True</DoNotHarvest>
+ <RefProjectOutputGroups>Binaries;Content;Satellites</RefProjectOutputGroups>
+ <RefTargetDir>INSTALLLOCATION</RefTargetDir>
+ </ProjectReference>
+ </ItemGroup>
+ <ItemGroup>
+ <Content Include="LICENSE" />
+ </ItemGroup>
+ <ItemGroup>
+ <WixExtension Include="WixUtilExtension">
+ <HintPath>$(WixExtDir)\WixUtilExtension.dll</HintPath>
+ <Name>WixUtilExtension</Name>
+ </WixExtension>
+ <WixExtension Include="WixNetFxExtension">
+ <HintPath>$(WixExtDir)\WixNetFxExtension.dll</HintPath>
+ <Name>WixNetFxExtension</Name>
+ </WixExtension>
+ <WixExtension Include="WixUIExtension">
+ <HintPath>$(WixExtDir)\WixUIExtension.dll</HintPath>
+ <Name>WixUIExtension</Name>
+ </WixExtension>
+ </ItemGroup>
+ <Import Project="$(WixTargetsPath)" />
+ <Target Name="BeforeBuild">
+ <GetAssemblyIdentity AssemblyFiles="$(SolutionDir)Application\bin\$(Configuration)\Gmail Notifier Plus.exe">
+ <Output TaskParameter="Assemblies" ItemName="AssemblyVersions" />
+ </GetAssemblyIdentity>
+ <CreateProperty Value="$(OutputName) %(AssemblyVersions.Version)">
+ <Output TaskParameter="Value" PropertyName="TargetName" />
+ </CreateProperty>
+ <CreateProperty Value="$(TargetName)$(TargetExt)">
+ <Output TaskParameter="Value" PropertyName="TargetFileName" />
+ </CreateProperty>
+ <CreateProperty Value="$(TargetDir)$(TargetFileName)">
+ <Output TaskParameter="Value" PropertyName="TargetPath" />
+ </CreateProperty>
+ </Target>
+</Project>
View
21 Installer/LICENSE
@@ -0,0 +1,21 @@
+The MIT License
+
+Copyright (c) 2011 Andrew Powell, Shellscape Software
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
View
BIN  Installer/License.rtf
Binary file not shown
View
101 Installer/Product.wxs
@@ -0,0 +1,101 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:netfx="http://schemas.microsoft.com/wix/NetFxExtension">
+ <Product Id="882e1c57-0b1b-4887-9feb-5d2b24b6ace6" Name="$(var.GmailNotifierPlus.TargetName) !(bind.FileVersion.GmailNotifierPlusExe)" Language="1033" Version="!(bind.FileVersion.GmailNotifierPlusExe)" Manufacturer="Shellscape Software" UpgradeCode="3b2f2964-2da8-4af0-80ef-847e78999421">
+
+ <Package InstallerVersion="200" Compressed="yes" />
+
+ <Media Id="1" Cabinet="product.cab" EmbedCab="yes" />
+
+ <UI>
+ <UIRef Id="WixUI_Minimal" />
+ <Publish Dialog="ExitDialog" Control="Finish" Event="DoAction" Value="LaunchApplication">WIXUI_EXITDIALOGOPTIONALCHECKBOX = 1 and NOT Installed</Publish>
+ </UI>
+
+ <Icon Id="icon.ico" SourceFile="..\Application\Resources\Icons\gmail-classic.ico" />
+ <Property Id="ARPPRODUCTICON" Value="icon.ico" />
+
+ <WixVariable Id="WixUILicenseRtf" Value="License.rtf" />
+ <WixVariable Id="WixUIBannerBmp" Value="banner.jpg" />
+ <WixVariable Id="WixUIDialogBmp" Value="dialog.jpg" />
+
+ <PropertyRef Id="NETFRAMEWORK40FULL"/>
+ <Condition Message="This application requires .NET Framework 4.0. Please install the .NET Framework then run this installer again.">
+ <![CDATA[Installed OR NETFRAMEWORK40FULL]]>
+ </Condition>
+
+ <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="Launch $(var.GmailNotifierPlus.TargetName)" />
+ <Property Id="WixShellExecTarget" Value="[#GmailNotifierPlusExe]" />
+ <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
+
+ <Directory Id="TARGETDIR" Name="SourceDir">
+
+ <Directory Id="ProgramMenuFolder">
+ <Directory Id="ApplicationProgramsFolder" Name="$(var.GmailNotifierPlus.TargetName)" />
+ </Directory>
+
+ <Directory Id="LocalAppDataFolder">
+ <Directory Id="VendorDirectory" Name="Shellscape">
+
+ <Directory Id="INSTALLLOCATION" Name="$(var.GmailNotifierPlus.TargetName)">
+ <Component Id="ProductComponent" Guid="e66738e2-6058-4a48-9f24-59a79d2cd346">
+
+ <File Id="GmailNotifierPlusExe" Name="$(var.GmailNotifierPlus.TargetFileName)" Source="$(var.GmailNotifierPlus.TargetPath)" DiskId="1" />
+ <File Id="ShellscapeCommonDll" Name="$(var.ShellscapeCommon.TargetFileName)" Source="$(var.ShellscapeCommon.TargetPath)" DiskId="1" />
+ <File Id="WindowsAPIDll" Name="$(var.WindowsAPI.TargetFileName)" Source="$(var.WindowsAPI.TargetPath)" DiskId="1" />
+ <File Id="IconicZipDll" Name="Ionic.Zip.Reduced.dll" Source="$(var.ShellscapeCommon.TargetDir)\Ionic.Zip.Reduced.dll" DiskId="1" />
+
+ <RegistryValue Root="HKCU" Key="Software\Shellscape\$(var.GmailNotifierPlus.TargetName)" Name="installed" Type="integer" Value="1" KeyPath="yes" />
+
+ <RemoveFolder Id="RemoveINSTALLLOCATION" Directory="INSTALLLOCATION" On="uninstall" />
+ <RemoveFolder Id="RemoveVendorDirectory" Directory="VendorDirectory" On="uninstall" />
+
+ </Component>
+
+ <Directory Id="ResourcesDirectory" Name="Resources">
+ <Directory Id="IconsDirectory" Name="Icons">
+ <Component Id="Resources" Guid="38AB3F0C-43D1-4D7F-91C1-1756FC4F46E8">
+
+ <File Id="aboutico" Name="about.ico" Source="$(var.GmailNotifierPlus.TargetDir)Resources\Icons\about.ico" DiskId="1" />
+ <File Id="Composeico" Name="Compose.ico" Source="$(var.GmailNotifierPlus.TargetDir)Resources\Icons\Compose.ico" DiskId="1" />
+ <File Id="GoInboxico" Name="GoInbox.ico" Source="$(var.GmailNotifierPlus.TargetDir)Resources\Icons\GoInbox.ico" DiskId="1" />
+ <File Id="helpico" Name="help.ico" Source="$(var.GmailNotifierPlus.TargetDir)Resources\Icons\help.ico" DiskId="1" />
+ <File Id="Mailico" Name="Mail.ico" Source="$(var.GmailNotifierPlus.TargetDir)Resources\Icons\Mail.ico" DiskId="1" />
+ <File Id="Refreshico" Name="Refresh.ico" Source="$(var.GmailNotifierPlus.TargetDir)Resources\Icons\Refresh.ico" DiskId="1" />
+ <File Id="Settingsico" Name="Settings.ico" Source="$(var.GmailNotifierPlus.TargetDir)Resources\Icons\Settings.ico" DiskId="1" />
+
+ <RegistryValue Root="HKCU" Key="Software\Shellscape\$(var.GmailNotifierPlus.TargetName)\Resources" Name="installed" Type="integer" Value="1" KeyPath="yes" />
+
+ <RemoveFolder Id="RemoveIconsDirectory" Directory="IconsDirectory" On="uninstall" />
+ <RemoveFolder Id="RemoveResourcesDirectory" Directory="ResourcesDirectory" On="uninstall" />
+
+ </Component>
+ </Directory>
+ </Directory>
+
+ </Directory>
+
+ </Directory>
+ </Directory>
+
+ </Directory>
+
+ <!-- Start Menu -->
+ <DirectoryRef Id="ApplicationProgramsFolder">
+ <Component Id="ApplicationShortcut" Guid="67CDE77B-25CA-4555-B2F0-AFC1A2160F07">
+ <Shortcut Id="ApplicationStartMenuShortcut" Name="$(var.GmailNotifierPlus.TargetName)" Description="$(var.GmailNotifierPlus.TargetName)" Target="[APPLICATIONROOTDIRECTORY]$(var.GmailNotifierPlus.TargetFileName)" WorkingDirectory="APPLICATIONROOTDIRECTORY"/>
+ <Shortcut Id="UninstallProduct" Name="Uninstall $(var.GmailNotifierPlus.TargetName)" Description="Uninstalls $(var.GmailNotifierPlus.TargetName)" Target="[SystemFolder]msiexec.exe" Arguments="/x [ProductCode]"/>
+ <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
+ <RegistryValue Root="HKCU" Key="Software\Shellscape\$(var.GmailNotifierPlus.TargetName)\shortcut" Name="installed" Type="integer" Value="1" KeyPath="yes"/>
+ </Component>
+ </DirectoryRef>
+
+ <Feature Id="ProductFeature" Title="$(var.GmailNotifierPlus.TargetName) !(bind.FileVersion.GmailNotifierPlusExe)" Level="1">
+ <ComponentRef Id="ProductComponent" />
+ <ComponentRef Id="Resources" />
+ <ComponentRef Id="ApplicationShortcut" />
+
+ <!-- Note: The following ComponentGroupRef is required to pull in generated authoring from project references. -->
+ <ComponentGroupRef Id="Product.Generated" />
+ </Feature>
+ </Product>
+</Wix>
View
BIN  Installer/banner.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
2  Installer/bin/Debug/.gitignore
@@ -0,0 +1,2 @@
+/*.msi
+/*.wixpdb
View
BIN  Installer/dialog.jpg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
4 Installer/obj/Debug/.gitignore
@@ -0,0 +1,4 @@
+/Installer.wixproj.FileList.txt
+/Product.Generated.wixobj
+/Product.Generated.wxs
+/Product.wixobj
Please sign in to comment.
Something went wrong with that request. Please try again.