Skip to content
Snippets Groups Projects
Commit f1a3db2d authored by Torben Gotowik's avatar Torben Gotowik
Browse files

still url, because with offline installer >50MB

parent bad6c121
No related branches found
No related tags found
No related merge requests found
Pipeline #60281 failed
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>KB2919355</id>
<version>1.0.20160915</version>
<title>Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 update: April 2014 (KB2919355)</title>
<authors>Microsoft</authors>
<owners>Manuel Riezebosch</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://support.microsoft.com/en-us/kb/2919355</licenseUrl>
<projectUrl>https://support.microsoft.com/en-us/kb/2919355</projectUrl>
<iconUrl>https://assets.onestore.ms/cdnfiles/onestorerolling-1509-17011/shell/v1_2/images/logo/microsoft.png</iconUrl>
<description>This update is a cumulative update that includes the security updates and the non-security updates for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 that were released before March 2014. In addition to previous updates, it includes features such as improved Internet Explorer 11 compatibility for enterprise applications, usability improvements, extended mobile device management, and improved hardware support.
All future security and nonsecurity updates for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 require this update to be installed.
On systems other than Windows 8.1 or Windows Server 2012 R2, this package installs successfully, but does nothing.
This update is required to install Visual Studio 2015 on Windows 8.1 or Windows Server 2012 R2.</description>
<summary>This update is a cumulative update that includes the security updates and the non-security updates for Windows RT 8.1, Windows 8.1, and Windows Server 2012 R2 that were released before March 2014.</summary>
<releaseNotes>1.0.20160915:
- fixed installation on PowerShell 2.0</releaseNotes>
<tags>Microsoft Visual Studio 2015 Windows Update KB2919355</tags>
<dependencies>
<dependency id="KB2919442" version="1.0.20160915" />
</dependencies>
</metadata>
</package>
\ No newline at end of file
$kb = "KB2919355"
$packageName = "KB2919355"
$silentArgs = "/quiet /norestart /log:`"$env:TEMP\$kb.Install.evt`""
$os = Get-WmiObject -Class Win32_OperatingSystem
$version = [Version]$os.Version
if ($version -eq $null -or $version -lt [Version]'6.3' -or $version -ge [Version]'6.4') {
Write-Host "Skipping installation because this hotfix only applies to Windows 8.1 and Windows Server 2012 R2."
return
}
if (Get-HotFix -id $kb -ea SilentlyContinue)
{
Write-Host "Skipping installation because hotfix $kb is already installed."
return
}
if ($os.ProductType -eq '1') {
# Windows 8.1
$url = "https://download.microsoft.com/download/4/E/C/4EC66C83-1E15-43FD-B591-63FB7A1A5C04/Windows8.1-KB2919355-x86.msu"
$url64 = "https://download.microsoft.com/download/D/B/1/DB1F29FC-316D-481E-B435-1654BA185DCF/Windows8.1-KB2919355-x64.msu"
$checksum = 'F8BECA5B463A36E1FEF45AD0DCA6A0DE7606930380514AC1852DF5CA6E3F6C1D'
$checksum64 = 'B0C9ADA530F5EE90BB962AFA9ED26218C582362315E13B1BA97E59767CB7825D'
} else {
# Windows Server 2012 R2
$url64 = "https://download.microsoft.com/download/2/5/6/256CCCFB-5341-4A8D-A277-8A81B21A1E35/Windows8.1-KB2919355-x64.msu"
$checksum64 = 'B0C9ADA530F5EE90BB962AFA9ED26218C582362315E13B1BA97E59767CB7825D'
}
Install-ChocolateyPackage $packageName 'msu' $silentArgs $url $url64 -checksum $checksum -checksum64 $checksum64 -checksumType 'sha256' -validExitCodes @(0, 3010, 0x80240017)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment