|
2023-05-25 04:57:33,358 4484 [DEBUG] - XmlConfiguration is now operational
|
|
2023-05-25 04:57:33,516 4484 [DEBUG] - Adding new type 'WebPiService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-05-25 04:57:33,530 4484 [DEBUG] - Adding new type 'WindowsFeatureService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-05-25 04:57:33,530 4484 [DEBUG] - Adding new type 'CygwinService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-05-25 04:57:33,530 4484 [DEBUG] - Adding new type 'PythonService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-05-25 04:57:33,530 4484 [DEBUG] - Adding new type 'RubyGemsService' for type 'ISourceRunner' from assembly 'choco'
|
|
2023-05-25 04:57:33,546 4484 [DEBUG] - Adding new type 'SystemStateValidation' for type 'IValidation' from assembly 'choco'
|
|
2023-05-25 04:57:33,844 4484 [DEBUG] - Registering new command 'templates' in assembly 'choco'
|
|
2023-05-25 04:57:33,844 4484 [DEBUG] - Registering new command 'upgrade' in assembly 'choco'
|
|
2023-05-25 04:57:33,858 4484 [DEBUG] - Registering new command 'export' in assembly 'choco'
|
|
2023-05-25 04:57:33,858 4484 [DEBUG] - Registering new command 'list' in assembly 'choco'
|
|
2023-05-25 04:57:33,858 4484 [DEBUG] - Registering new command 'info' in assembly 'choco'
|
|
2023-05-25 04:57:33,858 4484 [DEBUG] - Registering new command 'help' in assembly 'choco'
|
|
2023-05-25 04:57:33,873 4484 [DEBUG] - Registering new command 'config' in assembly 'choco'
|
|
2023-05-25 04:57:33,873 4484 [DEBUG] - Registering new command 'feature' in assembly 'choco'
|
|
2023-05-25 04:57:33,873 4484 [DEBUG] - Registering new command 'new' in assembly 'choco'
|
|
2023-05-25 04:57:33,873 4484 [DEBUG] - Registering new command 'outdated' in assembly 'choco'
|
|
2023-05-25 04:57:33,889 4484 [DEBUG] - Registering new command 'pack' in assembly 'choco'
|
|
2023-05-25 04:57:33,889 4484 [DEBUG] - Registering new command 'pin' in assembly 'choco'
|
|
2023-05-25 04:57:33,921 4484 [DEBUG] - Registering new command 'push' in assembly 'choco'
|
|
2023-05-25 04:57:33,921 4484 [DEBUG] - Registering new command 'apikey' in assembly 'choco'
|
|
2023-05-25 04:57:33,921 4484 [DEBUG] - Registering new command 'sources' in assembly 'choco'
|
|
2023-05-25 04:57:33,921 4484 [DEBUG] - Registering new command 'uninstall' in assembly 'choco'
|
|
2023-05-25 04:57:33,936 4484 [DEBUG] - Registering new command 'unpackself' in assembly 'choco'
|
|
2023-05-25 04:57:33,936 4484 [DEBUG] - Registering new command 'install' in assembly 'choco'
|
|
2023-05-25 04:57:34,218 4484 [INFO ] - ============================================================
|
|
2023-05-25 04:57:34,622 4484 [INFO ] - Chocolatey v1.3.0
|
|
2023-05-25 04:57:34,669 4484 [DEBUG] - Chocolatey is running on Windows v 10.0.17763.0
|
|
2023-05-25 04:57:34,669 4484 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
|
|
2023-05-25 04:57:34,685 4484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
|
|
2023-05-25 04:57:34,701 4484 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install AndroidStudio --version 2022.2.1.20 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-05-25 04:57:34,701 4484 [DEBUG] - Received arguments: install AndroidStudio --version 2022.2.1.20 -fdvy --execution-timeout=2700 --allow-downgrade
|
|
2023-05-25 04:57:34,887 4484 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
|
|
2023-05-25 04:57:34,919 4484 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
|
|
2023-05-25 04:57:34,934 4484 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
|
|
2023-05-25 04:57:35,107 4484 [DEBUG] - Performing validation checks.
|
|
2023-05-25 04:57:35,107 4484 [DEBUG] - Global Configuration Validation Checks:
|
|
2023-05-25 04:57:35,122 4484 [DEBUG] - - Package Exit Code / Exit On Reboot = Checked
|
|
2023-05-25 04:57:35,137 4484 [DEBUG] - System State Validation Checks:
|
|
2023-05-25 04:57:35,153 4484 [DEBUG] - Reboot Requirement Checks:
|
|
2023-05-25 04:57:35,168 4484 [DEBUG] - - Pending Computer Rename = Checked
|
|
2023-05-25 04:57:35,168 4484 [DEBUG] - - Pending Component Based Servicing = Checked
|
|
2023-05-25 04:57:35,184 4484 [DEBUG] - - Pending Windows Auto Update = Checked
|
|
2023-05-25 04:57:35,184 4484 [DEBUG] - - Pending File Rename Operations = Ignored
|
|
2023-05-25 04:57:35,199 4484 [DEBUG] - - Pending Windows Package Installer = Checked
|
|
2023-05-25 04:57:35,199 4484 [DEBUG] - - Pending Windows Package Installer SysWow64 = Checked
|
|
2023-05-25 04:57:35,215 4484 [INFO ] - 2 validations performed. 2 success(es), 0 warning(s), and 0 error(s).
|
|
2023-05-25 04:57:35,278 4484 [DEBUG] - The source 'c:\cached-packages;https://community.chocolatey.org/api/v2/' evaluated to a 'normal' source type
|
|
2023-05-25 04:57:35,293 4484 [DEBUG] -
|
|
NOTE: Hiding sensitive configuration data! Please double and triple
|
|
check to be sure no sensitive data is shown, especially if copying
|
|
output to a gist for review.
|
|
2023-05-25 04:57:35,340 4484 [DEBUG] - Configuration: CommandName='install'|
|
|
CacheLocation='C:\Users\vagrant\AppData\Local\Temp\chocolatey'|
|
|
ContainsLegacyPackageInstalls='True'|
|
|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
|
|
Sources='c:\cached-packages;https://community.chocolatey.org/api/v2/'|
|
|
SourceType='normal'|Debug='True'|Verbose='True'|Trace='False'|
|
|
Force='True'|Noop='False'|HelpRequested='False'|
|
|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
|
|
PromptForConfirmation='False'|DisableCompatibilityChecks='False'|
|
|
AcceptLicense='True'|AllowUnofficialBuild='False'|
|
|
Input='AndroidStudio'|
|
|
Version='2022.2.1.20'|AllVersions='False'|
|
|
SkipPackageInstallProvider='False'|SkipHookScripts='False'|
|
|
PackageNames='AndroidStudio'|Prerelease='False'|ForceX86='False'|
|
|
OverrideArguments='False'|NotSilent='False'|
|
|
ApplyPackageParametersToDependencies='False'|
|
|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
|
|
AllowMultipleVersions='False'|AllowDowngrade='True'|
|
|
ForceDependencies='False'|PinPackage='False'|
|
|
Information.PlatformType='Windows'|
|
|
Information.PlatformVersion='10.0.17763.0'|
|
|
Information.PlatformName='Windows Server 2016'|
|
|
Information.ChocolateyVersion='1.3.0.0'|
|
|
Information.ChocolateyProductVersion='1.3.0'|
|
|
Information.FullName='choco, Version=1.3.0.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
|
|
|
|
Information.Is64BitOperatingSystem='True'|
|
|
Information.Is64BitProcess='True'|Information.IsInteractive='False'|
|
|
Information.UserName='vagrant'|
|
|
Information.UserDomainName='WIN-OTR097COPFC'|
|
|
Information.IsUserAdministrator='True'|
|
|
Information.IsUserSystemAccount='False'|
|
|
Information.IsUserRemoteDesktop='False'|
|
|
Information.IsUserRemote='True'|
|
|
Information.IsProcessElevated='True'|
|
|
Information.IsLicensedVersion='False'|Information.LicenseType='Foss'|
|
|
Information.CurrentDirectory='C:\Users\vagrant'|
|
|
Features.AutoUninstaller='True'|Features.ChecksumFiles='True'|
|
|
Features.AllowEmptyChecksums='False'|
|
|
Features.AllowEmptyChecksumsSecure='True'|
|
|
Features.FailOnAutoUninstaller='False'|
|
|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
|
|
Features.LogEnvironmentValues='True'|Features.LogWithoutColor='False'|
|
|
Features.VirusCheck='False'|
|
|
Features.FailOnInvalidOrMissingLicense='False'|
|
|
Features.IgnoreInvalidOptionsSwitches='True'|
|
|
Features.UsePackageExitCodes='True'|
|
|
Features.UseEnhancedExitCodes='False'|
|
|
Features.UseFipsCompliantChecksums='False'|
|
|
Features.ShowNonElevatedWarnings='True'|
|
|
Features.ShowDownloadProgress='False'|
|
|
Features.StopOnFirstPackageFailure='False'|
|
|
Features.UseRememberedArgumentsForUpgrades='False'|
|
|
Features.IgnoreUnfoundPackagesOnUpgradeOutdated='False'|
|
|
Features.SkipPackageUpgradesWhenNotInstalled='False'|
|
|
Features.RemovePackageInformationOnUninstall='False'|
|
|
Features.ExitOnRebootDetected='False'|
|
|
Features.LogValidationResultsOnWarnings='True'|
|
|
Features.UsePackageRepositoryOptimizations='True'|
|
|
ListCommand.LocalOnly='False'|ListCommand.IdOnly='False'|
|
|
ListCommand.IncludeRegistryPrograms='False'|ListCommand.PageSize='25'|
|
|
ListCommand.Exact='False'|ListCommand.ByIdOnly='False'|
|
|
ListCommand.ByTagOnly='False'|ListCommand.IdStartsWith='False'|
|
|
ListCommand.OrderByPopularity='False'|ListCommand.ApprovedOnly='False'|
|
|
ListCommand.DownloadCacheAvailable='False'|
|
|
ListCommand.NotBroken='False'|
|
|
ListCommand.IncludeVersionOverrides='False'|
|
|
UpgradeCommand.FailOnUnfound='False'|
|
|
UpgradeCommand.FailOnNotInstalled='False'|
|
|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
|
|
UpgradeCommand.ExcludePrerelease='False'|
|
|
NewCommand.AutomaticPackage='False'|
|
|
NewCommand.UseOriginalTemplate='False'|SourceCommand.Command='unknown'|
|
|
SourceCommand.Priority='0'|SourceCommand.BypassProxy='False'|
|
|
SourceCommand.AllowSelfService='False'|
|
|
SourceCommand.VisibleToAdminsOnly='False'|
|
|
FeatureCommand.Command='unknown'|ConfigCommand.Command='unknown'|
|
|
ApiKeyCommand.Remove='False'|PinCommand.Command='unknown'|
|
|
OutdatedCommand.IgnorePinned='False'|
|
|
ExportCommand.IncludeVersionNumbers='False'|Proxy.BypassOnLocal='True'|
|
|
TemplateCommand.Command='unknown'|
|
|
2023-05-25 04:57:35,356 4484 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
|
|
2023-05-25 04:57:35,388 4484 [INFO ] - Installing the following packages:
|
|
2023-05-25 04:57:35,388 4484 [INFO ] - AndroidStudio
|
|
2023-05-25 04:57:35,402 4484 [INFO ] - By installing, you accept licenses for the packages.
|
|
2023-05-25 04:57:35,418 4484 [DEBUG] - Current environment values (may contain sensitive data):
|
|
2023-05-25 04:57:35,433 4484 [DEBUG] - * 'Path'='C:\Users\vagrant\AppData\Local\Microsoft\WindowsApps;' ('User')
|
|
2023-05-25 04:57:35,433 4484 [DEBUG] - * 'TEMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-05-25 04:57:35,433 4484 [DEBUG] - * 'TMP'='C:\Users\vagrant\AppData\Local\Temp' ('User')
|
|
2023-05-25 04:57:35,449 4484 [DEBUG] - * 'ChocolateyLastPathUpdate'='133294036995888793' ('User')
|
|
2023-05-25 04:57:35,449 4484 [DEBUG] - * 'ComSpec'='C:\Windows\system32\cmd.exe' ('Machine')
|
|
2023-05-25 04:57:35,465 4484 [DEBUG] - * 'DriverData'='C:\Windows\System32\Drivers\DriverData' ('Machine')
|
|
2023-05-25 04:57:35,465 4484 [DEBUG] - * 'OS'='Windows_NT' ('Machine')
|
|
2023-05-25 04:57:35,480 4484 [DEBUG] - * 'Path'='C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;' ('Machine')
|
|
2023-05-25 04:57:35,480 4484 [DEBUG] - * 'PATHEXT'='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC' ('Machine')
|
|
2023-05-25 04:57:35,480 4484 [DEBUG] - * 'PROCESSOR_ARCHITECTURE'='AMD64' ('Machine')
|
|
2023-05-25 04:57:35,496 4484 [DEBUG] - * 'PSModulePath'='C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules' ('Machine')
|
|
2023-05-25 04:57:35,496 4484 [DEBUG] - * 'TEMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-05-25 04:57:35,512 4484 [DEBUG] - * 'TMP'='C:\Windows\TEMP' ('Machine')
|
|
2023-05-25 04:57:35,512 4484 [DEBUG] - * 'USERNAME'='SYSTEM' ('Machine')
|
|
2023-05-25 04:57:35,512 4484 [DEBUG] - * 'windir'='C:\Windows' ('Machine')
|
|
2023-05-25 04:57:35,527 4484 [DEBUG] - * 'NUMBER_OF_PROCESSORS'='1' ('Machine')
|
|
2023-05-25 04:57:35,527 4484 [DEBUG] - * 'PROCESSOR_LEVEL'='6' ('Machine')
|
|
2023-05-25 04:57:35,543 4484 [DEBUG] - * 'PROCESSOR_IDENTIFIER'='Intel64 Family 6 Model 158 Stepping 13, GenuineIntel' ('Machine')
|
|
2023-05-25 04:57:35,543 4484 [DEBUG] - * 'PROCESSOR_REVISION'='9e0d' ('Machine')
|
|
2023-05-25 04:57:35,543 4484 [DEBUG] - * 'ChocolateyInstall'='C:\ProgramData\chocolatey' ('Machine')
|
|
2023-05-25 04:57:37,649 4484 [INFO ] - [NuGet] Installing 'AndroidStudio 2022.2.1.20'.
|
|
2023-05-25 04:57:37,680 4484 [DEBUG] - [NuGet] Added file 'chocolateyBeforeModify.ps1' to folder 'AndroidStudio\tools'.
|
|
2023-05-25 04:57:37,696 4484 [DEBUG] - [NuGet] Added file 'chocolateyinstall.ps1' to folder 'AndroidStudio\tools'.
|
|
2023-05-25 04:57:37,712 4484 [DEBUG] - [NuGet] Added file 'AndroidStudio.nupkg' to folder 'AndroidStudio'.
|
|
2023-05-25 04:57:38,149 4484 [DEBUG] - [NuGet] Added file 'AndroidStudio.nuspec' to folder 'AndroidStudio'.
|
|
2023-05-25 04:57:38,165 4484 [INFO ] - [NuGet] Successfully installed 'AndroidStudio 2022.2.1.20'.
|
|
2023-05-25 04:57:38,180 4484 [INFO ] -
|
|
AndroidStudio v2022.2.1.20 (forced)
|
|
2023-05-25 04:57:38,196 4484 [INFO ] - androidstudio package files install completed. Performing other installation steps.
|
|
2023-05-25 04:57:38,291 4484 [DEBUG] - Setting installer args for AndroidStudio
|
|
2023-05-25 04:57:38,291 4484 [DEBUG] - Setting package parameters for AndroidStudio
|
|
2023-05-25 04:57:38,305 4484 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\AndroidStudio\tools\chocolateyinstall.ps1':
|
|
2023-05-25 04:57:38,320 4484 [DEBUG] - $ErrorActionPreference = 'Stop';
|
|
|
|
$url = 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe'
|
|
$checksum = '97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d'
|
|
$silentArgs = '/S'
|
|
|
|
# the installer includes both 32 and 64-bit executables so set the correct executable
|
|
# to be used based on the OS bitness
|
|
if ((Get-ProcessorBits 32) -or $env:ChocolateyForceX86 -eq 'true') {
|
|
$executable = 'studio.exe'
|
|
} else {
|
|
$executable = 'studio64.exe'
|
|
}
|
|
|
|
$pp = Get-PackageParameters
|
|
|
|
$addToDesktop = $false
|
|
$noStartMenu = $false
|
|
$pinToTaskBar = $false
|
|
|
|
if ($pp.count -gt 0) {
|
|
$pp.GetEnumerator() | foreach-object {
|
|
switch ($_.name) {
|
|
'AddToDesktop' {
|
|
$addToDesktop = $true
|
|
}
|
|
'NoStartMenu' {
|
|
$noStartMenu = $true
|
|
}
|
|
'PinToTaskBar' {
|
|
$pinToTaskBar = $true
|
|
}
|
|
Default {
|
|
Write-Verbose("Unknown parameter $_ will be ignored")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
$packageArgs = @{
|
|
PackageName = $env:ChocolateyPackageName
|
|
FileType = 'exe'
|
|
SoftwareName = 'Android Studio'
|
|
Url = $url
|
|
Checksum = $checksum
|
|
ChecksumType = 'sha256'
|
|
Url64bit = $url
|
|
Checksum64 = $checksum
|
|
ChecksumType64 = 'sha256'
|
|
SilentArgs = $silentArgs
|
|
validExitCodes = @(0, 1223)
|
|
}
|
|
|
|
Install-ChocolateyPackage @packageArgs
|
|
|
|
$uninstallKey = Get-UninstallRegistryKey -SoftwareName 'Android Studio'
|
|
$installLocation = Split-Path -Parent $uninstallKey.UninstallString
|
|
$executable = Get-ChildItem $installLocation -include $executable -recurse
|
|
|
|
Install-Binfile -name ($executable.Name -Split '\.' | Select-Object -First 1) -Path $executable.FullName
|
|
|
|
if ($addToDesktop) {
|
|
$desktopPath = [Environment]::GetFolderPath('CommonDesktopDirectory')
|
|
|
|
$shortcutPath = "$desktopPath\Android Studio.lnk"
|
|
|
|
if (Test-Path -Path $shortcutPath) {
|
|
Remove-Item $shortcutPath -ErrorAction SilentlyContinue -Force | Out-Null
|
|
}
|
|
|
|
Install-ChocolateyShortcut -ShortcutFilePath $shortcutPath -TargetPath $executable
|
|
}
|
|
|
|
# the start menu entry for Android Studio is added by default on install - remove if /NoStartMenu has been specifed
|
|
if ($noStartMenu) {
|
|
$startMenuPath = [Environment]::GetFolderPath('CommonPrograms')
|
|
|
|
$startMenuLink = "$startMenuPath\Android Studio\Android Studio.lnk"
|
|
|
|
if (Test-Path -Path $startMenuLink) {
|
|
$startMenuFolder = Split-Path -Parent $startMenuLink
|
|
Remove-Item -LiteralPath $startMenuFolder -ErrorAction SilentlyContinue -Force -Recurse | Out-Null
|
|
}
|
|
}
|
|
|
|
if ($pinToTaskBar) {
|
|
Install-ChocolateyPinnedTaskBarItem -TargetFilePath $executable.FullName
|
|
}
|
|
|
|
2023-05-25 04:57:38,555 4484 [DEBUG] - Calling built-in PowerShell host with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\AndroidStudio\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null']
|
|
2023-05-25 04:57:38,570 4484 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
|
|
2023-05-25 04:57:39,538 4484 [DEBUG] - Host version is 5.1.17763.1, PowerShell Version is '5.1.17763.3770' and CLR Version is '4.0.30319.42000'.
|
|
2023-05-25 04:57:40,053 4484 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-05-25 04:57:40,068 4484 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-05-25 04:57:40,068 4484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-05-25 04:57:40,083 4484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-05-25 04:57:40,083 4484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-05-25 04:57:40,099 4484 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-05-25 04:57:40,099 4484 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-05-25 04:57:40,099 4484 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-05-25 04:57:40,115 4484 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-05-25 04:57:40,130 4484 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-05-25 04:57:40,130 4484 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-05-25 04:57:40,146 4484 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-05-25 04:57:40,146 4484 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-05-25 04:57:40,162 4484 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-05-25 04:57:40,162 4484 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-05-25 04:57:40,177 4484 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-05-25 04:57:40,177 4484 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-05-25 04:57:40,193 4484 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-05-25 04:57:40,193 4484 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-05-25 04:57:40,209 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-05-25 04:57:40,209 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-05-25 04:57:40,225 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-05-25 04:57:40,240 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-05-25 04:57:40,255 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-05-25 04:57:40,255 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-05-25 04:57:40,270 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-05-25 04:57:40,270 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-05-25 04:57:40,287 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-05-25 04:57:40,287 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-05-25 04:57:40,302 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-05-25 04:57:40,302 4484 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-05-25 04:57:40,302 4484 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-05-25 04:57:40,318 4484 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-05-25 04:57:40,333 4484 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-05-25 04:57:40,333 4484 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-05-25 04:57:40,348 4484 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-05-25 04:57:40,348 4484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-05-25 04:57:40,364 4484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-05-25 04:57:40,364 4484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-05-25 04:57:40,380 4484 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-05-25 04:57:40,380 4484 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-05-25 04:57:40,396 4484 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-05-25 04:57:40,396 4484 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-05-25 04:57:40,411 4484 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-05-25 04:57:40,411 4484 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-05-25 04:57:40,427 4484 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-05-25 04:57:40,427 4484 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-05-25 04:57:40,427 4484 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-05-25 04:57:40,443 4484 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-05-25 04:57:40,443 4484 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-05-25 04:57:40,490 4484 [DEBUG] - Loading community extensions
|
|
2023-05-25 04:57:40,536 4484 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'
|
|
2023-05-25 04:57:40,536 4484 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-windowsupdate\chocolatey-windowsupdate.psm1'.
|
|
2023-05-25 04:57:40,662 4484 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-05-25 04:57:40,677 4484 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-05-25 04:57:40,692 4484 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-05-25 04:57:40,692 4484 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-05-25 04:57:40,708 4484 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
|
|
2023-05-25 04:57:40,708 4484 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
|
|
2023-05-25 04:57:40,723 4484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyPath'.
|
|
2023-05-25 04:57:40,723 4484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
|
|
2023-05-25 04:57:40,723 4484 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
|
|
2023-05-25 04:57:40,739 4484 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
|
|
2023-05-25 04:57:40,755 4484 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
|
|
2023-05-25 04:57:40,755 4484 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
|
|
2023-05-25 04:57:40,755 4484 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
|
|
2023-05-25 04:57:40,770 4484 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
|
|
2023-05-25 04:57:40,770 4484 [INFO ] - VERBOSE: Exporting function 'Get-PackageParametersBuiltIn'.
|
|
2023-05-25 04:57:40,787 4484 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
|
|
2023-05-25 04:57:40,802 4484 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
|
|
2023-05-25 04:57:40,802 4484 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
|
|
2023-05-25 04:57:40,817 4484 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
|
|
2023-05-25 04:57:40,817 4484 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
|
|
2023-05-25 04:57:40,833 4484 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
|
|
2023-05-25 04:57:40,833 4484 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
|
|
2023-05-25 04:57:40,848 4484 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
|
|
2023-05-25 04:57:40,848 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-05-25 04:57:40,864 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-05-25 04:57:40,864 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
|
|
2023-05-25 04:57:40,880 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
|
|
2023-05-25 04:57:40,880 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
|
|
2023-05-25 04:57:40,895 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
|
|
2023-05-25 04:57:40,895 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-05-25 04:57:40,895 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
|
|
2023-05-25 04:57:40,911 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
|
|
2023-05-25 04:57:40,911 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
|
|
2023-05-25 04:57:40,926 4484 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
|
|
2023-05-25 04:57:40,941 4484 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
|
|
2023-05-25 04:57:40,941 4484 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
|
|
2023-05-25 04:57:40,957 4484 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
|
|
2023-05-25 04:57:40,973 4484 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-05-25 04:57:40,973 4484 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
|
|
2023-05-25 04:57:40,989 4484 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
|
|
2023-05-25 04:57:40,989 4484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-05-25 04:57:41,004 4484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
|
|
2023-05-25 04:57:41,004 4484 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-05-25 04:57:41,020 4484 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
|
|
2023-05-25 04:57:41,036 4484 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
|
|
2023-05-25 04:57:41,036 4484 [INFO ] - VERBOSE: Exporting function 'Install-WindowsUpdate'.
|
|
2023-05-25 04:57:41,051 4484 [INFO ] - VERBOSE: Exporting function 'Test-WindowsUpdate'.
|
|
2023-05-25 04:57:41,068 4484 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
|
|
2023-05-25 04:57:41,068 4484 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
|
|
2023-05-25 04:57:41,082 4484 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
|
|
2023-05-25 04:57:41,082 4484 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
|
|
2023-05-25 04:57:41,098 4484 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
|
|
2023-05-25 04:57:41,098 4484 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
|
|
2023-05-25 04:57:41,098 4484 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
|
|
2023-05-25 04:57:41,113 4484 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
|
|
2023-05-25 04:57:41,113 4484 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
|
|
2023-05-25 04:57:41,129 4484 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
|
|
2023-05-25 04:57:41,129 4484 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
|
|
2023-05-25 04:57:41,145 4484 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyPath'.
|
|
2023-05-25 04:57:41,145 4484 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
|
|
2023-05-25 04:57:41,160 4484 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
|
|
2023-05-25 04:57:41,160 4484 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
|
|
2023-05-25 04:57:41,160 4484 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
|
|
2023-05-25 04:57:41,176 4484 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
|
|
2023-05-25 04:57:41,176 4484 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
|
|
2023-05-25 04:57:41,192 4484 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
|
|
2023-05-25 04:57:41,207 4484 [INFO ] - VERBOSE: Importing function 'Get-PackageParametersBuiltIn'.
|
|
2023-05-25 04:57:41,207 4484 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
|
|
2023-05-25 04:57:41,207 4484 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
|
|
2023-05-25 04:57:41,223 4484 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
|
|
2023-05-25 04:57:41,223 4484 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
|
|
2023-05-25 04:57:41,239 4484 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
|
|
2023-05-25 04:57:41,239 4484 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
|
|
2023-05-25 04:57:41,254 4484 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
|
|
2023-05-25 04:57:41,254 4484 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
|
|
2023-05-25 04:57:41,270 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
|
|
2023-05-25 04:57:41,270 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
|
|
2023-05-25 04:57:41,285 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
|
|
2023-05-25 04:57:41,285 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
|
|
2023-05-25 04:57:41,285 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
|
|
2023-05-25 04:57:41,301 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
|
|
2023-05-25 04:57:41,316 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
|
|
2023-05-25 04:57:41,332 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
|
|
2023-05-25 04:57:41,332 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
|
|
2023-05-25 04:57:41,348 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
|
|
2023-05-25 04:57:41,364 4484 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
|
|
2023-05-25 04:57:41,379 4484 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
|
|
2023-05-25 04:57:41,379 4484 [INFO ] - VERBOSE: Importing function 'Install-WindowsUpdate'.
|
|
2023-05-25 04:57:41,394 4484 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
|
|
2023-05-25 04:57:41,394 4484 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
|
|
2023-05-25 04:57:41,410 4484 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
|
|
2023-05-25 04:57:41,410 4484 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
|
|
2023-05-25 04:57:41,426 4484 [INFO ] - VERBOSE: Importing function 'Test-WindowsUpdate'.
|
|
2023-05-25 04:57:41,426 4484 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
|
|
2023-05-25 04:57:41,441 4484 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
|
|
2023-05-25 04:57:41,441 4484 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
|
|
2023-05-25 04:57:41,441 4484 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
|
|
2023-05-25 04:57:41,457 4484 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
|
|
2023-05-25 04:57:41,457 4484 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
|
|
2023-05-25 04:57:41,473 4484 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
|
|
2023-05-25 04:57:41,473 4484 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
|
|
2023-05-25 04:57:41,473 4484 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
|
|
2023-05-25 04:57:41,489 4484 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
|
|
2023-05-25 04:57:41,489 4484 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
|
|
2023-05-25 04:57:41,504 4484 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
|
|
2023-05-25 04:57:41,504 4484 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
|
|
2023-05-25 04:57:41,520 4484 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
|
|
2023-05-25 04:57:41,520 4484 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
|
|
2023-05-25 04:57:41,645 4484 [DEBUG] - ---------------------------Script Execution---------------------------
|
|
2023-05-25 04:57:41,677 4484 [DEBUG] - Running 'ChocolateyScriptRunner' for AndroidStudio v2022.2.1.20 with packageScript 'C:\ProgramData\chocolatey\lib\AndroidStudio\tools\chocolateyinstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\AndroidStudio', installArguments: '', packageParameters: '', preRunHookScripts: '', postRunHookScripts: '',
|
|
2023-05-25 04:57:41,738 4484 [DEBUG] - Running package script 'C:\ProgramData\chocolatey\lib\AndroidStudio\tools\chocolateyinstall.ps1'
|
|
2023-05-25 04:57:41,863 4484 [DEBUG] - Running Get-ProcessorBits -compare '32'
|
|
2023-05-25 04:57:41,942 4484 [DEBUG] - Running Get-PackageParameters
|
|
2023-05-25 04:57:41,958 4484 [DEBUG] - Parsing $env:ChocolateyPackageParameters and $env:ChocolateyPackageParametersSensitive for parameters
|
|
2023-05-25 04:57:42,067 4484 [DEBUG] - Running Install-ChocolateyPackage -url 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe' -silentArgs '/S' -url64bit 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe' -checksum '97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d' -checksum64 '97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d' -checksumType 'sha256' -packageName 'AndroidStudio' -fileType 'exe' -validExitCodes '0 1223' -checksumType64 'sha256'
|
|
2023-05-25 04:57:42,238 4484 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'AndroidStudio' -fileFullPath 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\AndroidStudioInstall.exe' -url 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe' -url64bit 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe' -checksum '97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d' -checksumType 'sha256' -checksum64 '97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d' -checksumType64 'sha256' -options 'System.Collections.Hashtable' -getOriginalFileName 'True'
|
|
2023-05-25 04:57:42,362 4484 [DEBUG] - Running Get-OSArchitectureWidth -compare '64'
|
|
2023-05-25 04:57:42,378 4484 [DEBUG] - CPU is 64 bit
|
|
2023-05-25 04:57:42,394 4484 [DEBUG] - Setting url to 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe' and bitPackage to 64
|
|
2023-05-25 04:57:42,487 4484 [DEBUG] - Running Get-WebFileName -url 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe' -defaultName 'AndroidStudioInstall.exe'
|
|
2023-05-25 04:57:43,159 4484 [DEBUG] - Using request url to determine file name. ' https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe'
|
|
2023-05-25 04:57:43,175 4484 [DEBUG] - File name determined from url is 'android-studio-2022.2.1.20-windows.exe'
|
|
2023-05-25 04:57:43,270 4484 [DEBUG] - Running Get-WebHeaders -url 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe' -ErrorAction 'Stop'
|
|
2023-05-25 04:57:43,270 4484 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2023-05-25 04:57:43,285 4484 [DEBUG] - Request Headers:
|
|
2023-05-25 04:57:43,316 4484 [DEBUG] - 'Accept':'*/*'
|
|
2023-05-25 04:57:43,330 4484 [DEBUG] - 'User-Agent':'chocolatey command line'
|
|
2023-05-25 04:57:43,456 4484 [DEBUG] - Response Headers:
|
|
2023-05-25 04:57:43,487 4484 [DEBUG] - 'Content-Disposition':'attachment'
|
|
2023-05-25 04:57:43,487 4484 [DEBUG] - 'Content-Security-Policy':'default-src 'none''
|
|
2023-05-25 04:57:43,502 4484 [DEBUG] - 'X-Content-Type-Options':'nosniff'
|
|
2023-05-25 04:57:43,502 4484 [DEBUG] - 'X-Frame-Options':'SAMEORIGIN'
|
|
2023-05-25 04:57:43,518 4484 [DEBUG] - 'X-Xss-Protection':'0'
|
|
2023-05-25 04:57:43,533 4484 [DEBUG] - 'Alt-Svc':'h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3=":443"; ma=2592000,h3-29=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,quic=":443"; ma=2592000; v="46"'
|
|
2023-05-25 04:57:43,549 4484 [DEBUG] - 'Connection':'keep-alive'
|
|
2023-05-25 04:57:43,549 4484 [DEBUG] - 'Vary':'Origin'
|
|
2023-05-25 04:57:43,565 4484 [DEBUG] - 'Accept-Ranges':'bytes'
|
|
2023-05-25 04:57:43,565 4484 [DEBUG] - 'Content-Length':'1035510136'
|
|
2023-05-25 04:57:43,580 4484 [DEBUG] - 'Cache-Control':'public,max-age=86400'
|
|
2023-05-25 04:57:43,598 4484 [DEBUG] - 'Content-Type':'application/x-msdos-program'
|
|
2023-05-25 04:57:43,598 4484 [DEBUG] - 'Date':'Thu, 25 May 2023 01:13:53 GMT'
|
|
2023-05-25 04:57:43,612 4484 [DEBUG] - 'ETag':'"1678d47"'
|
|
2023-05-25 04:57:43,612 4484 [DEBUG] - 'Last-Modified':'Wed, 24 May 2023 19:00:24 GMT'
|
|
2023-05-25 04:57:43,628 4484 [DEBUG] - 'Server':'downloads'
|
|
2023-05-25 04:57:43,705 4484 [INFO ] - Downloading AndroidStudio 64 bit
|
|
from 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe'
|
|
2023-05-25 04:57:43,800 4484 [DEBUG] - Running Get-WebFile -url 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe' -fileName 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe' -options 'System.Collections.Hashtable'
|
|
2023-05-25 04:57:43,893 4484 [DEBUG] - Setting request timeout to 30000
|
|
2023-05-25 04:57:43,893 4484 [DEBUG] - Setting read/write timeout to 2700000
|
|
2023-05-25 04:57:43,909 4484 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
|
|
2023-05-25 04:57:44,518 4484 [DEBUG] - Downloading https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe to C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe
|
|
2023-05-25 04:59:20,535 4484 [INFO ] -
|
|
2023-05-25 04:59:20,549 4484 [INFO ] - Download of android-studio-2022.2.1.20-windows.exe (987.54 MB) completed.
|
|
2023-05-25 04:59:23,627 4484 [DEBUG] - No runtime virus checking built into FOSS Chocolatey. Check out Pro/Business - https://chocolatey.org/compare
|
|
2023-05-25 04:59:23,643 4484 [DEBUG] - Verifying package provided checksum of '97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d' for 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe'.
|
|
2023-05-25 04:59:23,677 4484 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe' -checksum '97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d' -checksumType 'sha256' -originalUrl 'https://redirector.gvt1.com/edgedl/android/studio/install/2022.2.1.20/android-studio-2022.2.1.20-windows.exe'
|
|
2023-05-25 04:59:23,707 4484 [DEBUG] - checksum.exe found at 'C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe'
|
|
2023-05-25 04:59:23,722 4484 [DEBUG] - Executing command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe"]
|
|
2023-05-25 04:59:32,862 4484 [DEBUG] - Command ['C:\ProgramData\chocolatey\helpers\..\tools\checksum.exe' -c="97a7c6cd6c3cfa919731eba7fad1373ee5058a79c856d2ae0ce3b4bb4519683d" -t="sha256" -f="C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe"] exited with '0'.
|
|
2023-05-25 04:59:32,955 4484 [DEBUG] - Running Install-ChocolateyInstallPackage -packageName 'AndroidStudio' -fileType 'exe' -silentArgs '/S' -file 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe' -validExitCodes '0 1223' -useOnlyPackageSilentArguments 'False'
|
|
2023-05-25 04:59:32,972 4484 [DEBUG] - Running Get-OSArchitectureWidth -compare '32'
|
|
2023-05-25 04:59:32,987 4484 [INFO ] - Installing AndroidStudio...
|
|
2023-05-25 04:59:33,160 4484 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -validExitCodes '0 1223' -workingDirectory 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20' -statements '/S ' -exeToRun 'C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe'
|
|
2023-05-25 04:59:33,300 4484 [DEBUG] - Test-ProcessAdminRights: returning True
|
|
2023-05-25 04:59:33,331 4484 [DEBUG] - Elevating permissions and running ["C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe" /S ]. This may take a while, depending on the statements.
|
|
2023-05-25 05:01:05,164 4484 [DEBUG] - Command ["C:\Users\vagrant\AppData\Local\Temp\chocolatey\AndroidStudio\2022.2.1.20\android-studio-2022.2.1.20-windows.exe" /S ] exited with '1223'.
|
|
2023-05-25 05:01:05,211 4484 [WARN ] - WARNING: Exit code '1223' was considered valid by script, but not as a Chocolatey success code. Returning '0'.
|
|
2023-05-25 05:01:05,226 4484 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
|
|
2023-05-25 05:01:05,242 4484 [INFO ] - AndroidStudio has been installed.
|
|
2023-05-25 05:01:05,493 4484 [DEBUG] - Running Get-UninstallRegistryKey -softwareName 'Android Studio'
|
|
2023-05-25 05:01:05,509 4484 [INFO ] - VERBOSE: Retrieving all uninstall registry keys
|
|
2023-05-25 05:01:05,664 4484 [DEBUG] - Registry uninstall keys on system: 28
|
|
2023-05-25 05:01:05,680 4484 [DEBUG] - Error handling check: 'Get-ItemProperty' fails if a registry key is encoded incorrectly.
|
|
2023-05-25 05:01:05,789 4484 [DEBUG] - Found 1 uninstall registry key(s) with SoftwareName:'Android Studio'
|
|
2023-05-25 05:01:07,071 4484 [DEBUG] - Running Install-Binfile -name 'studio64' -path 'C:\Program Files\Android\Android Studio\bin\studio64.exe'
|
|
2023-05-25 05:01:07,133 4484 [DEBUG] - ShimGen found at 'C:\ProgramData\chocolatey\tools\shimgen.exe'
|
|
2023-05-25 05:01:07,148 4484 [DEBUG] - Calling C:\ProgramData\chocolatey\tools\shimgen.exe -o "C:\ProgramData\chocolatey\bin\studio64.exe" -p "c:\program files\android\android studio\bin\studio64.exe" -i "C:\Program Files\Android\Android Studio\bin\studio64.exe"
|
|
2023-05-25 05:01:10,180 4484 [INFO ] - Added C:\ProgramData\chocolatey\bin\studio64.exe shim pointed to 'c:\program files\android\android studio\bin\studio64.exe'.
|
|
2023-05-25 05:01:10,196 4484 [DEBUG] - ----------------------------------------------------------------------
|
|
2023-05-25 05:01:10,273 4484 [DEBUG] - Built-in PowerShell host called with ['[System.Threading.Thread]::CurrentThread.CurrentCulture = '';[System.Threading.Thread]::CurrentThread.CurrentUICulture = ''; & import-module -name 'C:\ProgramData\chocolatey\helpers\chocolateyInstaller.psm1'; & 'C:\ProgramData\chocolatey\helpers\chocolateyScriptRunner.ps1' -packageScript 'C:\ProgramData\chocolatey\lib\AndroidStudio\tools\chocolateyinstall.ps1' -installArguments '' -packageParameters '' -preRunHookScripts $null -postRunHookScripts $null'] exited with '0'.
|
|
2023-05-25 05:01:10,305 4484 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
|
|
2023-05-25 05:01:10,539 4484 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
|
|
2023-05-25 05:01:10,555 4484 [INFO ] - androidstudio may be able to be automatically uninstalled.
|
|
2023-05-25 05:01:10,867 4484 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\AndroidStudio'
|
|
2023-05-25 05:01:10,882 4484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AndroidStudio\AndroidStudio.nupkg'
|
|
with checksum '8829EEDF0F1AB490B1C4CC93923F80BC'
|
|
2023-05-25 05:01:10,898 4484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AndroidStudio\AndroidStudio.nuspec'
|
|
with checksum '5C9D0A57676A929049A4FDEF5EB99340'
|
|
2023-05-25 05:01:10,914 4484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AndroidStudio\tools\chocolateyBeforeModify.ps1'
|
|
with checksum '87406AD605C68A75E9F218EEECD0D40D'
|
|
2023-05-25 05:01:10,914 4484 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\AndroidStudio\tools\chocolateyinstall.ps1'
|
|
with checksum '20A9D28759D0ECD15F5497C50A8DAF8A'
|
|
2023-05-25 05:01:11,210 4484 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\AndroidStudio.2022.2.1.20".
|
|
2023-05-25 05:01:11,322 4484 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\AndroidStudio.2022.2.1.20\.registry'
|
|
2023-05-25 05:01:11,383 4484 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\AndroidStudio.2022.2.1.20\.files'
|
|
2023-05-25 05:01:11,413 4484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\AndroidStudio.2022.2.1.20\.extra".
|
|
2023-05-25 05:01:11,413 4484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\AndroidStudio.2022.2.1.20\.version".
|
|
2023-05-25 05:01:11,430 4484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\AndroidStudio.2022.2.1.20\.sxs".
|
|
2023-05-25 05:01:11,430 4484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\AndroidStudio.2022.2.1.20\.pin".
|
|
2023-05-25 05:01:11,461 4484 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
|
|
2023-05-25 05:01:11,461 4484 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\AndroidStudio\.chocolateyPending".
|
|
2023-05-25 05:01:11,492 4484 [INFO ] - The install of androidstudio was successful.
|
|
2023-05-25 05:01:11,492 4484 [INFO ] - Software installed as 'exe', install location is likely default.
|
|
2023-05-25 05:01:11,524 4484 [DEBUG] - Attempting to delete file "C:\Users\vagrant\AppData\Local\NuGet\Cache\AndroidStudio.2022.2.1.20.nupkg".
|
|
2023-05-25 05:01:11,617 4484 [WARN ] -
|
|
Chocolatey installed 1/1 packages.
|
|
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
|
|
2023-05-25 05:01:11,648 4484 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
|
|
2023-05-25 05:01:11,727 4484 [DEBUG] - Exiting with 0
|