Notices: This section not yet converted to new layout. Download stats are rolling back out.

Yandex Disk

1.0.0.6

Package test results have failed.

This package was approved by moderator ferventcoder on 11/27/2014.

Yandex.Disk is a cloud service created by Yandex that lets users store files on “cloud” servers and share them with others online. The service is based on syncing data between different devices.
Яндекс.Диск — облачный сервис, принадлежащий компании Яндекс, позволяющий пользователям хранить свои данные на серверах в «облаке» и передавать их другим пользователям в Интернете.

To install Yandex Disk, run the following command from the command line or from PowerShell:

C:\> choco install yandexdisk

To upgrade Yandex Disk, run the following command from the command line or from PowerShell:

C:\> choco upgrade yandexdisk

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    #NOTE: Please remove any commented lines to tidy up prior to releasing the package, including this one
    
    $packageName = 'yandexdisk' # arbitrary name for the package, used in messages
    $installerType = 'exe' #only one of these: exe, msi, msu
    $url = 'https://disk.yandex.ru/download/link' # download url
    $silentArgs = '/silent' # "/s /S /q /Q /quiet /silent /SILENT /VERYSILENT" # try any of these to get the silent installer #msi is always /quiet
    $validExitCodes = @(0) #please insert other valid exit codes here, exit codes for ms http://msdn.microsoft.com/en-us/library/aa368542(VS.85).aspx
    
    try { #error handling is only necessary if you need to do anything in addition to/instead of the main helpers
        $chocTempDir = Join-Path $env:TEMP "chocolatey"
        $tempDir = Join-Path $chocTempDir "$packageName"
        if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
    	
    	$indexFile = Join-Path $tempDir "$($packageName).html"
    	Get-ChocolateyWebFile "$packageName" "$indexFile" "$url"
    	write-host "[$packageName] Trying to find a link to a '.exe' file."
        $contentIndexFile = Get-Content "$indexFile"
        
    	if("$contentIndexFile" -match '"YandexDiskSetupRu.exe"\s*:\s*"(http[s]?://downloader\.[^"]+?)"') {
    		$downloadeUrl = $matches[1];
    		write-host "[$packageName] Link is found. $downloadeUrl"
    		Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$downloadeUrl"  -validExitCodes $validExitCodes
    	} else {
            write-host $matches[0]
            write-host $matches[1]
            write-host "[$packageName] Link is not found."
    		throw
    	}
        
        Remove-Item "$indexFile"
        
        Write-ChocolateySuccess "$packageName"
    } catch {
        Write-ChocolateyFailure "$packageName" "$($_.Exception.Message)"
        throw
    }

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • yandex

Copyright

yandex.ru

Tags

Release Notes

Fix url for download.

Version History

Version Downloads Last updated Status
Yandex Disk 1.0.0.5 364 Monday, July 28, 2014  
Yandex Disk 1.0.0.4 269 Sunday, June 29, 2014  
Yandex Disk 1.0.0.3 311 Wednesday, May 21, 2014  
Яндекс Диск 1.0.0.2 291 Sunday, May 18, 2014  
Яндекс Диск 1.0.0.1 273 Friday, May 16, 2014  
Яндекс Диск 1.0.0 290 Friday, May 16, 2014  

Discussion for the Yandex Disk Package

Ground rules:

  • This discussion is only about Yandex Disk and the Yandex Disk package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Yandex Disk, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok