chocolatey-community / simple-server

The Chocolatey Simple Server - https://community.chocolatey.org/packages/chocolatey.server
Apache License 2.0
44 stars 17 forks source link

ERROR: Data at the root level is invalid during XDT transform #19

Closed bcurran3 closed 2 years ago

bcurran3 commented 6 years ago

I've received the error "Data at the root level is invalid. Line 230, position 17. each time on three fresh installs. (two Windows Server 2012 R2, 1 Windows Server 2016)

S:\ChocolateyPackages>choco install chocolatey.server Chocolatey v0.10.8 Professional Installing the following packages: chocolatey.server By installing you accept licenses for the packages. Progress: Downloading DotNet4.6 4.6.00081.20150925... 100% Progress: Downloading chocolatey.server 0.2.1... 100%

DotNet4.6 v4.6.00081.20150925 [Approved] - Possibly broken dotnet4.6 package files install completed. Performing other installation steps. WARNING: Url has SSL/TLS available, switching to HTTPS for download Downloading DotNet46 from 'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F 7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe' Progress: 100% - Completed download of 'NDP46-KB3045557-x86-x64-AllOS-ENU.exe' ( Progress: 100% - Completed download of 'NDP46-KB3045557-x86-x64-AllOS-ENU.exe' ( 62.41 MB). Download of 'NDP46-KB3045557-x86-x64-AllOS-ENU.exe' (62.41 MB) completed. Virus check: 0/55 scan engines flagged this assembly. Due to possible false positives we fail at 4 minimum positives. Virus scan engines indicate this file is probably safe. For details see https://www.virustotal.com/file/b21d33135e67e3486b154b11f7961d8e1cfd7a603267fb 60febb4a6feab5cf87/analysis/ Installing NDP46-KB3045557-x86-x64-AllOS-ENU.exe... NDP46-KB3045557-x86-x64-AllOS-ENU.exe has been installed. A restart is required to finalise the Microsoft .NET Framework 4.6 installation The install of dotnet4.6 was successful. Software install location not explicitly set, could be in package or default install location if installer.

chocolatey.server v0.2.1 [Approved] chocolatey.server package files install completed. Performing other installation steps. Environment Vars (like PATH) have changed. Close/reopen your shell to see the changes (or in powershell/cmd.exe just type refreshenv). Transforming 'Web.config' with the data from 'Web.config.install.xdt'

------------- ERROR HERE ------------------- Transforming 'Web.config' with the data from 'Web.config.install.xdt' Error transforming config file: Data at the root level is invalid. Line 230, position 17. ------------- ERROR HERE -------------------

The install of chocolatey.server was successful. Software installed to 'C:\tools\chocolatey.server'

Chocolatey installed 2/2 packages. See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

S:\ChocolateyPackages>

ferventcoder commented 6 years ago

This means the file at $env:ChocolateyInstall\lib\chocolatey.server\tools\chocolatey.server\web.config is invalid.

It's mentioned in a warning explicitly that it may be malformed due to a bug in the XDT transform.

ferventcoder commented 6 years ago

Do you see that in the logs?

https://github.com/chocolatey/simple-server/blob/35d5abacf2e846253a783ef3c01029688b6be28f/nuget/tools/chocolateyInstall.ps1#L46

"Also check the config file to make sure that it was not malformed by the XDT transform."

ferventcoder commented 6 years ago

If you were to upgrade it again, you would likely continue to see that error until you fixed the file at $env:ChocolateyInstall\lib\chocolatey.server\tools\chocolatey.server\web.config

ferventcoder commented 6 years ago

When you say fresh installations, do you mean that you have no previous version of Chocolatey.Server package installed?

ferventcoder commented 6 years ago

Line 230 and a position are a bit troubling - there isn't that many lines in the file - https://github.com/chocolatey/simple-server/blob/35d5abacf2e846253a783ef3c01029688b6be28f/src/SimpleChocolateyServer/Web.config#L229

So two things:

bcurran3 commented 6 years ago

When you say fresh installations, do you mean that you have no previous version of Chocolatey.Server package installed?

Correct.

Nothing could be wrong in the existing file path or files as it did NOT exist until the installation of chocolatey.server

bcurran3 commented 6 years ago

OFF SUBJECT: Any way of making http://localhost/chocolatey/Packages work in Chrome? I even tried the IE Tab Chrome extension and no bueno. (chrome-extension://hehijbfgiekmjfkfjpbkbammjbdenadd/nhc.htm#url=http://servernamehere/chocolatey/Packages). There are other IE Tab extension, I'll try some of them.

bcurran3 commented 6 years ago

LOG - hopefully I got everything you needed:

2018-01-09 19:45:00,289 2452 [DEBUG] - XmlConfiguration is now operational
2018-01-09 19:45:00,335 2452 [DEBUG] - Evaluating license file found at 'C:\ProgramData\chocolatey\license\chocolatey.license.xml'
2018-01-09 19:45:00,476 2452 [DEBUG] - Loading Licensed Extensions and Commands
2018-01-09 19:45:00,601 2452 [INFO ] - ============================================================
2018-01-09 19:45:00,819 2452 [INFO ] - Chocolatey v0.10.8 Professional
2018-01-09 19:45:00,835 2452 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2018-01-09 19:45:00,835 2452 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2018-01-09 19:45:00,835 2452 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2018-01-09 19:45:00,851 2452 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install iis-webserver --source windowsfeatures
2018-01-09 19:45:00,851 2452 [DEBUG] - Received arguments: install iis-webserver --source windowsfeatures
2018-01-09 19:45:00,929 2452 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2018-01-09 19:45:00,944 2452 [DEBUG] - CountdownTask is now ready and waiting for PostRunMessage.
2018-01-09 19:45:01,538 2452 [DEBUG] - Terminal services setup not necessary for this session.
2018-01-09 19:45:01,554 2452 [DEBUG] - SynchronizeTask is now ready and waiting for PreRunMessage.
2018-01-09 19:45:01,569 2452 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2018-01-09 19:45:01,585 2452 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2018-01-09 19:45:01,601 2452 [DEBUG] - [Synchronize] Updating packages with Programs and Features
2018-01-09 19:45:01,601 2452 [DEBUG] - [Synchronize] Currently only supports removals. Soon will handle updates.
2018-01-09 19:45:01,819 2452 [DEBUG] - autohotkey 1.1.26.01
2018-01-09 19:45:01,882 2452 [DEBUG] - autohotkey.install 1.1.26.01
2018-01-09 19:45:01,882 2452 [DEBUG] - chocolatey 0.10.8
2018-01-09 19:45:01,882 2452 [DEBUG] - chocolatey-core.extension 1.3.1
2018-01-09 19:45:01,882 2452 [DEBUG] - chocolatey.extension 1.12.5
2018-01-09 19:45:01,898 2452 [DEBUG] - notepadplusplus 7.5.1
2018-01-09 19:45:01,898 2452 [DEBUG] - notepadplusplus.install 7.5.1
2018-01-09 19:45:01,898 2452 [DEBUG] - ussf 1.5.0
2018-01-09 19:45:01,898 2452 [DEBUG] - vnc-connect 6.2.0
2018-01-09 19:45:01,898 2452 [DEBUG] - wget 1.19.1
2018-01-09 19:45:02,085 2452 [DEBUG] - The source 'windowsfeatures' evaluated to a 'windowsfeatures' source type
2018-01-09 19:45:02,085 2452 [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.
2018-01-09 19:45:02,116 2452 [DEBUG] - Configuration: MaximumDownloadRateBitsPerSecond='0'|
MaximumDownloadRateBitsPerSecondAutoSet='False'|
LicensedInformation.LicenseType='Professional'|
LicensedInformation.LicenseIsValid='True'|
LicensedInformation.LicenseIsTrial='False'|
LicensedInformation.LicenseUserName='William Curran (bcurran3[at REDACTED])'|

LicensedInformation.LicenseExpirationDate='5/25/2018 12:00:00 AM'|
LicensedInformation.LicensedVersion='1.12.5.0'|
LicensedInformation.LicensedProductVersion='1.12.5'|
ChocolateyVersion.Version='0.10.8.0'|
ChocolateyVersion.PackageReleaseVersion='0'|
LicensedFeatures.UseDownloadCache='True'|
LicensedFeatures.AllowSynchronization='True'|
LicensedFeatures.UseBackgroundService='False'|
LicensedFeatures.UseBackgroundServiceWithSelfServiceSourcesOnly='False'|

LicensedFeatures.AllowPreviewFeatures='False'|
LicensedFeatures.ShowAllPackagesInProgramsAndFeatures='False'|
LicensedFeatures.AdminOnlyExecutionForAllChocolateyCommands='False'|
LicensedFeatures.AdminOnlyExecutionForNewCommand='False'|
LicensedFeatures.AdminOnlyExecutionForDownloadCommand='False'|
LicensedFeatures.UseBackgroundServiceWithNonAdministratorsOnly='False'|
LicensedFeatures.ReduceInstalledPackageSize='False'|
LicensedFeatures.ReduceOnlyNupkgSize='False'|
LicensedFeatures.UseLocalSystemForServiceInstalls='False'|
LicensedNewCommand.UseOriginalFilesLocation='False'|
LicensedNewCommand.PauseOnError='False'|
LicensedNewCommand.BuildPackage='False'|
LicensedNewCommand.GeneratePackagesFromSoftwareInstalls='False'|
LicensedNewCommand.IncludeArchitectureInPackageId='False'|
LicensedNewCommand.GenerateForCommunityUse='False'|
LicensedDownloadCommand.Internalize='False'|
LicensedDownloadCommand.AppendUseOriginalLocation='False'|
LicensedDownloadCommand.InternalizeAnyUrlFound='False'|
LicensedListCommand.ShowAuditInformation='False'|
LicensedListCommand.ShowDisplayVersion='False'|
LicensedUninstallCommand.FromProgramsAndFeatures='False'|
VirusConfiguration.VirusCheckMinimumPositives='4'|
VirusConfiguration.VirusScannerType='VirusTotal'|
VirusConfiguration.GenericVirusScannerArgs='[[File]]'|
VirusConfiguration.GenericVirusScannerValidExitCodes='0'|
CommandName='install'|
CacheLocation='C:\Users\TESTUSER\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='windowsfeatures'|SourceType='windowsfeatures'|Debug='False'|
Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='iis-webserver'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='iis-webserver'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.8.0'|
Information.ChocolateyProductVersion='0.10.8'|
Information.FullName='choco, Version=0.10.8.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='TESTUSER'|Information.UserDomainName='LACBDEV'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='True'|
Information.LicenseType='Professional'|Features.AutoUninstaller='True'|
Features.ChecksumFiles='True'|Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='True'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.ScriptsCheckLastExitCode='False'|
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'|
PinCommand.Command='unknown'|OutdatedCommand.IgnorePinned='False'|
Proxy.BypassOnLocal='True'|
2018-01-09 19:45:02,116 2452 [DEBUG] - _ Chocolatey:ProChocolateyInstallCommand - Normal Run Mode _
2018-01-09 19:45:02,132 2452 [INFO ] - Installing the following packages:
2018-01-09 19:45:02,132 2452 [INFO ] - iis-webserver
2018-01-09 19:45:02,132 2452 [INFO ] - By installing you accept licenses for the packages.
2018-01-09 19:45:02,163 2452 [DEBUG] - Calling command ['"C:\Windows\System32\dism.exe" /Online /English /LogLevel=3 /NoRestart /Enable-Feature /FeatureName:iis-webserver /All']
2018-01-09 19:45:02,538 2452 [INFO ] -  [Windows Features] Deployment Image Servicing and Management tool
2018-01-09 19:45:02,538 2452 [INFO ] -  [Windows Features] Version: 6.3.9600.17031
2018-01-09 19:45:06,741 2452 [INFO ] -  [Windows Features] Image Version: 6.3.9600.17031
2018-01-09 19:45:11,085 2452 [INFO ] -  [Windows Features] Enabling feature(s)
2018-01-09 19:46:17,335 2452 [INFO ] -  [Windows Features] The operation completed successfully.
2018-01-09 19:46:17,366 2452 [INFO ] -  iis-webserver has been installed successfully.
2018-01-09 19:46:17,429 2452 [DEBUG] - Command ['"C:\Windows\System32\dism.exe" /Online /English /LogLevel=3 /NoRestart /Enable-Feature /FeatureName:iis-webserver /All'] exited with '0'
2018-01-09 19:46:17,460 2452 [WARN ] - 
Chocolatey installed 1/1 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2018-01-09 19:46:17,460 2452 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2018-01-09 19:46:17,460 2452 [DEBUG] - [Countdown] Determining how long until license expires
2018-01-09 19:46:17,476 2452 [DEBUG] - Exiting with 0
2018-01-09 19:46:55,413 2112 [DEBUG] - XmlConfiguration is now operational
2018-01-09 19:46:55,460 2112 [DEBUG] - Evaluating license file found at 'C:\ProgramData\chocolatey\license\chocolatey.license.xml'
2018-01-09 19:46:55,601 2112 [DEBUG] - Loading Licensed Extensions and Commands
2018-01-09 19:46:55,726 2112 [INFO ] - ============================================================
2018-01-09 19:46:55,960 2112 [INFO ] - Chocolatey v0.10.8 Professional
2018-01-09 19:46:55,976 2112 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2018-01-09 19:46:55,976 2112 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2018-01-09 19:46:55,976 2112 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2018-01-09 19:46:55,992 2112 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install iis-aspnet45
2018-01-09 19:46:55,992 2112 [DEBUG] - Received arguments: install iis-aspnet45
2018-01-09 19:46:56,070 2112 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2018-01-09 19:46:56,070 2112 [DEBUG] - CountdownTask is now ready and waiting for PostRunMessage.
2018-01-09 19:46:56,070 2112 [DEBUG] - Terminal services setup not necessary for this session.
2018-01-09 19:46:56,070 2112 [DEBUG] - SynchronizeTask is now ready and waiting for PreRunMessage.
2018-01-09 19:46:56,085 2112 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2018-01-09 19:46:56,085 2112 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2018-01-09 19:46:56,117 2112 [DEBUG] - [Synchronize] Updating packages with Programs and Features
2018-01-09 19:46:56,117 2112 [DEBUG] - [Synchronize] Currently only supports removals. Soon will handle updates.
2018-01-09 19:47:01,976 2312 [DEBUG] - XmlConfiguration is now operational
2018-01-09 19:47:02,023 2312 [DEBUG] - Evaluating license file found at 'C:\ProgramData\chocolatey\license\chocolatey.license.xml'
2018-01-09 19:47:02,148 2312 [DEBUG] - Loading Licensed Extensions and Commands
2018-01-09 19:47:02,273 2312 [INFO ] - ============================================================
2018-01-09 19:47:02,554 2312 [INFO ] - Chocolatey v0.10.8 Professional
2018-01-09 19:47:02,570 2312 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2018-01-09 19:47:02,570 2312 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2018-01-09 19:47:02,570 2312 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2018-01-09 19:47:02,617 2312 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install iis-aspnet45 --source windowsfeatures
2018-01-09 19:47:02,617 2312 [DEBUG] - Received arguments: install iis-aspnet45 --source windowsfeatures
2018-01-09 19:47:02,695 2312 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2018-01-09 19:47:02,695 2312 [DEBUG] - CountdownTask is now ready and waiting for PostRunMessage.
2018-01-09 19:47:02,695 2312 [DEBUG] - Terminal services setup not necessary for this session.
2018-01-09 19:47:02,695 2312 [DEBUG] - SynchronizeTask is now ready and waiting for PreRunMessage.
2018-01-09 19:47:02,710 2312 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2018-01-09 19:47:02,710 2312 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2018-01-09 19:47:02,726 2312 [DEBUG] - [Synchronize] Updating packages with Programs and Features
2018-01-09 19:47:02,742 2312 [DEBUG] - [Synchronize] Currently only supports removals. Soon will handle updates.
2018-01-09 19:47:02,929 2312 [DEBUG] - autohotkey 1.1.26.01
2018-01-09 19:47:03,023 2312 [DEBUG] - autohotkey.install 1.1.26.01
2018-01-09 19:47:03,023 2312 [DEBUG] - chocolatey 0.10.8
2018-01-09 19:47:03,023 2312 [DEBUG] - chocolatey-core.extension 1.3.1
2018-01-09 19:47:03,023 2312 [DEBUG] - chocolatey.extension 1.12.5
2018-01-09 19:47:03,023 2312 [DEBUG] - notepadplusplus 7.5.1
2018-01-09 19:47:03,023 2312 [DEBUG] - notepadplusplus.install 7.5.1
2018-01-09 19:47:03,023 2312 [DEBUG] - ussf 1.5.0
2018-01-09 19:47:03,038 2312 [DEBUG] - vnc-connect 6.2.0
2018-01-09 19:47:03,038 2312 [DEBUG] - wget 1.19.1
2018-01-09 19:47:03,195 2312 [DEBUG] - The source 'windowsfeatures' evaluated to a 'windowsfeatures' source type
2018-01-09 19:47:03,195 2312 [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.
2018-01-09 19:47:03,226 2312 [DEBUG] - Configuration: MaximumDownloadRateBitsPerSecond='0'|
MaximumDownloadRateBitsPerSecondAutoSet='False'|
LicensedInformation.LicenseType='Professional'|
LicensedInformation.LicenseIsValid='True'|
LicensedInformation.LicenseIsTrial='False'|
LicensedInformation.LicenseUserName='William Curran (bcurran3[at REDACTED])'|

LicensedInformation.LicenseExpirationDate='5/25/2018 12:00:00 AM'|
LicensedInformation.LicensedVersion='1.12.5.0'|
LicensedInformation.LicensedProductVersion='1.12.5'|
ChocolateyVersion.Version='0.10.8.0'|
ChocolateyVersion.PackageReleaseVersion='0'|
LicensedFeatures.UseDownloadCache='True'|
LicensedFeatures.AllowSynchronization='True'|
LicensedFeatures.UseBackgroundService='False'|
LicensedFeatures.UseBackgroundServiceWithSelfServiceSourcesOnly='False'|

LicensedFeatures.AllowPreviewFeatures='False'|
LicensedFeatures.ShowAllPackagesInProgramsAndFeatures='False'|
LicensedFeatures.AdminOnlyExecutionForAllChocolateyCommands='False'|
LicensedFeatures.AdminOnlyExecutionForNewCommand='False'|
LicensedFeatures.AdminOnlyExecutionForDownloadCommand='False'|
LicensedFeatures.UseBackgroundServiceWithNonAdministratorsOnly='False'|
LicensedFeatures.ReduceInstalledPackageSize='False'|
LicensedFeatures.ReduceOnlyNupkgSize='False'|
LicensedFeatures.UseLocalSystemForServiceInstalls='False'|
LicensedNewCommand.UseOriginalFilesLocation='False'|
LicensedNewCommand.PauseOnError='False'|
LicensedNewCommand.BuildPackage='False'|
LicensedNewCommand.GeneratePackagesFromSoftwareInstalls='False'|
LicensedNewCommand.IncludeArchitectureInPackageId='False'|
LicensedNewCommand.GenerateForCommunityUse='False'|
LicensedDownloadCommand.Internalize='False'|
LicensedDownloadCommand.AppendUseOriginalLocation='False'|
LicensedDownloadCommand.InternalizeAnyUrlFound='False'|
LicensedListCommand.ShowAuditInformation='False'|
LicensedListCommand.ShowDisplayVersion='False'|
LicensedUninstallCommand.FromProgramsAndFeatures='False'|
VirusConfiguration.VirusCheckMinimumPositives='4'|
VirusConfiguration.VirusScannerType='VirusTotal'|
VirusConfiguration.GenericVirusScannerArgs='[[File]]'|
VirusConfiguration.GenericVirusScannerValidExitCodes='0'|
CommandName='install'|
CacheLocation='C:\Users\TESTUSER\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='windowsfeatures'|SourceType='windowsfeatures'|Debug='False'|
Verbose='False'|Trace='False'|Force='False'|Noop='False'|
HelpRequested='False'|UnsuccessfulParsing='False'|RegularOutput='True'|
QuietOutput='False'|PromptForConfirmation='False'|
AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='iis-aspnet45'|AllVersions='False'|
SkipPackageInstallProvider='False'|PackageNames='iis-aspnet45'|
Prerelease='False'|ForceX86='False'|OverrideArguments='False'|
NotSilent='False'|ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.8.0'|
Information.ChocolateyProductVersion='0.10.8'|
Information.FullName='choco, Version=0.10.8.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='TESTUSER'|Information.UserDomainName='LACBDEV'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='True'|
Information.LicenseType='Professional'|Features.AutoUninstaller='True'|
Features.ChecksumFiles='True'|Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='True'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.ScriptsCheckLastExitCode='False'|
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'|
PinCommand.Command='unknown'|OutdatedCommand.IgnorePinned='False'|
Proxy.BypassOnLocal='True'|
2018-01-09 19:47:03,226 2312 [DEBUG] - _ Chocolatey:ProChocolateyInstallCommand - Normal Run Mode _
2018-01-09 19:47:03,242 2312 [INFO ] - Installing the following packages:
2018-01-09 19:47:03,242 2312 [INFO ] - iis-aspnet45
2018-01-09 19:47:03,242 2312 [INFO ] - By installing you accept licenses for the packages.
2018-01-09 19:47:03,273 2312 [DEBUG] - Calling command ['"C:\Windows\System32\dism.exe" /Online /English /LogLevel=3 /NoRestart /Enable-Feature /FeatureName:iis-aspnet45 /All']
2018-01-09 19:47:03,288 2312 [INFO ] -  [Windows Features] Deployment Image Servicing and Management tool
2018-01-09 19:47:03,288 2312 [INFO ] -  [Windows Features] Version: 6.3.9600.17031
2018-01-09 19:47:04,038 2312 [INFO ] -  [Windows Features] Image Version: 6.3.9600.17031
2018-01-09 19:47:07,663 2312 [INFO ] -  [Windows Features] Enabling feature(s)
2018-01-09 19:47:21,085 2312 [INFO ] -  [Windows Features] The operation completed successfully.
2018-01-09 19:47:21,085 2312 [INFO ] -  iis-aspnet45 has been installed successfully.
2018-01-09 19:47:21,132 2312 [DEBUG] - Command ['"C:\Windows\System32\dism.exe" /Online /English /LogLevel=3 /NoRestart /Enable-Feature /FeatureName:iis-aspnet45 /All'] exited with '0'
2018-01-09 19:47:21,148 2312 [WARN ] - 
Chocolatey installed 1/1 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
2018-01-09 19:47:21,179 2312 [DEBUG] - Sending message 'PostRunMessage' out if there are subscribers...
2018-01-09 19:47:21,179 2312 [DEBUG] - [Countdown] Determining how long until license expires
2018-01-09 19:47:21,195 2312 [DEBUG] - Exiting with 0
2018-01-09 19:47:59,710 492 [DEBUG] - XmlConfiguration is now operational
2018-01-09 19:47:59,742 492 [DEBUG] - Evaluating license file found at 'C:\ProgramData\chocolatey\license\chocolatey.license.xml'
2018-01-09 19:47:59,882 492 [DEBUG] - Loading Licensed Extensions and Commands
2018-01-09 19:48:00,007 492 [INFO ] - ============================================================
2018-01-09 19:48:00,257 492 [INFO ] - Chocolatey v0.10.8 Professional
2018-01-09 19:48:00,273 492 [DEBUG] - Chocolatey is running on Windows v 6.3.9600.0
2018-01-09 19:48:00,273 492 [DEBUG] - Attempting to delete file "C:/ProgramData/chocolatey/choco.exe.old".
2018-01-09 19:48:00,273 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\choco.exe.old".
2018-01-09 19:48:00,289 492 [DEBUG] - Command line: "C:\ProgramData\chocolatey\choco.exe" install chocolatey.server
2018-01-09 19:48:00,289 492 [DEBUG] - Received arguments: install chocolatey.server
2018-01-09 19:48:00,382 492 [DEBUG] - RemovePendingPackagesTask is now ready and waiting for PreRunMessage.
2018-01-09 19:48:00,382 492 [DEBUG] - CountdownTask is now ready and waiting for PostRunMessage.
2018-01-09 19:48:00,382 492 [DEBUG] - Terminal services setup not necessary for this session.
2018-01-09 19:48:00,382 492 [DEBUG] - SynchronizeTask is now ready and waiting for PreRunMessage.
2018-01-09 19:48:00,398 492 [DEBUG] - Sending message 'PreRunMessage' out if there are subscribers...
2018-01-09 19:48:00,414 492 [DEBUG] - [Pending] Removing all pending packages that should not be considered installed...
2018-01-09 19:48:00,429 492 [DEBUG] - [Synchronize] Updating packages with Programs and Features
2018-01-09 19:48:00,429 492 [DEBUG] - [Synchronize] Currently only supports removals. Soon will handle updates.
2018-01-09 19:48:00,664 492 [DEBUG] - autohotkey 1.1.26.01
2018-01-09 19:48:00,726 492 [DEBUG] - autohotkey.install 1.1.26.01
2018-01-09 19:48:00,726 492 [DEBUG] - chocolatey 0.10.8
2018-01-09 19:48:00,726 492 [DEBUG] - chocolatey-core.extension 1.3.1
2018-01-09 19:48:00,726 492 [DEBUG] - chocolatey.extension 1.12.5
2018-01-09 19:48:00,726 492 [DEBUG] - notepadplusplus 7.5.1
2018-01-09 19:48:00,726 492 [DEBUG] - notepadplusplus.install 7.5.1
2018-01-09 19:48:00,742 492 [DEBUG] - ussf 1.5.0
2018-01-09 19:48:00,742 492 [DEBUG] - vnc-connect 6.2.0
2018-01-09 19:48:00,742 492 [DEBUG] - wget 1.19.1
2018-01-09 19:48:00,898 492 [DEBUG] - The source 'https://licensedpackages.chocolatey.org/api/v2/;https://chocolatey.org/api/v2/' evaluated to a 'normal' source type
2018-01-09 19:48:00,898 492 [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.
2018-01-09 19:48:00,929 492 [DEBUG] - Configuration: MaximumDownloadRateBitsPerSecond='0'|
MaximumDownloadRateBitsPerSecondAutoSet='False'|
LicensedInformation.LicenseType='Professional'|
LicensedInformation.LicenseIsValid='True'|
LicensedInformation.LicenseIsTrial='False'|
LicensedInformation.LicenseUserName='William Curran (bcurran3[at REDACTED])'|

LicensedInformation.LicenseExpirationDate='5/25/2018 12:00:00 AM'|
LicensedInformation.LicensedVersion='1.12.5.0'|
LicensedInformation.LicensedProductVersion='1.12.5'|
ChocolateyVersion.Version='0.10.8.0'|
ChocolateyVersion.PackageReleaseVersion='0'|
LicensedFeatures.UseDownloadCache='True'|
LicensedFeatures.AllowSynchronization='True'|
LicensedFeatures.UseBackgroundService='False'|
LicensedFeatures.UseBackgroundServiceWithSelfServiceSourcesOnly='False'|

LicensedFeatures.AllowPreviewFeatures='False'|
LicensedFeatures.ShowAllPackagesInProgramsAndFeatures='False'|
LicensedFeatures.AdminOnlyExecutionForAllChocolateyCommands='False'|
LicensedFeatures.AdminOnlyExecutionForNewCommand='False'|
LicensedFeatures.AdminOnlyExecutionForDownloadCommand='False'|
LicensedFeatures.UseBackgroundServiceWithNonAdministratorsOnly='False'|
LicensedFeatures.ReduceInstalledPackageSize='False'|
LicensedFeatures.ReduceOnlyNupkgSize='False'|
LicensedFeatures.UseLocalSystemForServiceInstalls='False'|
LicensedNewCommand.UseOriginalFilesLocation='False'|
LicensedNewCommand.PauseOnError='False'|
LicensedNewCommand.BuildPackage='False'|
LicensedNewCommand.GeneratePackagesFromSoftwareInstalls='False'|
LicensedNewCommand.IncludeArchitectureInPackageId='False'|
LicensedNewCommand.GenerateForCommunityUse='False'|
LicensedDownloadCommand.Internalize='False'|
LicensedDownloadCommand.AppendUseOriginalLocation='False'|
LicensedDownloadCommand.InternalizeAnyUrlFound='False'|
LicensedListCommand.ShowAuditInformation='False'|
LicensedListCommand.ShowDisplayVersion='False'|
LicensedUninstallCommand.FromProgramsAndFeatures='False'|
VirusConfiguration.VirusCheckMinimumPositives='4'|
VirusConfiguration.VirusScannerType='VirusTotal'|
VirusConfiguration.GenericVirusScannerArgs='[[File]]'|
VirusConfiguration.GenericVirusScannerValidExitCodes='0'|
CommandName='install'|
CacheLocation='C:\Users\TESTUSER\AppData\Local\Temp\chocolatey'|
ContainsLegacyPackageInstalls='True'|
CommandExecutionTimeoutSeconds='2700'|WebRequestTimeoutSeconds='30'|
Sources='https://licensedpackages.chocolatey.org/api/v2/;https://chocolatey.org/api/v2/'|

SourceType='normal'|Debug='False'|Verbose='False'|Trace='False'|
Force='False'|Noop='False'|HelpRequested='False'|
UnsuccessfulParsing='False'|RegularOutput='True'|QuietOutput='False'|
PromptForConfirmation='False'|AcceptLicense='False'|
AllowUnofficialBuild='False'|Input='chocolatey.server'|
AllVersions='False'|SkipPackageInstallProvider='False'|
PackageNames='chocolatey.server'|Prerelease='False'|ForceX86='False'|
OverrideArguments='False'|NotSilent='False'|
ApplyPackageParametersToDependencies='False'|
ApplyInstallArgumentsToDependencies='False'|IgnoreDependencies='False'|
AllowMultipleVersions='False'|AllowDowngrade='False'|
ForceDependencies='False'|Information.PlatformType='Windows'|
Information.PlatformVersion='6.3.9600.0'|
Information.PlatformName='Windows Server 2012 R2'|
Information.ChocolateyVersion='0.10.8.0'|
Information.ChocolateyProductVersion='0.10.8'|
Information.FullName='choco, Version=0.10.8.0, Culture=neutral, PublicKeyToken=79d02ea9cad655eb'|

Information.Is64BitOperatingSystem='True'|
Information.Is64BitProcess='True'|Information.IsInteractive='True'|
Information.UserName='TESTUSER'|Information.UserDomainName='LACBDEV'|
Information.IsUserAdministrator='True'|
Information.IsUserSystemAccount='False'|
Information.IsUserRemoteDesktop='False'|
Information.IsUserRemote='True'|
Information.IsProcessElevated='True'|
Information.IsLicensedVersion='True'|
Information.LicenseType='Professional'|Features.AutoUninstaller='True'|
Features.ChecksumFiles='True'|Features.AllowEmptyChecksums='False'|
Features.AllowEmptyChecksumsSecure='True'|
Features.FailOnAutoUninstaller='False'|
Features.FailOnStandardError='False'|Features.UsePowerShellHost='True'|
Features.LogEnvironmentValues='False'|Features.VirusCheck='True'|
Features.FailOnInvalidOrMissingLicense='False'|
Features.IgnoreInvalidOptionsSwitches='True'|
Features.UsePackageExitCodes='True'|
Features.UseFipsCompliantChecksums='False'|
Features.ShowNonElevatedWarnings='True'|
Features.ShowDownloadProgress='True'|
Features.StopOnFirstPackageFailure='False'|
Features.UseRememberedArgumentsForUpgrades='False'|
Features.ScriptsCheckLastExitCode='False'|
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'|
PinCommand.Command='unknown'|OutdatedCommand.IgnorePinned='False'|
Proxy.BypassOnLocal='True'|
2018-01-09 19:48:00,929 492 [DEBUG] - _ Chocolatey:ProChocolateyInstallCommand - Normal Run Mode _
2018-01-09 19:48:00,945 492 [INFO ] - Installing the following packages:
2018-01-09 19:48:00,945 492 [INFO ] - chocolatey.server
2018-01-09 19:48:00,945 492 [INFO ] - By installing you accept licenses for the packages.
2018-01-09 19:48:01,835 492 [INFO ] - [NuGet] Attempting to resolve dependency 'dotnet4.6'.
2018-01-09 19:48:04,429 492 [INFO ] - [NuGet] Installing 'DotNet4.6 4.6.00081.20150925'.
2018-01-09 19:48:04,445 492 [DEBUG] - [NuGet] Added file 'ChocolateyInstall.ps1' to folder 'DotNet4.6\tools'.
2018-01-09 19:48:04,507 492 [DEBUG] - [NuGet] Added file 'DotNet4.6.nuspec' to folder 'DotNet4.6'.
2018-01-09 19:48:04,507 492 [DEBUG] - [NuGet] Added file 'DotNet4.6.nupkg' to folder 'DotNet4.6'.
2018-01-09 19:48:04,523 492 [INFO ] - [NuGet] Successfully installed 'DotNet4.6 4.6.00081.20150925'.
2018-01-09 19:48:04,523 492 [INFO ] - 
DotNet4.6 v4.6.00081.20150925 [Approved] - Possibly broken
2018-01-09 19:48:04,539 492 [INFO ] - dotnet4.6 package files install completed. Performing other installation steps.
2018-01-09 19:48:04,585 492 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\DotNet4.6\tools\ChocolateyInstall.ps1':
2018-01-09 19:48:04,601 492 [DEBUG] - Function IsInstalled {
    $ver = (Get-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full').Release
    return (!($ver -eq $null) -and ($ver -ge 393295))
}

if (IsInstalled) {
    Write-Host "Microsoft .NET Framework 4.6 or later is already installed"
}
else {
    $packageName = 'DotNet46'
    $installerType = 'exe'
    $Url = 'http://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
    $silentArgs = "/Passive /NoRestart /Log ""$env:temp\net46.log"""
    $validExitCodes = @(
        0, # success
        3010 # success, restart required
    )

    Install-ChocolateyPackage $packageName $installerType $silentArgs $Url -validExitCodes $validExitCodes

    if (-Not (IsInstalled)) {
        Write-Host "A restart is required to finalise the Microsoft .NET Framework 4.6 installation"
    }
}

2018-01-09 19:48:04,632 492 [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\DotNet4.6\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2018-01-09 19:48:04,632 492 [DEBUG] - Redirecting System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35, requested by ''
2018-01-09 19:48:04,898 492 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2018-01-09 19:48:05,054 492 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2018-01-09 19:48:05,070 492 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2018-01-09 19:48:05,085 492 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2018-01-09 19:48:05,085 492 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2018-01-09 19:48:05,085 492 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2018-01-09 19:48:05,085 492 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2018-01-09 19:48:05,085 492 [DEBUG] - Loading community extensions
2018-01-09 19:48:05,085 492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.extensions.psm1'
2018-01-09 19:48:05,085 492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.extensions.psm1'.
2018-01-09 19:48:05,101 492 [DEBUG] - License type set to Professional
2018-01-09 19:48:05,101 492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2018-01-09 19:48:05,101 492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2018-01-09 19:48:05,226 492 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2018-01-09 19:48:05,242 492 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2018-01-09 19:48:05,242 492 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2018-01-09 19:48:05,242 492 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2018-01-09 19:48:05,242 492 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2018-01-09 19:48:05,242 492 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2018-01-09 19:48:05,242 492 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2018-01-09 19:48:05,242 492 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2018-01-09 19:48:05,242 492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.licensed.dll'
2018-01-09 19:48:05,257 492 [DEBUG] - Loading 'chocolatey.licensed' extension.
2018-01-09 19:48:05,257 492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.licensed.dll'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2018-01-09 19:48:05,273 492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2018-01-09 19:48:05,289 492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-ChocolateyWebFileCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-VirusCheckValidCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebFileCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebFileNameCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebHeadersCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPackageCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2018-01-09 19:48:05,304 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'.
2018-01-09 19:48:05,320 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2018-01-09 19:48:05,476 492 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-09 19:48:05,492 492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2018-01-09 19:48:05,507 492 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2018-01-09 19:48:05,554 492 [DEBUG] - Running 'ChocolateyScriptRunner' for DotNet4.6 v4.6.00081.20150925 with packageScript 'C:\ProgramData\chocolatey\lib\DotNet4.6\tools\ChocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\DotNet4.6', installArguments: '', packageParameters: '',
2018-01-09 19:48:05,570 492 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\DotNet4.6\tools\ChocolateyInstall.ps1'
2018-01-09 19:48:05,695 492 [DEBUG] - Running Install-ChocolateyPackage -validExitCodes '0 3010' -packageName 'DotNet46' -fileType 'exe' -silentArgs '/Passive /NoRestart /Log "C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\net46.log"' -url 'http://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe' 
2018-01-09 19:48:05,773 492 [DEBUG] - Running Get-ChocolateyWebFile -packageName 'DotNet46' -fileFullPath 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\DotNet46Install.exe' -url 'http://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe' -url64bit '' -checksum '' -checksumType '' -checksum64 '' -checksumType64 '' -options 'System.Collections.Hashtable' -getOriginalFileName 'True' 
2018-01-09 19:48:05,789 492 [DEBUG] - Running Get-ProcessorBits -compare '64' 
2018-01-09 19:48:05,804 492 [DEBUG] - CPU is 64 bit
2018-01-09 19:48:05,820 492 [DEBUG] - Running licensed 'Get-WebHeaders' with url:'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe', userAgent:'chocolatey command line'
2018-01-09 19:48:05,835 492 [DEBUG] - Setting request timeout to '30000'
2018-01-09 19:48:05,835 492 [DEBUG] - Setting read/write timeout to '2700000'
2018-01-09 19:48:05,835 492 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2018-01-09 19:48:05,835 492 [DEBUG] - Request Headers:
2018-01-09 19:48:05,835 492 [DEBUG] -   Accept=*/*
2018-01-09 19:48:05,835 492 [DEBUG] -   User-Agent=chocolatey command line
2018-01-09 19:48:06,039 492 [DEBUG] - Response Headers:
2018-01-09 19:48:06,039 492 [DEBUG] -   Content-Disposition=attachment
2018-01-09 19:48:06,039 492 [DEBUG] -   Connection=keep-alive
2018-01-09 19:48:06,039 492 [DEBUG] -   Accept-Ranges=bytes
2018-01-09 19:48:06,054 492 [DEBUG] -   Content-Length=65444688
2018-01-09 19:48:06,054 492 [DEBUG] -   Content-Type=application/octet-stream
2018-01-09 19:48:06,054 492 [DEBUG] -   Date=Wed, 10 Jan 2018 03:48:09 GMT
2018-01-09 19:48:06,054 492 [DEBUG] -   ETag="896e53343badd01:0"
2018-01-09 19:48:06,054 492 [DEBUG] -   Last-Modified=Mon, 22 Jun 2015 22:31:38 GMT
2018-01-09 19:48:06,054 492 [DEBUG] -   Server=Microsoft-IIS/8.5
2018-01-09 19:48:06,054 492 [WARN ] - WARNING: Url has SSL/TLS available, switching to HTTPS for download
2018-01-09 19:48:06,070 492 [DEBUG] - Running licensed 'Get-WebFileName' with url:'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe', defaultName:'DotNet46Install.exe' userAgent:'chocolatey command line'
2018-01-09 19:48:06,085 492 [DEBUG] - Setting request timeout to '30000'
2018-01-09 19:48:06,085 492 [DEBUG] - Setting read/write timeout to '2700000'
2018-01-09 19:48:06,085 492 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2018-01-09 19:48:06,195 492 [DEBUG] - Using response url to determine file name ('https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe').
2018-01-09 19:48:06,195 492 [DEBUG] - File name determined from url is 'NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
2018-01-09 19:48:06,210 492 [DEBUG] - Running licensed 'Get-WebHeaders' with url:'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe', userAgent:'chocolatey command line'
2018-01-09 19:48:06,210 492 [DEBUG] - Setting request timeout to '30000'
2018-01-09 19:48:06,210 492 [DEBUG] - Setting read/write timeout to '2700000'
2018-01-09 19:48:06,210 492 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2018-01-09 19:48:06,210 492 [DEBUG] - Request Headers:
2018-01-09 19:48:06,210 492 [DEBUG] -   Accept=*/*
2018-01-09 19:48:06,210 492 [DEBUG] -   User-Agent=chocolatey command line
2018-01-09 19:48:06,539 492 [DEBUG] - Response Headers:
2018-01-09 19:48:06,539 492 [DEBUG] -   Content-Disposition=attachment
2018-01-09 19:48:06,539 492 [DEBUG] -   Connection=keep-alive
2018-01-09 19:48:06,539 492 [DEBUG] -   Accept-Ranges=bytes
2018-01-09 19:48:06,539 492 [DEBUG] -   Content-Length=65444688
2018-01-09 19:48:06,539 492 [DEBUG] -   Content-Type=application/octet-stream
2018-01-09 19:48:06,539 492 [DEBUG] -   Date=Wed, 10 Jan 2018 03:48:09 GMT
2018-01-09 19:48:06,539 492 [DEBUG] -   ETag="896e53343badd01:0"
2018-01-09 19:48:06,539 492 [DEBUG] -   Last-Modified=Mon, 22 Jun 2015 22:31:38 GMT
2018-01-09 19:48:06,539 492 [DEBUG] -   Server=Microsoft-IIS/8.5
2018-01-09 19:48:06,554 492 [INFO ] - Downloading DotNet46 
  from 'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
2018-01-09 19:48:06,554 492 [INFO ] - 
2018-01-09 19:48:06,585 492 [DEBUG] - Running licensed 'Get-WebFile' for 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe' with url:'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe', userAgent:'chocolatey command line'
2018-01-09 19:48:06,585 492 [DEBUG] - Setting request timeout to '30000'
2018-01-09 19:48:06,585 492 [DEBUG] - Setting read/write timeout to '2700000'
2018-01-09 19:48:06,585 492 [DEBUG] - Setting the UserAgent to 'chocolatey command line'
2018-01-09 19:48:06,664 492 [DEBUG] - Downloading 'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe' to 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
2018-01-09 19:48:15,554 492 [INFO ] - 
2018-01-09 19:48:15,554 492 [INFO ] - Download of 'NDP46-KB3045557-x86-x64-AllOS-ENU.exe' (62.41 MB) completed.
2018-01-09 19:48:17,570 492 [DEBUG] - Running licensed 'Get-VirusCheckValid' with url:'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe', file: 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe'
2018-01-09 19:48:17,601 492 [DEBUG] - Conducting virus check for 'NDP46-KB3045557-x86-x64-AllOS-ENU.exe'.
2018-01-09 19:48:19,164 492 [INFO ] - Virus check: 0/55 scan engines flagged this assembly. 
 Due to possible false positives we fail at 4 minimum positives.
2018-01-09 19:48:19,164 492 [WARN ] -  Virus scan engines indicate this file is probably safe. For details see
  https://www.virustotal.com/file/b21d33135e67e3486b154b11f7961d8e1cfd7a603267fb60febb4a6feab5cf87/analysis/
2018-01-09 19:48:19,179 492 [DEBUG] - Checking that 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe' is the size we expect it to be.
2018-01-09 19:48:19,179 492 [DEBUG] - Verifying package provided checksum of '' for 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe'.
2018-01-09 19:48:19,179 492 [DEBUG] - Running Get-ChecksumValid -file 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe' -checksum '' -checksumType '' -originalUrl 'https://download.microsoft.com/download/C/3/A/C3A5200B-D33C-47E9-9D70-2F7C65DAAD94/NDP46-KB3045557-x86-x64-AllOS-ENU.exe' 
2018-01-09 19:48:19,179 492 [DEBUG] - Download from HTTPS source with feature 'allowEmptyChecksumsSecure' enabled.
2018-01-09 19:48:19,242 492 [DEBUG] - Running licensed 'Install-ChocolateyInstallPackage' for $packageName with File:'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe', File64:'', SilentArguments: '/Passive /NoRestart /Log "C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\net46.log"', InstallerType: 'exe', ValidExitCodes: '0,3010', -UseOnlyPackageSilentArguments: 'False'
2018-01-09 19:48:19,242 492 [INFO ] - Installing NDP46-KB3045557-x86-x64-AllOS-ENU.exe...
2018-01-09 19:48:19,242 492 [DEBUG] - Ensuring 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey' exists.
2018-01-09 19:48:19,257 492 [DEBUG] - Attempting to detect type for 'NDP46-KB3045557-x86-x64-AllOS-ENU.exe' with db 'C:\ProgramData\chocolatey\tools\detector\db'
2018-01-09 19:48:19,257 492 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\7z.exe" x -aoa -o"C:\ProgramData\chocolatey\tools\detector" -y "C:\ProgramData\chocolatey\tools\detector.zip"']
2018-01-09 19:48:19,476 492 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\7z.exe" x -aoa -o"C:\ProgramData\chocolatey\tools\detector" -y "C:\ProgramData\chocolatey\tools\detector.zip"'] exited with '0'
2018-01-09 19:48:20,554 492 [DEBUG] - Calling command ['"C:\ProgramData\chocolatey\tools\detector\diec.exe" "C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe"']
2018-01-09 19:48:20,882 492 [DEBUG] - Command ['"C:\ProgramData\chocolatey\tools\detector\diec.exe" "C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe"'] exited with '0'
2018-01-09 19:48:20,882 492 [DEBUG] - fileTypeOutput='PE: Nothing found'
2018-01-09 19:48:20,930 492 [DEBUG] - Running Start-ChocolateyProcessAsAdmin -statements ' /Passive /NoRestart /Log "C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\net46.log"' -exeToRun 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe' -validExitCodes '0 3010' -workingDirectory 'C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925' -sensitiveStatements '[REDACTED]' 
2018-01-09 19:48:20,960 492 [DEBUG] - Test-ProcessAdminRights: returning True
2018-01-09 19:48:20,976 492 [DEBUG] - Elevating permissions and running ["C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe"  /Passive /NoRestart /Log "C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\net46.log"]. This may take a while, depending on the statements.
2018-01-09 19:50:59,086 492 [DEBUG] - Command ["C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\DotNet4.6\4.6.00081.20150925\NDP46-KB3045557-x86-x64-AllOS-ENU.exe"  /Passive /NoRestart /Log "C:\Users\TESTUSER\AppData\Local\Temp\chocolatey\net46.log"] exited with '3010'.
2018-01-09 19:50:59,086 492 [DEBUG] - Finishing 'Start-ChocolateyProcessAsAdmin'
2018-01-09 19:50:59,101 492 [INFO ] - NDP46-KB3045557-x86-x64-AllOS-ENU.exe has been installed.
2018-01-09 19:50:59,117 492 [INFO ] - A restart is required to finalise the Microsoft .NET Framework 4.6 installation
2018-01-09 19:50:59,117 492 [INFO ] - 
2018-01-09 19:50:59,133 492 [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\DotNet4.6\tools\ChocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2018-01-09 19:50:59,133 492 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2018-01-09 19:50:59,164 492 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2018-01-09 19:50:59,242 492 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\DotNet4.6'
2018-01-09 19:50:59,258 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\DotNet4.6\DotNet4.6.nupkg'
  with checksum 'A9531F851EF78D50ECB167679C3C2A33'
2018-01-09 19:50:59,258 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\DotNet4.6\DotNet4.6.nuspec'
  with checksum 'D0D3AA98A1B8C115270B44998519A7BA'
2018-01-09 19:50:59,258 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\DotNet4.6\tools\ChocolateyInstall.ps1'
  with checksum '9377D3539689C7F6A28469D57D13E83B'
2018-01-09 19:50:59,289 492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\DotNet4.6.4.6.00081.20150925".
2018-01-09 19:50:59,289 492 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\DotNet4.6.4.6.00081.20150925\.files'
2018-01-09 19:50:59,289 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.6.4.6.00081.20150925\.extra".
2018-01-09 19:50:59,289 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.6.4.6.00081.20150925\.version".
2018-01-09 19:50:59,289 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.6.4.6.00081.20150925\.sxs".
2018-01-09 19:50:59,289 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\DotNet4.6.4.6.00081.20150925\.pin".
2018-01-09 19:50:59,289 492 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2018-01-09 19:50:59,289 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\DotNet4.6\.chocolateyPending".
2018-01-09 19:50:59,305 492 [INFO ] -  The install of dotnet4.6 was successful.
2018-01-09 19:50:59,305 492 [INFO ] -   Software install location not explicitly set, could be in package or 
  default install location if installer.
2018-01-09 19:50:59,305 492 [INFO ] - [NuGet] Installing 'chocolatey.server 0.2.1'.
2018-01-09 19:50:59,305 492 [DEBUG] - [NuGet] Added file 'Readme.txt' to folder 'chocolatey.server\tools\chocolatey.server\App_Data\Packages'.
2018-01-09 19:50:59,305 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\de'.
2018-01-09 19:50:59,305 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\de'.
2018-01-09 19:50:59,336 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\de'.
2018-01-09 19:50:59,336 492 [DEBUG] - [NuGet] Added file 'Elmah.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,336 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\es'.
2018-01-09 19:50:59,336 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\es'.
2018-01-09 19:50:59,367 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\es'.
2018-01-09 19:50:59,367 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\fr'.
2018-01-09 19:50:59,367 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\fr'.
2018-01-09 19:50:59,367 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\fr'.
2018-01-09 19:50:59,367 492 [DEBUG] - [NuGet] Added file 'HttpAuthenticationModule.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,388 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\it'.
2018-01-09 19:50:59,388 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\it'.
2018-01-09 19:50:59,388 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\it'.
2018-01-09 19:50:59,388 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ja'.
2018-01-09 19:50:59,398 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ja'.
2018-01-09 19:50:59,398 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ja'.
2018-01-09 19:50:59,398 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ko'.
2018-01-09 19:50:59,398 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ko'.
2018-01-09 19:50:59,430 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ko'.
2018-01-09 19:50:59,430 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,430 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,430 492 [DEBUG] - [NuGet] Added file 'Microsoft.Web.Infrastructure.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,430 492 [DEBUG] - [NuGet] Added file 'Microsoft.Web.XmlTransform.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,430 492 [DEBUG] - [NuGet] Added file 'Newtonsoft.Json.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,445 492 [DEBUG] - [NuGet] Added file 'NuGet.Core.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,445 492 [DEBUG] - [NuGet] Added file 'NuGet.Server.Core.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,445 492 [DEBUG] - [NuGet] Added file 'NuGet.Server.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,445 492 [DEBUG] - [NuGet] Added file 'NuGet.Server.V2.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,445 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ru'.
2018-01-09 19:50:59,445 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ru'.
2018-01-09 19:50:59,472 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\ru'.
2018-01-09 19:50:59,472 492 [DEBUG] - [NuGet] Added file 'SimpleChocolateyServer.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,472 492 [DEBUG] - [NuGet] Added file 'System.Net.Http.Formatting.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,472 492 [DEBUG] - [NuGet] Added file 'System.Spatial.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,492 492 [DEBUG] - [NuGet] Added file 'System.Web.Http.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,508 492 [DEBUG] - [NuGet] Added file 'System.Web.Http.OData.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,508 492 [DEBUG] - [NuGet] Added file 'System.Web.Http.WebHost.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,508 492 [DEBUG] - [NuGet] Added file 'Web.config.install.xdt' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,508 492 [DEBUG] - [NuGet] Added file 'WebActivatorEx.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin'.
2018-01-09 19:50:59,508 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\zh-Hans'.
2018-01-09 19:50:59,508 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\zh-Hans'.
2018-01-09 19:50:59,508 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\zh-Hans'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.Edm.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\zh-Hant'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'Microsoft.Data.OData.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\zh-Hant'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'System.Spatial.resources.dll' to folder 'chocolatey.server\tools\chocolatey.server\bin\zh-Hant'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'chocolatey.png' to folder 'chocolatey.server\tools\chocolatey.server\Content\images'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'MarksUsePolicy.pdf' to folder 'chocolatey.server\tools\chocolatey.server\Content\images'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'Default.aspx' to folder 'chocolatey.server\tools\chocolatey.server'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'favicon.ico' to folder 'chocolatey.server\tools\chocolatey.server'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'Web.config' to folder 'chocolatey.server\tools\chocolatey.server'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'Web.config.install.xdt' to folder 'chocolatey.server\tools\chocolatey.server'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'chocolateybeforemodify.ps1' to folder 'chocolatey.server\tools'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'chocolateyInstall.ps1' to folder 'chocolatey.server\tools'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'chocolateyuninstall.ps1' to folder 'chocolatey.server\tools'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'LICENSE.txt' to folder 'chocolatey.server\tools'.
2018-01-09 19:50:59,523 492 [DEBUG] - [NuGet] Added file 'VERIFICATION.txt' to folder 'chocolatey.server\tools'.
2018-01-09 19:50:59,570 492 [DEBUG] - [NuGet] Added file 'chocolatey.server.nuspec' to folder 'chocolatey.server'.
2018-01-09 19:50:59,570 492 [DEBUG] - [NuGet] Added file 'chocolatey.server.nupkg' to folder 'chocolatey.server'.
2018-01-09 19:50:59,570 492 [INFO ] - [NuGet] Successfully installed 'chocolatey.server 0.2.1'.
2018-01-09 19:50:59,586 492 [INFO ] - 
chocolatey.server v0.2.1 [Approved]
2018-01-09 19:50:59,586 492 [INFO ] - chocolatey.server package files install completed. Performing other installation steps.
2018-01-09 19:50:59,586 492 [DEBUG] - Setting installer args for chocolatey.server
2018-01-09 19:50:59,586 492 [DEBUG] - Setting package parameters for chocolatey.server
2018-01-09 19:50:59,586 492 [DEBUG] - Contents of 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolateyInstall.ps1':
2018-01-09 19:50:59,586 492 [DEBUG] - $packageName   = $env:ChocolateyPackageName
$toolsDir      = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$webToolsDir   = Join-Path $toolsDir $packageName
$packageWebConfig  = Join-Path $webToolsDir 'Web.config'
$webInstallDir     = Join-Path (Get-ToolsLocation) $packageName
$existingWebConfig = Join-Path $webInstallDir 'Web.config'

#Enable Web Services
#cinst IIS-WebServerRole -source WindowsFeatures
#cinst IIS-ISAPIFilter -source WindowsFeatures
#cinst IIS-ISAPIExtensions -source WindowsFeatures

# https://github.com/chocolatey/chocolatey/wiki/DevelopmentEnvironmentSetup
# cinst ASPNET -source webpi
# cinst ASPNET_REGIIS -source webpi
# cinst DefaultDocument -source webpi
# cinst DynamicContentCompression -source webpi
# cinst HTTPRedirection -source webpi
# cinst IIS7_ExtensionLessURLs -source webpi
# cinst IISManagementConsole -source webpi
# cinst ISAPIExtensions -source webpi
# cinst ISAPIFilters -source webpi
# cinst NETExtensibility -source webpi
# cinst RequestFiltering -source webpi
# cinst StaticContent -source webpi
# cinst StaticContentCompression -source webpi
# cinst UrlRewrite2 -source webpi

# W3SVC should be running

# http://msdn.microsoft.com/en-us/library/windows/desktop/ms724832.aspx
$osVersion = [Environment]::OSVersion.Version
if ($osVersion -ge [Version]'6.2') #8/2012+
{
#cinst IIS-NetFxExtensibility45 -source WindowsFeatures
#cinst NetFx4Extended-ASPNET45 -source WindowsFeatures
#cinst IIS-ASPNet45 -source WindowsFeatures

} else { #Windows 7/2008 and below
."$env:windir\microsoft.net\framework\v4.0.30319\aspnet_regiis.exe" -i
}

If (Test-Path -Path $existingWebConfig) {
  Write-Output "Copying existing web.config to package directory to allow proper updates"
  Copy-Item $existingWebConfig $packageWebConfig -Force -ErrorAction SilentlyContinue
  Write-Warning "Due to transforms happening AFTER this script completes, you will likely need to manually migrate '$packageWebConfig' back to '$existingWebConfig' once upgrade is complete. Also check the config file to make sure that it was not malformed by the XDT transform."
}

if (! (Test-Path -Path $webInstallDir)) {
  New-Item $webInstallDir -ItemType Directory -Force | Out-Null
  Copy-Item $webToolsDir\* $webInstallDir -Recurse -Force
} else {
  try {
    Write-Debug "Removing all but the App_Data folder in the existing '$webInstallDir'"
    Get-ChildItem -Path "$webInstallDir" -Recurse | % {
      if ($_.FullName -match 'App_Data' -or $_.FullName -match 'Web.config') {
        Write-Debug " - Skipping $($_.FullName)"
      } else {
        Write-Debug " - Removing $($_.FullName)"
        Remove-Item $_.FullName -Recurse -Force -ErrorAction SilentlyContinue
      }
    }
  } catch {
    Write-Warning "Had an error deleting files from '$webInstallDir'. You will need to manually remove files. `n Error: $($_.Message)"
  }

  # Now copy all new except the App_Data folder
  Write-Debug "Copying files from '$webToolsDir' to '$webInstallDir'"
  Get-ChildItem -Path $webToolsDir -Recurse | % {
    if ($_.FullName -match 'App_Data') {
      # leave these items
      Write-Debug "- Skipping $($_.FullName)"
    } else {
      if (! ($_.PSIsContainer)) {
        $srcFile = $_.FullName
        $destinationFile = Join-Path $webInstallDir ($srcFile.Substring($webToolsDir.length))
        $destinationDir = $destinationFile.Replace($destinationFile.Split("\")[-1],"")
        #$destinationDir = Join-Path $webInstallDir ($_.Parent.FullName.Substring($webToolsDir.length))
        if (! (Test-Path -Path $destinationDir)) {
          Write-Debug " - Creating $destinationDir"
          New-Item $destinationDir -ItemType Directory -Force | Out-Null
        }
        try {
          Write-Debug " - Copying '$srcFile' to '$destinationFile'"
          Copy-Item $srcFile -Destination $destinationFile -Force -ErrorAction Stop
        } catch {
          Write-Warning "Unable to copy '$srcFile' to '$destinationFile'. `n Error: $_"
        }
      }
    }
  }
}

#Import-Module WebAdministration
#Remove-WebSite -Name "Default Web Site" -ErrorAction SilentlyContinue
#Remove-WebSite -Name "ChocolateyServer" -ErrorAction SilentlyContinue
#New-WebSite -ID 1 -Name "ChocolateyServer" -Port 80 -PhysicalPath "$webInstallDir" -Force

# $networkSvc = 'NT AUTHORITY\NETWORK SERVICE'
# Write-Host "Setting folder permissions on `'$webInstallDir`' to 'Read' for user $networkSvc"
# $acl = Get-Acl $webInstallDir
# $acl.SetAccessRuleProtection($False, $True)
# $rule = New-Object System.Security.AccessControl.FileSystemAccessRule("$networkSvc","Read", "ContainerInherit, ObjectInherit", "None", "Allow");
# $acl.AddAccessRule($rule);
# Set-Acl $webInstallDir $acl

# $webInstallAppDataDir = Join-Path $webInstallDir 'App_Data'
# Write-Host "Setting folder permissions on `'$webInstallAppDataDir`' to 'Modify' for user $networkSvc"
# $acl = Get-Acl $webInstallAppDataDir
# $acl.SetAccessRuleProtection($False, $True)
# $rule = New-Object System.Security.AccessControl.FileSystemAccessRule("$networkSvc","Modify", "ContainerInherit, ObjectInherit", "None", "Allow");
# $acl.AddAccessRule($rule);
# Set-Acl $webInstallAppDataDir $acl
#
# Import-Module WebAdministration
# $appPoolPath = "IIS:\AppPools\$projectName"
# #$pool = new-object
# Write-Warning "You can safely ignore the next error if it occurs related to getting an app pool that doesn't exist"
# $pool = Get-Item $appPoolPath
# if ($pool -eq $null) {
#   Write-Host "Creating the app pool `'$appPoolPath`'"
#   $pool = New-Item $appPoolPath
# }
#
# $pool.processModel.identityType = "NetworkService"
# $pool | Set-Item
# Set-itemproperty $appPoolPath -Name "managedRuntimeVersion" -Value "v4.0"
# #Set-itemproperty $appPoolPath -Name "managedPipelineMode" -Value "Integrated"
# Start-WebAppPool "$projectName"
# Write-Host "Creating the site `'$projectName`' with appPool `'$projectName`'"
# New-WebApplication "$projectName" -Site "Default Web Site" -PhysicalPath $srcDir -ApplicationPool "$projectName" -Force

#Client SKUs need to enable firewall
#netsh advfirewall firewall add rule name="Open Port 80" dir=in action=allow protocol=TCP localport=80

2018-01-09 19:50:59,586 492 [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\chocolatey.server\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters ''']
2018-01-09 19:50:59,601 492 [DEBUG] - Redirecting Microsoft.PowerShell.Security, requested by ''
2018-01-09 19:50:59,601 492 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
 Could not load file or assembly 'Microsoft.PowerShell.Security, Version=5.0.0.0' or one of its dependencies. The system cannot find the file specified.
2018-01-09 19:50:59,601 492 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
 Could not load file or assembly 'Microsoft.PowerShell.Security, Version=4.0.0.0' or one of its dependencies. The system cannot find the file specified.
2018-01-09 19:50:59,601 492 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
 Could not load file or assembly 'Microsoft.PowerShell.Security, Version=3.0.0.0' or one of its dependencies. The system cannot find the file specified.
2018-01-09 19:50:59,601 492 [DEBUG] - Attempting to load assembly Microsoft.PowerShell.Security failed:
 Could not load file or assembly 'Microsoft.PowerShell.Security, Version=1.0.0.0' or one of its dependencies. The system cannot find the file specified.
2018-01-09 19:50:59,680 492 [DEBUG] - Host version is 4.0, PowerShell Version is '4.0' and CLR Version is '4.0.30319.34014'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2018-01-09 19:50:59,726 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2018-01-09 19:50:59,742 492 [DEBUG] - Loading community extensions
2018-01-09 19:50:59,742 492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.extensions.psm1'
2018-01-09 19:50:59,742 492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.extensions.psm1'.
2018-01-09 19:50:59,742 492 [DEBUG] - License type set to Professional
2018-01-09 19:50:59,742 492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'
2018-01-09 19:50:59,758 492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2018-01-09 19:50:59,836 492 [DEBUG] - Importing 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.licensed.dll'
2018-01-09 19:50:59,836 492 [DEBUG] - Loading 'chocolatey.licensed' extension.
2018-01-09 19:50:59,836 492 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey\chocolatey.licensed.dll'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2018-01-09 19:50:59,851 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Get-AvailableDriveLetter'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Get-EffectiveProxy'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-ChocolateyWebFileCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-VirusCheckValidCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebFileCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebFileNameCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Get-WebHeadersCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyPackageCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,867 492 [INFO ] - VERBOSE: Exporting cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-ChocolateyWebFileCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-VirusCheckValidCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebFileNameCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Get-WebHeadersCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyInstallPackageCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyPackageCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Install-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Start-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Stop-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing cmdlet 'Uninstall-ChocolateyWindowsServiceCmdlet'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-AvailableDriveLetter'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-EffectiveProxy'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2018-01-09 19:50:59,883 492 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2018-01-09 19:50:59,898 492 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2018-01-09 19:50:59,914 492 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2018-01-09 19:50:59,914 492 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2018-01-09 19:50:59,914 492 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2018-01-09 19:50:59,914 492 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2018-01-09 19:50:59,914 492 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2018-01-09 19:50:59,914 492 [DEBUG] - Running 'ChocolateyScriptRunner' for chocolatey.server v0.2.1 with packageScript 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolateyInstall.ps1', packageFolder:'C:\ProgramData\chocolatey\lib\chocolatey.server', installArguments: '', packageParameters: '',
2018-01-09 19:50:59,914 492 [DEBUG] - Running 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolateyInstall.ps1'
2018-01-09 19:50:59,914 492 [DEBUG] - Running Get-ToolsLocation 
2018-01-09 19:50:59,945 492 [DEBUG] - Running Set-EnvironmentVariable -Name 'ChocolateyToolsLocation' -Value 'C:\tools' -Scope 'User' 
2018-01-09 19:50:59,992 492 [DEBUG] - Registry type for ChocolateyToolsLocation is/will be String
2018-01-09 19:50:59,992 492 [DEBUG] - 
using System;
using System.Runtime.InteropServices;

namespace Win32
{
    public class NativeMethods
    {
    [DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)]
public static extern IntPtr SendMessageTimeout(
    IntPtr hWnd, uint Msg, UIntPtr wParam, string lParam,
    uint fuFlags, uint uTimeout, out UIntPtr lpdwResult);

    }

}

2018-01-09 19:51:00,648 492 [DEBUG] - Running Update-SessionEnvironment 
2018-01-09 19:51:00,648 492 [INFO ] - VERBOSE: Refreshing environment variables from the registry.
2018-01-09 19:51:00,898 492 [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\chocolatey.server\tools\chocolateyInstall.ps1' -installArguments '' -packageParameters '''] exited with '0'.
2018-01-09 19:51:00,898 492 [DEBUG] - Calling command ['"C:\Windows\System32\shutdown.exe" /a']
2018-01-09 19:51:00,914 492 [DEBUG] - Command ['"C:\Windows\System32\shutdown.exe" /a'] exited with '1116'
2018-01-09 19:51:00,914 492 [WARN ] - Environment Vars (like PATH) have changed. Close/reopen your shell to
 see the changes (or in powershell/cmd.exe just type `refreshenv`).
2018-01-09 19:51:00,914 492 [DEBUG] - Logging of values is not turned on by default because it 
 could potentially expose sensitive data. If you understand the risk,
 please see `choco feature -h` for information to turn it on.
2018-01-09 19:51:00,914 492 [DEBUG] - The following values have been added/changed (may contain sensitive data):
2018-01-09 19:51:00,914 492 [DEBUG] -   * ChocolateyLastPathUpdate='[REDACTED]' (User)
2018-01-09 19:51:00,914 492 [DEBUG] -   * ChocolateyToolsLocation='[REDACTED]' (User)
2018-01-09 19:51:00,930 492 [DEBUG] - Preparing transform for 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Web.config.install.xdt'
2018-01-09 19:51:00,930 492 [INFO ] - Transforming 'Web.config' with the data from 'Web.config.install.xdt'
2018-01-09 19:51:01,039 492 [DEBUG] - Transform applied successfully for 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Web.config'
2018-01-09 19:51:01,133 492 [DEBUG] - Preparing transform for 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Web.config.install.xdt'
2018-01-09 19:51:01,133 492 [INFO ] - Transforming 'Web.config' with the data from 'Web.config.install.xdt'
2018-01-09 19:51:01,226 492 [ERROR] - Error transforming config file:
 Data at the root level is invalid. Line 230, position 17.
2018-01-09 19:51:01,226 492 [DEBUG] - Capturing package files in 'C:\ProgramData\chocolatey\lib\chocolatey.server'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\chocolatey.server.nupkg'
  with checksum 'C4CDB4762DB8CF945E6F388D7186887B'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\chocolatey.server.nuspec'
  with checksum 'BB96AAB11D4D135E69458BC8D3B4304F'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolateybeforemodify.ps1'
  with checksum '1199D623C4AD35BDB233411EFB8711D7'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolateyInstall.ps1'
  with checksum '45560C0082B064F2284F274B3239EAF1'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolateyuninstall.ps1'
  with checksum '79AA2A6D1CA2B1A4FF9374AEEC6B9E6C'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\LICENSE.txt'
  with checksum '086C47A8A567EAA9CB3A8C25911A01A1'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\VERIFICATION.txt'
  with checksum 'AC9F89F1437C24185302123FEA134AEC'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Default.aspx'
  with checksum '25C600555EBD40F4E2B44D8CE03AFF1E'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\favicon.ico'
  with checksum '9C613D05853E9E4B7B5848549D03C282'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Web.config'
  with checksum '8F772B6862AEDC20C069493AED39B5C4'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Web.config.install.xdt'
  with checksum '89C48D17F7962B4731A5A0BD7B33612C'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\App_Data\Packages\Readme.txt'
  with checksum 'B6276796E4EE0F2E8BFD923A237917BF'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Elmah.dll'
  with checksum '5F9FBA56E86C63D985C5108544EC5473'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\HttpAuthenticationModule.dll'
  with checksum 'C744A02CE9A66E017C921731C2B6D0B0'
2018-01-09 19:51:01,242 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Microsoft.Data.Edm.dll'
  with checksum '7328F79D866FD3C8AD5292E6C37438E6'
2018-01-09 19:51:01,258 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Microsoft.Data.OData.dll'
  with checksum '807D9FE38AD10840F64B829C8C84515D'
2018-01-09 19:51:01,258 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Microsoft.Web.Infrastructure.dll'
  with checksum '969D6CAF273394F064475292D549516E'
2018-01-09 19:51:01,258 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Microsoft.Web.XmlTransform.dll'
  with checksum '6AD7D1E92C9833F4BDDE6A4BC84F2E1A'
2018-01-09 19:51:01,258 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Newtonsoft.Json.dll'
  with checksum 'F33CBE589B769956284868104686CC2D'
2018-01-09 19:51:01,258 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\NuGet.Core.dll'
  with checksum '7E2E527AE1442CE50DB65FEFE07FE32F'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\NuGet.Server.Core.dll'
  with checksum 'DB78DA875C6474644DBC56A79AC278F5'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\NuGet.Server.dll'
  with checksum 'DEC70A1C21F284D09C11A27DCD818E04'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\NuGet.Server.V2.dll'
  with checksum '4F6B6C2F0BC96271BAD3D1433B88CC46'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\SimpleChocolateyServer.dll'
  with checksum '1E51DB7A61C3E4F09BDE3C67E41826C1'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\System.Net.Http.Formatting.dll'
  with checksum '589E1B764C0DC53BF645054960626AB1'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\System.Spatial.dll'
  with checksum '7E11C443A4A7F21A6D64AC158F73DE43'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\System.Web.Http.dll'
  with checksum '1982B5586DE16B532074211AB7DA1CA6'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\System.Web.Http.OData.dll'
  with checksum '937424C2BAB4E83D73F0F827DF2593EB'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\System.Web.Http.WebHost.dll'
  with checksum 'C3138D9BC26BCD3D225F551ED8C41792'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Web.config.install.xdt'
  with checksum '89C48D17F7962B4731A5A0BD7B33612C'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\WebActivatorEx.dll'
  with checksum 'E6EBF27FA68C47A434C2E6AC0C08CF5A'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\de\Microsoft.Data.Edm.resources.dll'
  with checksum '77412AF23F6272308871FF0C0A35B509'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\de\Microsoft.Data.OData.resources.dll'
  with checksum '0F75D53B43725820AAF0D2A9F3BB9599'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\de\System.Spatial.resources.dll'
  with checksum 'EFC78547A8C80BAFB235877DD7557927'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\es\Microsoft.Data.Edm.resources.dll'
  with checksum '7BE5A555CEC5C21DFE5E4BDD4F2C171D'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\es\Microsoft.Data.OData.resources.dll'
  with checksum 'F8DA1365BAF4D39ED7A10E8AF11649ED'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\es\System.Spatial.resources.dll'
  with checksum '2BCB8688F7258358535C096ACF723FF6'
2018-01-09 19:51:01,273 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\fr\Microsoft.Data.Edm.resources.dll'
  with checksum 'C1835237B9B73888CE388E18C83FCE71'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\fr\Microsoft.Data.OData.resources.dll'
  with checksum '6368EC654382B35D487A2A8BC0738FD1'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\fr\System.Spatial.resources.dll'
  with checksum '200745A3D4D3E288140F8D43C22B8466'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\it\Microsoft.Data.Edm.resources.dll'
  with checksum '20930D0CD82471C8FC4EBE97DD1CCE16'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\it\Microsoft.Data.OData.resources.dll'
  with checksum 'FD66A41F43E6D4A5881FFD914ADEE8E6'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\it\System.Spatial.resources.dll'
  with checksum '7D78FF448B137B8598D955F63E070F16'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ja\Microsoft.Data.Edm.resources.dll'
  with checksum '7C43ABC6C0E2FC2236DF92F1E3F20A8A'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ja\Microsoft.Data.OData.resources.dll'
  with checksum '8E56DB7C91909E62C7EB0DFD204CF70A'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ja\System.Spatial.resources.dll'
  with checksum 'BDFED17359345771C1515B69F0AB30E3'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ko\Microsoft.Data.Edm.resources.dll'
  with checksum '77115B1AF8D299AC7A5ABFDC419C10C4'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ko\Microsoft.Data.OData.resources.dll'
  with checksum '3F4237AFD30B3457D00698F7309C2493'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ko\System.Spatial.resources.dll'
  with checksum 'D1CDBF97C3475315B5E0E2066BAD8837'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ru\Microsoft.Data.Edm.resources.dll'
  with checksum 'E8C2DC68436867E7A078083780757F29'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ru\Microsoft.Data.OData.resources.dll'
  with checksum 'D1EE9A5EDB99F9CCDA2B84852DB553D4'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\ru\System.Spatial.resources.dll'
  with checksum '7C502E7808DD5C752CBF942FCB33CE23'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\zh-Hans\Microsoft.Data.Edm.resources.dll'
  with checksum 'B5FEB15B47ECB4E6DCA0A9EC25591ADD'
2018-01-09 19:51:01,289 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\zh-Hans\Microsoft.Data.OData.resources.dll'
  with checksum 'F097838FAA78F80A15625D470EFBBA2F'
2018-01-09 19:51:01,305 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\zh-Hans\System.Spatial.resources.dll'
  with checksum 'F66BC6C12E907750B28CA64D6E5CFE01'
2018-01-09 19:51:01,305 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\zh-Hant\Microsoft.Data.Edm.resources.dll'
  with checksum '67230955895FD2AA4CDD692BF5620CF9'
2018-01-09 19:51:01,305 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\zh-Hant\Microsoft.Data.OData.resources.dll'
  with checksum 'DD612956FB8FA1D17AA82CD920BB4E5B'
2018-01-09 19:51:01,305 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\zh-Hant\System.Spatial.resources.dll'
  with checksum '8E6834B669C4E8E47E020B36A01F925D'
2018-01-09 19:51:01,305 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Content\images\chocolatey.png'
  with checksum 'BCD6B28B15D90B44DA562B69F04BFFE0'
2018-01-09 19:51:01,305 492 [DEBUG] -  Found 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Content\images\MarksUsePolicy.pdf'
  with checksum 'E7C0A980A8DD520512A54A07495018C7'
2018-01-09 19:51:01,305 492 [DEBUG] - Attempting to create directory "C:\ProgramData\chocolatey\.chocolatey\chocolatey.server.0.2.1".
2018-01-09 19:51:01,305 492 [DEBUG] - There was no original file at 'C:\ProgramData\chocolatey\.chocolatey\chocolatey.server.0.2.1\.files'
2018-01-09 19:51:01,305 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey.server.0.2.1\.extra".
2018-01-09 19:51:01,305 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey.server.0.2.1\.version".
2018-01-09 19:51:01,305 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey.server.0.2.1\.sxs".
2018-01-09 19:51:01,305 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\.chocolatey\chocolatey.server.0.2.1\.pin".
2018-01-09 19:51:01,305 492 [DEBUG] - Sending message 'HandlePackageResultCompletedMessage' out if there are subscribers...
2018-01-09 19:51:01,305 492 [DEBUG] - Attempting to delete file "C:\ProgramData\chocolatey\lib\chocolatey.server\.chocolateyPending".
2018-01-09 19:51:01,305 492 [INFO ] -  The install of chocolatey.server was successful.
2018-01-09 19:51:01,305 492 [INFO ] -   Software installed to 'C:\tools\chocolatey.server'
2018-01-09 19:51:01,305 492 [DEBUG] - Attempting to delete file "C:\Users\TESTUSER\AppData\Local\NuGet\Cache\chocolatey.server.0.2.1.nupkg".
2018-01-09 19:51:01,336 492 [WARN ] - 
Chocolatey installed 2/2 packages. 
ferventcoder commented 6 years ago

It looks like a bug in Chocolatey actually - a double transform, where the first corrupts the file and the second can't make changes:

Preparing transform for 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Web.config.install.xdt'
Transforming 'Web.config' with the data from 'Web.config.install.xdt'
Transform applied successfully for 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\Web.config'

Preparing transform for 'C:\ProgramData\chocolatey\lib\chocolatey.server\tools\chocolatey.server\bin\Web.config.install.xdt'
Transforming 'Web.config' with the data from 'Web.config.install.xdt'
[ERROR] - Error transforming config file:
 Data at the root level is invalid. Line 230, position 17.
gep13 commented 2 years ago

I have just completed a fresh installation of the upcoming release of chocolatey.server, and I am not seeing this problem.

The chocolatey.server package was successfully installed, and the site up and running.

With that in mind, I am going to close this issue, but please feel free to comment again if you feel that this is still a problem.