Skip to content

Instantly share code, notes, and snippets.

@ram-devsecops
Created December 29, 2015 20:12
Show Gist options
  • Save ram-devsecops/456afc3b6403d6b38038 to your computer and use it in GitHub Desktop.
Save ram-devsecops/456afc3b6403d6b38038 to your computer and use it in GitHub Desktop.
2015-12-24 17:03:43,266 [INFO ] - Chocolatey v0.9.9.11
2015-12-24 17:03:43,275 [DEBUG] - Chocolatey is running on Windows v 6.1.7601.65536
2015-12-24 17:03:43,280 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2015-12-24 17:03:43,280 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2015-12-24 17:03:43,291 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install -dvy imdisk -version 1.9.4 -source http://nuget.xxx.org/chocopacks/nuget --force
2015-12-24 17:03:43,292 [DEBUG] - Received arguments: install -dvy imdisk -version 1.9.4 -source http://nuget.xxx.org/chocopacks/nuget --force
2015-12-24 17:03:43,341 [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.
2015-12-24 17:03:43,357 [DEBUG] - Configuration: CommandName='install'|CacheLocation='C:\Windows\Temp'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|
Sources='http://nuget.xxx.org/chocopacks/nuget'|Debug='True'|
Verbose='True'|Force='True'|Noop='False'|HelpRequested='False'|
RegularOutput='True'|QuietOutput='False'|PromptForConfirmation='False'|
AcceptLicense='True'|AllowUnofficialBuild='False'|Input='imdisk'|
Version='1.9.4'|AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='imdisk'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.1.7601.65536'|
Information.PlatformName='Windows Server 2008 R2'|
Information.ChocolateyVersion='0.9.9.11'|
Information.ChocolateyProductVersion='0.9.9.11'|
Information.FullName='choco, Version=0.9.9.11, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|
Information.Is64Bit='True'|Information.IsInteractive='False'|
Information.IsUserAdministrator='True'|
Information.IsProcessElevated='True'|Features.AutoUninstaller='False'|
Features.CheckSumFiles='True'|Features.FailOnAutoUninstaller='False'|
ListCommand.LocalOnly='False'|
ListCommand.IncludeRegistryPrograms='False'|
UpgradeCommand.FailOnUnfound='False'|
UpgradeCommand.FailOnNotInstalled='False'|
UpgradeCommand.NotifyOnlyAvailableUpgrades='False'|
NewCommand.AutomaticPackage='False'|SourceCommand.Command='unknown'|
SourceCommand.Priority='0'|FeatureCommand.Command='unknown'|
ConfigCommand.Command='unknown'|PushCommand.TimeoutInSeconds='0'|
PinCommand.Command='unknown'|
2015-12-24 17:03:43,363 [DEBUG] - _ Chocolatey:ChocolateyInstallCommand - Normal Run Mode _
2015-12-24 17:03:43,370 [INFO ] - Installing the following packages:
2015-12-24 17:03:43,371 [INFO ] - imdisk
2015-12-24 17:03:43,372 [INFO ] - By installing you accept licenses for the packages.
2015-12-24 17:03:43,554 [DEBUG] - imdisk v1.9.4 already installed. Forcing reinstall.
2015-12-24 17:03:46,052 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib-bkp".
2015-12-24 17:03:46,054 [DEBUG] - Backing up existing imdisk prior to upgrade.
2015-12-24 17:03:46,059 [DEBUG] - Moving 'C:\ProgramData\chocolatey\lib\imdisk'
to 'C:\ProgramData\chocolatey\lib-bkp\imdisk'
2015-12-24 17:03:48,070 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\imdisk".
2015-12-24 17:03:48,072 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\imdisk\imdisk.nupkg"
to "C:\ProgramData\chocolatey\lib\imdisk\imdisk.nupkg".
2015-12-24 17:03:48,075 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\lib\imdisk\tools".
2015-12-24 17:03:48,075 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\imdisk\tools\chocolateyInstall.ps1"
to "C:\ProgramData\chocolatey\lib\imdisk\tools\chocolateyInstall.ps1".
2015-12-24 17:03:48,088 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\lib-bkp\imdisk\tools\chocolateyUninstall.ps1"
to "C:\ProgramData\chocolatey\lib\imdisk\tools\chocolateyUninstall.ps1".
2015-12-24 17:03:49,740 [INFO ] - [NuGet] Uninstalling 'imdisk 1.9.4'.
2015-12-24 17:03:49,769 [DEBUG] - [NuGet] Removed file 'chocolateyInstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\imdisk\tools'.
2015-12-24 17:03:49,813 [DEBUG] - [NuGet] Removed file 'chocolateyUninstall.ps1' to folder 'C:\ProgramData\chocolatey\lib\imdisk\tools'.
2015-12-24 17:03:49,818 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\imdisk\tools'.
2015-12-24 17:03:49,821 [DEBUG] - [NuGet] Removed file 'imdisk.nupkg' to folder 'C:\ProgramData\chocolatey\lib\imdisk'.
2015-12-24 17:03:49,822 [DEBUG] - [NuGet] Removed folder 'C:\ProgramData\chocolatey\lib\imdisk'.
2015-12-24 17:03:49,823 [INFO ] - [NuGet] Successfully uninstalled 'imdisk 1.9.4'.
2015-12-24 17:03:49,956 [INFO ] - [NuGet] Installing 'imdisk 1.9.4'.
2015-12-24 17:03:49,968 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'imdisk\tools'.
2015-12-24 17:03:49,973 [DEBUG] - [NuGet] Added file 'chocolateyUninstall.ps1' to folder 'imdisk\tools'.
2015-12-24 17:03:49,975 [DEBUG] - [NuGet] Added file 'imdisk.nupkg' to folder 'imdisk'.
2015-12-24 17:03:49,976 [INFO ] - [NuGet] Successfully installed 'imdisk 1.9.4'.
2015-12-24 17:03:49,978 [INFO ] -
imdisk v1.9.4 (forced)
2015-12-24 17:03:50,019 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\imdisk\tools\chocolateyInstall.ps1':
2015-12-24 17:03:50,035 [DEBUG] - $packageName = 'imdisk' # arbitrary name for the package, used in messages
$installerType = 'exe' #only one of these: exe, msi, msu
$url = 'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe' # download url
$url64 = $url #'"' # 64bit URL here or remove - if installer decides, then use $url
$silentArgs = '-y' # "/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
$installOverride = $env:chocolateyInstallOverride
if (!$installOverride) {
$env:IMDISK_SILENT_SETUP = 1
Write-Host "Silent mode set"
}
Install-ChocolateyPackage "$packageName" "$installerType" "$silentArgs" "$url" "$url64" -validExitCodes $validExitCodes
2015-12-24 17:03:50,047 [DEBUG] - Calling command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[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\imdisk\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"']
2015-12-24 17:03:50,591 [DEBUG] - DEBUG: Posh version is 4.0
2015-12-24 17:03:52,339 [DEBUG] - DEBUG: Loading community extensions
2015-12-24 17:03:52,349 [INFO ] - VERBOSE: Exporting function 'Get-BinRoot'.
2015-12-24 17:03:52,350 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2015-12-24 17:03:52,350 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2015-12-24 17:03:52,351 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2015-12-24 17:03:52,352 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2015-12-24 17:03:52,352 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2015-12-24 17:03:52,353 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2015-12-24 17:03:52,354 [INFO ] - VERBOSE: Exporting function 'Get-ProcessorBits'.
2015-12-24 17:03:52,354 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2015-12-24 17:03:52,355 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2015-12-24 17:03:52,356 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2015-12-24 17:03:52,356 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2015-12-24 17:03:52,357 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2015-12-24 17:03:52,358 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2015-12-24 17:03:52,359 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2015-12-24 17:03:52,359 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2015-12-24 17:03:52,360 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2015-12-24 17:03:52,361 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2015-12-24 17:03:52,361 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2015-12-24 17:03:52,362 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2015-12-24 17:03:52,363 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2015-12-24 17:03:52,364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2015-12-24 17:03:52,364 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2015-12-24 17:03:52,365 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2015-12-24 17:03:52,366 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2015-12-24 17:03:52,366 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2015-12-24 17:03:52,367 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2015-12-24 17:03:52,368 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2015-12-24 17:03:52,368 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2015-12-24 17:03:52,369 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2015-12-24 17:03:52,370 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2015-12-24 17:03:52,370 [INFO ] - VERBOSE: Exporting function 'UnInstall-ChocolateyZipPackage'.
2015-12-24 17:03:52,371 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2015-12-24 17:03:52,372 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2015-12-24 17:03:52,372 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2015-12-24 17:03:52,373 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2015-12-24 17:03:52,374 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2015-12-24 17:03:52,374 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2015-12-24 17:03:52,375 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2015-12-24 17:03:52,541 [INFO ] - Silent mode set
2015-12-24 17:03:52,550 [DEBUG] - DEBUG: Running 'Install-ChocolateyPackage' for imdisk with
2015-12-24 17:03:52,551 [INFO ] - url:'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe', args: '-y', fileType:
2015-12-24 17:03:52,552 [INFO ] - 'exe', url64bit: 'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe', checksum:
2015-12-24 17:03:52,552 [INFO ] - '', checksumType: '', checksum64: '', checksumType64: '', validExitCodes: '0'
2015-12-24 17:03:52,579 [DEBUG] - DEBUG: Running 'Get-ChocolateyWebFile' for imdisk with
2015-12-24 17:03:52,580 [INFO ] - url:'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe',
2015-12-24 17:03:52,581 [INFO ] - fileFullPath:'C:\Windows\Temp\chocolatey\imdisk\1.9.4\imdiskInstall.exe',
2015-12-24 17:03:52,581 [INFO ] - url64bit:'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe', checksum: '',
2015-12-24 17:03:52,582 [INFO ] - checksumType: '', checksum64: '', checksumType64: ''
2015-12-24 17:03:52,583 [DEBUG] - DEBUG: Running 'Get-ProcessorBits'
2015-12-24 17:03:52,597 [DEBUG] - DEBUG: CPU is 64 bit
2015-12-24 17:03:52,600 [DEBUG] - DEBUG: Setting url to 'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe' and
2015-12-24 17:03:52,600 [INFO ] - bitPackage to 64
2015-12-24 17:03:52,618 [DEBUG] - DEBUG: Running 'Get-WebHeaders' with
2015-12-24 17:03:52,619 [INFO ] - url:'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe', userAgent: 'chocolatey
2015-12-24 17:03:52,620 [INFO ] - command line'
2015-12-24 17:03:54,945 [DEBUG] - DEBUG: Setting the UserAgent to 'chocolatey command line'
2015-12-24 17:03:54,948 [DEBUG] - DEBUG: Request Headers:
2015-12-24 17:03:54,959 [DEBUG] - DEBUG: 'Accept':'*/*'
2015-12-24 17:03:54,960 [DEBUG] - DEBUG: 'User-Agent':'chocolatey command line'
2015-12-24 17:03:54,972 [DEBUG] - DEBUG: Response Headers:
2015-12-24 17:03:54,983 [DEBUG] - DEBUG: 'Accept-Ranges':'bytes'
2015-12-24 17:03:54,983 [DEBUG] - DEBUG: 'Content-Length':'375152'
2015-12-24 17:03:54,984 [DEBUG] - DEBUG: 'Content-Type':'application/octet-stream'
2015-12-24 17:03:54,985 [DEBUG] - DEBUG: 'Date':'Thu, 24 Dec 2015 22:03:56 GMT'
2015-12-24 17:03:54,986 [DEBUG] - DEBUG: 'ETag':'"f1fca6f7c63dd11:0"'
2015-12-24 17:03:54,986 [DEBUG] - DEBUG: 'Last-Modified':'Wed, 23 Dec 2015 21:14:53 GMT'
2015-12-24 17:03:54,987 [DEBUG] - DEBUG: 'Server':'Microsoft-IIS/7.5'
2015-12-24 17:03:54,988 [DEBUG] - DEBUG: 'X-Powered-By':'ASP.NET'
2015-12-24 17:03:55,007 [INFO ] - Downloading imdisk 64 bit
2015-12-24 17:03:55,007 [INFO ] - from 'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe'
2015-12-24 17:03:55,048 [DEBUG] - DEBUG: Running 'Get-WebFile' for
2015-12-24 17:03:55,049 [INFO ] - C:\Windows\Temp\chocolatey\imdisk\1.9.4\imdiskInstall.exe with
2015-12-24 17:03:55,049 [INFO ] - url:'http://nuget.xxx.org/puppet/imdisk-1.9.4.exe', userAgent: 'chocolatey
2015-12-24 17:03:55,050 [INFO ] - command line'
2015-12-24 17:03:55,052 [DEBUG] - DEBUG: Setting the UserAgent to 'chocolatey command line'
2015-12-24 17:03:57,202 [DEBUG] - DEBUG: Checking that
2015-12-24 17:03:57,203 [INFO ] - 'C:\Windows\Temp\chocolatey\imdisk\1.9.4\imdiskInstall.exe' is the size we
2015-12-24 17:03:57,204 [INFO ] - expect it to be.
2015-12-24 17:03:57,213 [DEBUG] - DEBUG: Verifying package provided checksum of '' for
2015-12-24 17:03:57,214 [INFO ] - 'C:\Windows\Temp\chocolatey\imdisk\1.9.4\imdiskInstall.exe'.
2015-12-24 17:03:57,219 [DEBUG] - DEBUG: Running 'Get-ChecksumValid' with
2015-12-24 17:03:57,219 [INFO ] - file:'C:\Windows\Temp\chocolatey\imdisk\1.9.4\imdiskInstall.exe', checksum: '',
2015-12-24 17:03:57,220 [INFO ] - checksumType: ''
2015-12-24 17:03:57,227 [DEBUG] - DEBUG: Running 'Install-ChocolateyInstallPackage' for imdisk with
2015-12-24 17:03:57,227 [INFO ] - file:'C:\Windows\Temp\chocolatey\imdisk\1.9.4\imdiskInstall.exe', args: '-y',
2015-12-24 17:03:57,228 [INFO ] - fileType: 'exe', validExitCodes: '0'
2015-12-24 17:03:57,229 [INFO ] - Installing imdisk...
2015-12-24 17:03:57,256 [DEBUG] - DEBUG: Running 'Start-ChocolateyProcessAsAdmin' with
2015-12-24 17:03:57,257 [INFO ] - exeToRun:'C:\Windows\Temp\chocolatey\imdisk\1.9.4\imdiskInstall.exe',
2015-12-24 17:03:57,258 [INFO ] - statements: '-y '
2015-12-24 17:03:57,259 [DEBUG] - DEBUG: Elevating Permissions and running
2015-12-24 17:03:57,259 [INFO ] - C:\Windows\Temp\chocolatey\imdisk\1.9.4\imdiskInstall.exe -y . This may take a
2015-12-24 17:03:57,260 [INFO ] - while, depending on the statements.
2015-12-24 17:03:58,595 [DEBUG] - DEBUG: Finishing 'Start-ChocolateyProcessAsAdmin'
2015-12-24 17:03:58,596 [INFO ] - imdisk has been installed.
2015-12-24 17:03:58,610 [DEBUG] - Command ['"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -NoLogo -ExecutionPolicy Bypass -Command "[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\imdisk\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''"'] exited with '0'
2015-12-24 17:03:58,611 [DEBUG] - Calling command ['"shutdown" /a']
2015-12-24 17:03:58,639 [DEBUG] - Command ['"shutdown" /a'] exited with '1116'
2015-12-24 17:03:58,678 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\imdisk'
2015-12-24 17:03:58,680 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\imdisk\imdisk.nupkg'
with checksum 'D70A78F57C7622F8128209CD94575434'
2015-12-24 17:03:58,681 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\imdisk\tools\chocolateyInstall.ps1'
with checksum 'D6CA1E2D257E6DB6E5483D4E51675D34'
2015-12-24 17:03:58,682 [DEBUG] - Found 'C:\ProgramData\chocolatey\lib\imdisk\tools\chocolateyUninstall.ps1'
with checksum '1BAAC91D08001B9EE3883DA2E41E7906'
2015-12-24 17:03:58,695 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\imdisk.1.9.4".
2015-12-24 17:03:58,731 [DEBUG] - Attempting to copy "C:\ProgramData\chocolatey\.chocolatey\imdisk.1.9.4\.files.update"
to "C:\ProgramData\chocolatey\.chocolatey\imdisk.1.9.4\.files".
2015-12-24 17:03:58,732 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\imdisk.1.9.4\.files.update".
2015-12-24 17:03:58,733 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\imdisk.1.9.4\.sxs".
2015-12-24 17:03:58,733 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\imdisk.1.9.4\.pin".
2015-12-24 17:03:58,738 [DEBUG] - Attempting to delete directory "C:\ProgramData\chocolatey\lib-bkp\imdisk".
2015-12-24 17:03:58,740 [INFO ] - The install of imdisk was successful.
2015-12-24 17:03:58,748 [WARN ] -
Chocolatey installed 1/1 package(s). 0 package(s) failed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment