forked from snoopwpf/snoopwpf
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request snoopwpf#81 from batzen/Chocolatey
Adding build script, dependency management and packaging for deployment
- Loading branch information
Showing
31 changed files
with
632 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,6 +4,8 @@ bin/ | |
obj/ | ||
Debug/ | ||
Release/ | ||
packages/ | ||
paket-files/ | ||
*.vs | ||
*.user | ||
*.opensdf | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Microsoft Public License (Ms-PL) | ||
|
||
This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software. | ||
|
||
1. Definitions | ||
|
||
The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. | ||
|
||
A "contribution" is the original software, or any additions or changes to the software. | ||
|
||
A "contributor" is any person that distributes its contribution under this license. | ||
|
||
"Licensed patents" are a contributor's patent claims that read directly on its contribution. | ||
|
||
2. Grant of Rights | ||
|
||
(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. | ||
|
||
(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. | ||
|
||
3. Conditions and Limitations | ||
|
||
(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. | ||
|
||
(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically. | ||
|
||
(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software. | ||
|
||
(D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license. | ||
|
||
(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> | ||
<!-- ID="*" will generate a new GUID for product code at time of build. --> | ||
<!-- Product code changes AND version number changes (first 3 digits), then a major upgrade will be triggered. --> | ||
|
||
<Product | ||
Id="*" | ||
Name="Snoop" | ||
Manufacturer="Cory Plotts" | ||
Language="1033" | ||
Version="$(var.ProductVersion)" | ||
UpgradeCode="FBEC01D7-CE1B-46F4-9498-71A96FEA8A15" | ||
> | ||
<Package InstallerVersion="301" Compressed="yes"/> | ||
|
||
<MajorUpgrade AllowDowngrades="no" DowngradeErrorMessage="Newer version already installed." AllowSameVersionUpgrades="yes" /> | ||
|
||
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR"/> | ||
|
||
<Media Id="1" Cabinet="media1.cab" EmbedCab="yes"/> | ||
|
||
<Directory Id="TARGETDIR" Name="SourceDir"> | ||
<Directory Id="ProgramFilesFolder"> | ||
<Directory Id="INSTALLDIR" Name="Snoop"> | ||
<Component Id="Snoop" Guid="5624FD27-2409-4E5A-86E1-7C1A9C52A2F4"> | ||
<File | ||
Id="SnoopEXE" | ||
Name="Snoop.exe" | ||
Source="Snoop.exe" | ||
KeyPath="yes" | ||
> | ||
<Shortcut | ||
Id="desktopSnoopShortcut" | ||
Directory="DesktopFolder" | ||
Name="Snoop $(var.ProductVersion)" | ||
WorkingDirectory="INSTALLDIR" | ||
Icon="Snoop.exe" | ||
IconIndex="0" | ||
Advertise="yes" | ||
/> | ||
<Shortcut | ||
Id="startMenuSnoopShortcut" | ||
Directory="ProgramMenuDir" | ||
Name="Snoop $(var.ProductVersion)" | ||
WorkingDirectory="INSTALLDIR" | ||
Icon="Snoop.exe" | ||
IconIndex="0" | ||
Advertise="yes" | ||
/> | ||
</File> | ||
|
||
<File | ||
Id="SnoopCFG" | ||
Name="Snoop.exe.config" | ||
Source="Snoop.exe.config" | ||
/> | ||
|
||
<File | ||
Id="ManagedInjectorLauncher3240" | ||
Name="ManagedInjectorLauncher32-4.0.exe" | ||
Source="ManagedInjectorLauncher32-4.0.exe" | ||
/> | ||
<File | ||
Id="ManagedInjector3240" | ||
Name="ManagedInjector32-4.0.dll" | ||
Source="ManagedInjector32-4.0.dll" | ||
/> | ||
|
||
<File | ||
Id="ManagedInjectorLauncher6440" | ||
Name="ManagedInjectorLauncher64-4.0.exe" | ||
Source="ManagedInjectorLauncher64-4.0.exe" | ||
/> | ||
<File | ||
Id="ManagedInjector6440" | ||
Name="ManagedInjector64-4.0.dll" | ||
Source="ManagedInjector64-4.0.dll" | ||
/> | ||
</Component> | ||
|
||
<Directory Id="SnoopScriptsFolder" Name="Scripts"> | ||
<Component Id="SnoopScriptsComponent" Guid="65AD97C3-5B32-4020-892C-1D0E38656D6D"> | ||
<File | ||
Id="SnoopScriptsFile" | ||
Name="Snoop.psm1" | ||
Source="Scripts\Snoop.psm1" | ||
/> | ||
</Component> | ||
</Directory> | ||
</Directory> | ||
</Directory> | ||
|
||
<Directory Id="ProgramMenuFolder" Name="Programs"> | ||
<Directory Id="ProgramMenuDir" Name="Snoop"> | ||
<Component Id="ProgramMenuDir" Guid="F04C55F5-09D6-40CD-90E3-FA46E5E4A93D"> | ||
<RemoveFolder Id='ProgramMenuDir' On='uninstall'/> | ||
<RegistryValue Root='HKCU' Key='Software\[ProductName]' Type='string' Value='' KeyPath='yes'/> | ||
</Component> | ||
</Directory> | ||
</Directory> | ||
|
||
<Directory Id="DesktopFolder" Name="Desktop"/> | ||
</Directory> | ||
|
||
<Feature Id="ProductFeature" Title="Snoop" Description="Snoop, the WPF Spying Utility" Level="1" ConfigurableDirectory="INSTALLDIR"> | ||
<ComponentRef Id="Snoop"/> | ||
<ComponentRef Id="SnoopScriptsComponent"/> | ||
<ComponentRef Id="ProgramMenuDir"/> | ||
</Feature> | ||
|
||
<UIRef Id="WixUI_InstallDir"/> | ||
<WixVariable Id="WixUILicenseRtf" Value="License.rtf"/> | ||
<WixVariable Id="WixUIBannerBmp" Value="..\..\Artwork\Banner.bmp"/> | ||
<WixVariable Id="WixUIDialogBmp" Value="..\..\Artwork\Dialog.bmp"/> | ||
<!-- <WixVariable Id="WixUIExclamationIco" Value="Bitmaps\Exclamation.ico"/> | ||
<WixVariable Id="WixUIInfoIco" Value="Bitmaps\Information.ico"/> | ||
<WixVariable Id="WixUINewIco" Value="Bitmaps\New.ico"/> | ||
<WixVariable Id="WixUIUpIco" Value="Bitmaps\Up.ico"/> --> | ||
|
||
<Icon Id="Snoop.exe" SourceFile="Snoop.exe"/> | ||
<Icon Id="icon.ico" SourceFile="..\..\Artwork\Snoop.ico"/> | ||
<Property Id="ARPPRODUCTICON" Value="icon.ico" /> | ||
</Product> | ||
</Wix> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.