Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vagrantsetup
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
devbox
vagrantsetup
Commits
cc53353e
Commit
cc53353e
authored
Sep 11, 2019
by
Reimar Stier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add chocolatey example
parent
c3b227b3
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
1 deletion
+51
-1
Chocolatey.md
windows/examples/Chocolatey.md
+10
-1
Readme.md
windows/examples/windirstat/Readme.md
+10
-0
chocolateyInstall.ps1
windows/examples/windirstat/tools/chocolateyInstall.ps1
+6
-0
windirstat.nuspec
windows/examples/windirstat/windirstat.nuspec
+25
-0
No files found.
windows/examples/Chocolatey.md
View file @
cc53353e
# Sophisticated example of using Chocolatey
# Examples
*
Sophisticated example of using Chocolatey
https://weblog.west-wind.com/posts/2017/Jan/29/Creating-a-portable-and-embedded-Chocolatey-Package
https://weblog.west-wind.com/posts/2017/Jan/29/Creating-a-portable-and-embedded-Chocolatey-Package
git clone https://github.com/rickstrahl/MarkdownMonster
git clone https://github.com/rickstrahl/MarkdownMonster
ls MarkdownMonster/Install/Chocolatey/{markdownmonster.nuspec,tools/chocolateyInstall.ps1}
ls MarkdownMonster/Install/Chocolatey/{markdownmonster.nuspec,tools/chocolateyInstall.ps1}
*
Install windirstat from url example
see windirstat/windirstat.nuspec
choco.exe install -fdv .
\w
indirstat.nuspec
# Chocolatey documentation
# Chocolatey documentation
https://www.chocolatey.org/docs/how-to-setup-offline-installation
https://www.chocolatey.org/docs/how-to-setup-offline-installation
https://github.com/chocolatey/choco/wiki/CommandsInstall
https://github.com/chocolatey/choco/wiki/CommandsInstall
https://chocolatey.org/docs/create-packages
https://chocolatey.org/docs/create-packages
https://chocolatey.org/blog/create-chocolatey-packages
https://github.com/chocolatey/choco/wiki/HelpersInstallChocolateyPackage
https://github.com/chocolatey/choco/wiki/HelpersInstallChocolateyInstallPackage
windows/examples/windirstat/Readme.md
0 → 100644
View file @
cc53353e
# tldr - install/test it
choco.exe install -fdv .
\w
indirstat.nuspec
# Sources
https://github.com/ferventcoder/chocolatey-packages/tree/master/manual/windirstat
https://github.com/chocolatey/choco/wiki/CreatePackages
https://chocolatey.org/blog/create-chocolatey-packages
https://github.com/chocolatey/choco/wiki/HelpersInstallChocolateyInstallPackage
https://github.com/chocolatey/choco/wiki/HelpersInstallChocolateyPackage
windows/examples/windirstat/tools/chocolateyInstall.ps1
0 → 100644
View file @
cc53353e
$packageName
=
'windirstat'
$fileType
=
'exe'
$url
=
'http://prdownloads.sourceforge.net/windirstat/windirstat1_1_2_setup.exe'
$silentArgs
=
'/S'
Install-ChocolateyPackage
$packageName
$fileType
$silentArgs
$url
windows/examples/windirstat/windirstat.nuspec
0 → 100644
View file @
cc53353e
<?xml version="1.0" encoding="utf-8"?>
<package
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd=
"http://www.w3.org/2001/XMLSchema"
>
<metadata>
<id>
windirstat
</id>
<version>
1.1.2.20161210
</version>
<owners>
WDS Team, Rob Reynolds
</owners>
<title>
WinDirStat (Install)
</title>
<authors>
Bernhard Seifert, Oliver Schneider, WDS Team
</authors>
<copyright>
© 2003-2007 WDS Team
</copyright>
<projectUrl>
https://windirstat.net/
</projectUrl>
<licenseUrl>
http://www.gnu.org/licenses/gpl-2.0.html
</licenseUrl>
<requireLicenseAcceptance>
false
</requireLicenseAcceptance>
<projectSourceUrl>
https://bitbucket.org/windirstat/windirstat
</projectSourceUrl>
<docsUrl>
https://windirstat.net/index.html
</docsUrl>
<bugTrackerUrl>
https://bitbucket.org/windirstat/windirstat/issues?status=new
&
status=open
</bugTrackerUrl>
<tags>
windirstat disk usage admin
</tags>
<summary>
WinDirStat - Windows Directory Statistics
</summary>
<description>
WinDirStat is a disk usage statistics viewer and cleanup tool for Microsoft Windows.
</description>
<!-- =============================== -->
</metadata>
<files>
<file
src=
"tools\**"
target=
"tools"
/>
</files>
</package>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment