diff --git a/src/Setup/Chocolatey/Tools/chocolateyInstall.ps1 b/src/Setup/Chocolatey/Tools/chocolateyInstall.ps1 new file mode 100644 index 0000000000..46b8b3c933 --- /dev/null +++ b/src/Setup/Chocolatey/Tools/chocolateyInstall.ps1 @@ -0,0 +1,11 @@ +# https://github.com/chocolatey/chocolatey/wiki/CreatePackagesQuickStart +# https://github.com/chocolatey/chocolatey/wiki/HelpersInstallChocolateyPackage + +$packageName = 'sharpdevelop' +$installerType = 'msi' +$url = 'http://downloads.sourceforge.net/sharpdevelop/SharpDevelop_4.3.1.9430_Setup.msi?download' +$silentArgs = '/q' +$validExitCodes = @(0) + +Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" -validExitCodes $validExitCodes + diff --git a/src/Setup/Chocolatey/buildChocolatey.bat b/src/Setup/Chocolatey/buildChocolatey.bat new file mode 100644 index 0000000000..223e480a97 --- /dev/null +++ b/src/Setup/Chocolatey/buildChocolatey.bat @@ -0,0 +1,2 @@ +REM You must have Chocolatey installed to be able to run the command +cpack \ No newline at end of file diff --git a/src/Setup/Chocolatey/sharpdevelop.nuspec b/src/Setup/Chocolatey/sharpdevelop.nuspec new file mode 100644 index 0000000000..950b5ffb7b --- /dev/null +++ b/src/Setup/Chocolatey/sharpdevelop.nuspec @@ -0,0 +1,29 @@ + + + + + sharpdevelop + SharpDevelop + 4.3.1 + IC#Code Team + SharpDevelop Team + sharpdevelop + #develop (short for SharpDevelop) is a free IDE for C#, VB.NET, F#, IronPython and IronRuby projects on Microsoft's .NET platform. It has designers for WPF, Windows Forms and Entity Framework, and also supports ASP.NET MVC. + http://www.icsharpcode.net/opensource/sd/ + sharpdevelop ide .net developer web windows debugging editor tool productivity + Copyright ©2001-2012 IC#Code. + http://www.icsharpcode.net/OpenSource/SD/ + false + + + + .NET 4.0 Full runtime and .NET 3.5 SP1 runtime must be installed on your machine, the required operating system is XP SP2 or higher. + + + + + + + \ No newline at end of file diff --git a/src/Setup/Chocolatey/testPackage.bat b/src/Setup/Chocolatey/testPackage.bat new file mode 100644 index 0000000000..d16af2b63a --- /dev/null +++ b/src/Setup/Chocolatey/testPackage.bat @@ -0,0 +1,2 @@ +REM https://github.com/chocolatey/chocolatey/wiki/CreatePackages +cinst sharpdevelop -source %cd% -force \ No newline at end of file