GitHub – syntax-tm/zunesoftware: Zune software Chocolatey package source.
Mục lục bài viết
Zune
Zune software Chocolatey package source.
Quick Links
About Zune
Zune is a discontinued media management software for Microsoft Windows that functions as a full media player application with a library, an interface to the Zune Marketplace, and as a media streaming server. The software is used to sync with all devices with Zune functionality including the Zune 4, 8, 16, 30, 80, 120, Zune HD, Windows Phone 7, and Microsoft Kin. Zune devices work exclusively with the Zune software, which applies many design principles of Microsoft’s Metro design language.
You can read more about Zune on Wikipedia.
Requirements
- Chocolatey
- You can read more about installing Chocolatey here
Install
To install the Zune desktop application, run the following PowerShell command (as admin):
choco install zunesoftware--
version=
4.8
.2345.0
Manual Install
The files used to install Zune are hosted on archive.org in the zunepackage project. You can view and download individual files on the project’s download page here.
Uninstall
choco uninstall zunesoftware
Manual Uninstall
This package uses the Chocolatey auto uninstaller and as such does not contain a chocolateyuninstall.ps1
file. The auto uninstaller functions the same way as the Programs and Features
does in the Control Panel
. You can read more about the automatic uninstaller here.
For Zune, the UninstallString
can be found in the registry at HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Zune
. If you wish to uninstall the Zune software manually, you can run the following command:
"
C:\Program Files\Zune\ZuneSetup.exe"
/
x
Build
To create a new Chocolatey package (*.nupkg
), run the following command in the .\tools
directory. The pack
command will generate a .nupkg
based on the .nuspec
file.
choco pack
You can install the package locally using this command:
choco install zunesoftware-
dv-
s .
If you want to re-install without uninstalling, you can use the --force
switch:
choco install zunesoftware-
dv-
s.
--
force
If you are making changes to the chocolateyinstall.ps1
file, you can import the Chocolatey Installer module using:
Import-Module
"
$
env:
ChocolateyInstall\helpers\chocolateyInstaller.psm1"
File Verification
By default, the chocolateyinstall.ps1
script used by Chocolatey during the install will calculate the downloaded file’s SHA256
and compare it with the expected value.
File
Algorithm
Hash
ZunePackage.exe
MD5
24B08564E74BF19F10E1BBE47FAD3FA7
ZunePackage.exe
SHA1
31E0B5114D71B545B8199A458F776009F7898B4D
ZunePackage.exe
SHA256
EF5E5DEBD76CA7DF2F7B6BF7095E1354EE4F9BAFDBBD29C96CB1CA87695FDDEE