riezebosch / boxstarterpackages Goto Github PK
View Code? Open in Web Editor NEWMy wrongly named chocolatey packages repository. See the url for the AU results.
Home Page: https://gist.github.com/riezebosch/78af415724ed3724701f732956900b2b
My wrongly named chocolatey packages repository. See the url for the AU results.
Home Page: https://gist.github.com/riezebosch/78af415724ed3724701f732956900b2b
The latest package logic a90bd98 evaluates to a non-existent link for the 32bit installer http://dl.eviware.com/soapuios/5.7.0/SoapUI-x32-5.7.0.exe.
This is because the final version of the SoapUI 32 bit installer appears to be 5.5.0.
Would it be possible to remove the logic for the 32 bit install from the package as this will fail on 32 bit Windows OS and also causes the Package Internalizer (Chocolatey for Business Feature - C4B) to fail.
Thanks
ODN
# Error from package Internalization
soapui v5.7.0.20220304 [Approved]
Found internalizable Chocolatey functions. Inspecting values for remote resources.
Found 'http://dl.eviware.com/soapuios/5.7.0/SoapUI-x64-5.7.0.exe' for replacement.
Encountered error downloading package soapui v:
System.Exception: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'http://dl.eviware.com/soapuios/5.7.0/SoapUI-x32-5.7.0.exe'.
The remote server returned an error: (404) Not Found.
at chocolatey.licensed.infrastructure.app.commandresources.RemoteDownloader.download_file(String url, String filePath, String userAgent, Boolean showProgress)
The Internalizer processes a Chocolatey package, downloading any remote downloads referenced by chocolateyInstall.ps1, downloading and embeding them into the package, the Package logic is then updated to use these embedded payloads.
Both 2.5.0.0 and 2.5.0.1 have failed the automatic verification tests on Chocolatey and therefore are unavailable for use without manual intervention.
I need packages for LTS 1.1.4. I suggest a branch from the last 1.1.2 changes and a PR just for reviewing. If it's OK, you can pull the branch over and build & publish the LTS packages from there.
https://www.microsoft.com/net/download/windows
Attempting to install this with or without using the path environment param, fails with the following:
Error: Execution of 'C:\ProgramData\chocolatey\choco.exe install docker-toolbox -y "ia /TASKS=\"desktopicon\"" --ignore-package-exit-codes' returned 1: Chocolatey v0.10.11
Installing the following packages:
docker-toolbox;"ia /TASKS=\desktopicon\"
By installing you accept licenses for the packages.
Progress: Downloading docker-toolbox 18.09.1... 100%
docker-toolbox v18.09.1
docker-toolbox package files install completed. Performing other installation steps.
Downloading docker-toolbox
from 'https://github.com/docker/toolbox/releases/download/v18.09.1/DockerToolbox-18.09.1.exe'
Progress: 100% - Completed download of C:\Users\Administrator\AppData\Local\Temp\2\chocolatey\docker-toolbox\18.09.1\DockerToolbox-18.09.1.exe (216.19 MB).
Download of DockerToolbox-18.09.1.exe (216.19 MB) completed.
Hashes match.
Installing docker-toolbox...
docker-toolbox has been installed.
docker-toolbox can be automatically uninstalled.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type `refreshenv`).
The install of docker-toolbox was successful.
Software installed to 'C:\Program Files\Docker Toolbox\'
Illegal characters in path.
Here are what the paths look like before and after:
Before:
C:\Program Files\Java\jdk1.8.0_131\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files\Puppet Labs\Puppet\bin;C:\Program Files\Java\jdk1.8.0_131\bin;C:\tools\cygwin\bin;C:\Program Files\Git\cmd;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;
After:
C:\Program Files\Java\jdk1.8.0_131\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin;C:\Program Files\Puppet Labs\Puppet\bin;C:\Program Files\Java\jdk1.8.0_131\bin;C:\tools\cygwin\bin;C:\Program Files\Git\cmd;C:\Users\Administrator\AppData\Local\Microsoft\WindowsApps;;C:\Program Files\Docker Toolbox
Notice the additional ;
added
SqlLocalDB seems to be up to v14.1805.4072.1, so the current version (14.0.1000.169) needs to be updated.
Finding the direct download URL of SqlLocalDB.msi is hard. I'm not having any luck with Fiddler, otherwise I'd submit a PR to update the URL and checksum.
I got an update message for the Docker 4 Windows Beta, now 1.13.0-rc3 9266
Don't have a Windows machine at hand to update and send a PR.
It would be nice to have packageSourceUrl added to the nuspec
files so that there is a link from the Chocolatey Package site to this repository.
I installed docker-desktop
, but I get the following errors:
Failures
- install - install not installed. The package was not found with the source(s) listed.
Source(s): 'https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.
- choco - choco not installed. The package was not found with the source(s) listed.
Source(s): 'https://chocolatey.org/api/v2/'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
the package may not be found.
Please see https://chocolatey.org/docs/troubleshooting for more
assistance.
Please embed SoapUI binary into the package since itβs open source.
When trying to install Docker Desktop 3.6.0 it fails with a checksum error:
Error - hashes do not match. Actual value was '8F36A5B306442D03A87BB80A492558C81902FDABE497AF44A39CA07C161C60A5'.
ERROR: Checksum for 'C:\Users\PascalBerger\AppData\Local\Temp\chocolatey\docker-desktop\3.6.0\Docker Desktop Installer.exe' did not meet '0c9f8af8c11dc6d2b6112cf3a8def1a0ea377b54ff0950a7131f185b12313b82' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
The upgrade of docker-desktop was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\docker-desktop\tools\chocolateyinstall.ps1'.
See log for details.
The sources are different. Currently x32 gets from the eviware site, whereas x64 goes direct to an AWS S3 bucket.
If you're behind a proxy, that would mean whitelisting s3.amazonaws.com.... which is a pretty large one.
The package is on eviware too, so we should be consistent. PR to follow
There seems to be a new version of the Docker Desktop package 2.0.0.0-win81 (Build 29211) available (I get notified through Docker in-app update.
Also it seems like there are multiple versions of Docker Deskotp 2.0.0.0 (2.0.0.0-win78
and 2.0.0.0-win81
). It would be nice if the Chocolatey package could be updated for every of these version (But 2.0.0.0-win78
would not be a good version number as this would imply a pre-release)
The code here is updated for sqllocaldb 2019, but the https://community.chocolatey.org/packages/sqllocaldb is a broken 2017 version.
Chances of a rebuild/publish/push or whatever to choco?
SQL Server cannot be installed into a folder that is NTFS compressed. An error that occurs is this:
The specified directory, "C:\Program Files\Microsoft SQL Server\", for the INSTALLSHAREDDIR parameter is not valid because this directory is compressed or is in a compressed directory. Specify a directory that is not compressed.
. Please add a check to the installer powershell script to check if the directory being installed in is a compressed folder or not, and then fail the installation but request that the user first switch off NTFS compression for "C:\Program Files\Microsoft SQL Server" or the relevant 32 bit path.
It's apparently possible to use the
compact.exe
to show whether a folder is compressed or not. Usecompact /q 'C:\Program Files\Microsoft SQL Server\'
There's a line that tells you whether new files will be compressed or not.
Hi @riezebosch,
I really appretiate your work on the docker-for-windows choco package.
With the latest update of the Docker for Windows product it has been renamed to Docker Desktop 2.0.0.0.
What are your plans to continue
I'm in contact with @gep13 to find out a reasonable way for the community to install the latest version.
My current ideas:
I would love to hear what you think about that and that we find a way that works best for all.
Hi! Huge thanks for publishing the docker-desktop
package!
I have an issue with it. Seems like my Docker has automatically upgraded itself and now choco upgrade all
command fails because of it.
See log output here: https://gist.github.com/and-semakin/40ca6b750ba9fe5582b04550d96ed6f0
I understand that I should probably disable this auto-update feature and let choco
manage it for me, but it's turned on by default and I didn't even notice how it upgraded itself (probably it asked and I just pressed ok). Is this an expected behavior? Shouldn't install script exit with success code if such situation appears?
Please add an optional option to include it.
According to the official download page, the current checksum is:
65d962a94ddfd0018ecceadb06c870c0ffdf6b6748aee31cacd8c087efe4743a Docker for Windows Installer.exe
Your code has it listed as:
checksum = 'C9CA352161A94A21A5D2763781C82585A0DFFEF0AF9F367EF544213BD3C91346'
Perhaps it would be better to replace that line with:
checksum = (Invoke-WebRequest https://download.docker.com/win/edge/Docker%20for%20Windows%20Installer.exe.sha256sum).Content.Split(' ')[0]
Hello,
Currently sql-server-express cannot be upgraded.
Because the service run in background, the install script fail, and in the logfile i can read "Instance name 'SQLEXPRESS' is already in use. To continue, specify a unique instance name.".
By reading the docs, it looks like it's feasible to ugprade, but i need to look more into this:
https://docs.microsoft.com/en-us/sql/database-engine/install-windows/upgrade-to-a-different-edition-of-sql-server-setup?view=sql-server-ver15
If you don't plan to support upgrade, it would be nice to add a log in the console to say that it need manual upgrade.
Thanks for your work on this amazing tool.
I was using this package via ssh and Windows Server 2019 Core. So, no Desktop GUI, total pwsh command prompt only.
Installed works great. On uninstall, however, Choco would hang. Took a while to figure out the uninstall was calling a GUI Window that depending on the user clicking a button. This GUI would only appear when RDP into the host.
It is possible to do a sql server uninstall without a gui. Comparing these lines might help:
Compared to another package for SQL Server Developer:
https://github.com/flcdrg/au-packages/blob/master/sql-server-2019/tools/chocolateyuninstall.ps1#L5
I didn't dig fully into it, but the key looks like it may lie in not using 'SetupARP.exe' and instead using 'Setup.exe' with the flags on line 11:
https://github.com/flcdrg/au-packages/blob/master/sql-server-2019/tools/chocolateyuninstall.ps1#L11
Thank you again.
Making a PR as we speak
This is a heads up that new versions of Docker Desktop are available at desktop.docker.com and therefore all new links or auto update script should look there.
Eg. this line https://github.com/riezebosch/BoxstarterPackages/blob/master/docker-desktop/Update.ps1#L13 should be updated to avoid missing new updates in the future.
Recently (yesterday) the ChocolateyUninstall scripts were updated for for MsSqlServer2014Express and MsSqlServerManagementStudio2014Express.
Can you please let me know by when can we expect these updated scripts to be reflected in Chocolatey packages?
For example, I am seeing the older Uninstall file in https://chocolatey.org/packages/MsSqlServer2014Express. Just wanted to check if it will take more time.
Thanks in advance.
I haven't looked at the other installers yet, but both the install and uninstall scripts in BoxstarterPackages/MsSqlServer2014Express/tools/ download a hefty installer as the first step. Since the installer URL is hardcoded, I'm assuming this installer won't change between installs of the same version of this package. It should be possible to get a checksum of the installer and use this to skip download if a valid file is already present on disk, as well as to verify integrity when performing the download.
This would be useful for people using the package from puppet manifests like I am.
I try to install a VM on Azure DevTestLab using the Artifact windows-run-powershell
Basically, it launch a powershell script that invokes chocolatey (I know there is a chocolatey artifact, but we still have some W2008R2 environment, with powershell v2 only, hence the need for a custom script)
Anyway, the install fails.
Here is the summary log file :
`2017-02-03 18:23:25,874 [INFO ] - ============================================================
2017-02-03 18:23:25,874 [INFO ] - Chocolatey v0.10.3
2017-02-03 18:23:26,014 [INFO ] - Installing the following packages:
2017-02-03 18:23:26,014 [INFO ] - MsSqlServer2014Express
2017-02-03 18:23:26,014 [INFO ] - By installing you accept licenses for the packages.
2017-02-03 18:23:27,680 [INFO ] -
MsSqlServer2014Express v12.2.5000.20160811 (forced) [Approved]
2017-02-03 18:23:27,695 [INFO ] - mssqlserver2014express package files install completed. Performing other installation steps.
2017-02-03 18:23:28,133 [INFO ] - VERBOSE: Loading module from path 'C:\ProgramData\chocolatey\extensions\chocolatey-core\chocolatey-core.psm1'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2017-02-03 18:23:28,195 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Format-FileSize'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-ChecksumValid'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyUnzip'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-ChocolateyWebFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariable'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-EnvironmentVariableNames'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-FtpFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-OSArchitectureWidth'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-ToolsLocation'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-UACEnabled'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-UninstallRegistryKey'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-VirusCheckValid'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-WebFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-WebFileName'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-WebHeaders'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-BinFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyDesktopLink'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyEnvironmentVariable'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyExplorerMenuItem'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyFileAssociation'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyInstallPackage'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPackage'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPath'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPinnedTaskBarItem'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyPowershellCommand'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyShortcut'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyVsixPackage'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-ChocolateyZipPackage'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Install-Vsix'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Set-EnvironmentVariable'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Set-PowerShellExitCode'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Start-ChocolateyProcessAsAdmin'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Test-ProcessAdminRights'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Uninstall-BinFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyPackage'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Uninstall-ChocolateyZipPackage'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Update-SessionEnvironment'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateyFailure'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Write-ChocolateySuccess'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Write-FileUpdateLog'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Write-FunctionCallLogMessage'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-AppInstallLocation'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-PackageCacheLocation'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-PackageParameters'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Get-WebContent'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting function 'Register-Application'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'Get-ProcessorBits'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'Get-OSBitness'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'Get-InstallRegistryKey'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'Generate-BinFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'Add-BinFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'Start-ChocolateyProcess'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'Invoke-ChocolateyProcess'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'Remove-BinFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Exporting alias 'refreshenv'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Format-FileSize'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-AppInstallLocation'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-ChecksumValid'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyUnzip'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-ChocolateyWebFile'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariable'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-EnvironmentVariableNames'.
2017-02-03 18:23:28,211 [INFO ] - VERBOSE: Importing function 'Get-FtpFile'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-OSArchitectureWidth'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-PackageCacheLocation'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-PackageParameters'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-ToolsLocation'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-UACEnabled'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-UninstallRegistryKey'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-VirusCheckValid'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-WebContent'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-WebFile'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-WebFileName'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Get-WebHeaders'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-BinFile'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyDesktopLink'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyEnvironmentVariable'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyExplorerMenuItem'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyFileAssociation'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyInstallPackage'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPackage'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPath'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPinnedTaskBarItem'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyPowershellCommand'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyShortcut'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyVsixPackage'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-ChocolateyZipPackage'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Install-Vsix'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Register-Application'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Set-EnvironmentVariable'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Set-PowerShellExitCode'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Start-ChocolateyProcessAsAdmin'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Test-ProcessAdminRights'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Uninstall-BinFile'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyEnvironmentVariable'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyPackage'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Uninstall-ChocolateyZipPackage'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Update-SessionEnvironment'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Write-ChocolateyFailure'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Write-ChocolateySuccess'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Write-FileUpdateLog'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing function 'Write-FunctionCallLogMessage'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'Add-BinFile'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'Generate-BinFile'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'Get-InstallRegistryKey'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'Get-OSBitness'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'Get-ProcessorBits'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'Invoke-ChocolateyProcess'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'refreshenv'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'Remove-BinFile'.
2017-02-03 18:23:28,226 [INFO ] - VERBOSE: Importing alias 'Start-ChocolateyProcess'.
2017-02-03 18:23:29,611 [INFO ] - Attempt to get headers for https://download.microsoft.com/download/2/A/5/2A5260C3-4143-47D8-9823-E91BB0121F94/SQLEXPR_x64_ENU.exe failed.
The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://download.microsoft.com/download/2/A/5/2A5260C3-4143-47D8-9823-E91BB0121F94/SQLEXPR_x64_ENU.exe'. Exception calling "GetResponse" with "0" argument(s): "The request was aborted: Could not create SSL/TLS secure channel."
2017-02-03 18:23:29,611 [INFO ] -
2017-02-03 18:23:29,628 [INFO ] - Downloading MsSqlServer2014Express 64 bit
2017-02-03 18:23:29,628 [INFO ] -
2017-02-03 18:23:37,919 [INFO ] -
2017-02-03 18:23:37,919 [INFO ] - Download of SQLEXPR.exe (311.73 MB) completed.
2017-02-03 18:23:37,919 [INFO ] -
2017-02-03 18:23:43,894 [INFO ] - C:\Windows\TEMP\chocolatey\chocolatey\MsSqlServer2014Express\SQLEXPR.exe
2017-02-03 18:23:43,894 [INFO ] - Extracting...
2017-02-03 18:23:43,894 [INFO ] -
2017-02-03 18:23:45,303 [INFO ] - Installing...
2017-02-03 18:23:45,953 [INFO ] -
2017-02-03 18:23:45,969 [INFO ] - Installing MsSqlServer2014Express...
2017-02-03 18:23:45,969 [INFO ] -
2017-02-03 18:23:46,000 [WARN ] - WARNING: Unable to generate 'C:\Windows\TEMP\chocolatey\chocolatey\MsSqlServer2014Express\SQLEXPR\setup.exe.ignore'
2017-02-03 18:23:46,031 [WARN ] - WARNING: May not be able to find 'C:\Windows\TEMP\chocolatey\chocolatey\MsSqlServer2014Express\SQLEXPR\setup.exe'. Please use full path for executables.
2017-02-03 18:23:46,078 [ERROR] - ERROR: Exception calling "Start" with "0" argument(s): "The directory name is invalid"
2017-02-03 18:23:46,203 [ERROR] - The install of mssqlserver2014express was NOT successful.
2017-02-03 18:23:46,203 [ERROR] - Error while running 'C:\ProgramData\chocolatey\lib\MsSqlServer2014Express\tools\ChocolateyInstall.ps1'.
See log for details.
2017-02-03 18:23:48,229 [WARN ] -
Chocolatey installed 0/1 packages. 1 packages failed.
`
It seems that the line Start-Process "$fileFullPath" "/Q /x:
"$extractPath"" -Wait
does not do its job, but the hell if I understand why.
When ran in interactive mode, the installation performs flawlessly.
A quick search showed I am not the only one with this issue : See on ServerFault
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.