Benjamin-Loison / chocolatey-packages

Chocolatey Community Maintainers Team Packages - packages that are managed and maintained by core community team for community package repository (https://community.chocolatey.org/packages)
https://community.chocolatey.org/profiles/chocolatey-community
Apache License 2.0
0 stars 0 forks source link

`choco install wamp-server` failed #5

Open Benjamin-Loison opened 2 months ago

Benjamin-Loison commented 2 months ago

Chocolatey Version

2.2.2

Chocolatey License

None

Package Version

Not read.

Current Behaviour

In the context of https://github.com/Benjamin-Loison/YouTube-operational-API/issues/267#issuecomment-2052245776

Screenshot 2024-04-12 195625

After clicking OK get:

choco install wamp-server
Chocolatey v2.2.2
3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).

Validation Warnings:
 - System Cache directory is not locked down to administrators.
   Remove the directory 'C:\ProgramData\ChocolateyHttpCache' to have
   Chocolatey CLI create it with the proper permissions.

Installing the following packages:
wamp-server
By installing, you accept licenses for the packages.
Progress: Downloading autohotkey.portable 2.0.11... 100%

autohotkey.portable v2.0.11 [Approved]
autohotkey.portable package files install completed. Performing other installation steps.
The package autohotkey.portable wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): A

Extracting C:\ProgramData\chocolatey\lib\autohotkey.portable\tools\AutoHotkey_2.0.11.zip to C:\ProgramData\chocolatey\lib\autohotkey.portable\tools...
C:\ProgramData\chocolatey\lib\autohotkey.portable\tools
Removing ANSI-32 version
 ShimGen has successfully created a shim for AutoHotkey.exe
 The install of autohotkey.portable was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\autohotkey.portable\tools'
Progress: Downloading vcredist2013 12.0.40660.20180427... 100%

vcredist2013 v12.0.40660.20180427 [Approved]
vcredist2013 package files install completed. Performing other installation steps.
Downloading vcredist2013 64 bit
  from 'https://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x64.exe'
Progress: 100% - Completed download of C:\Users\Benjamin Loison\AppData\Local\Temp\chocolatey\vcredist2013\12.0.40660.20180427\vcredist_x64.exe (6.87 MB).
Download of vcredist_x64.exe (6.87 MB) completed.
Hashes match.
Installing vcredist2013...
vcredist2013 has been installed.
Downloading vcredist2013
  from 'https://download.microsoft.com/download/0/5/6/056dcda9-d667-4e27-8001-8a0c6971d6b1/vcredist_x86.exe'
Progress: 100% - Completed download of C:\Users\Benjamin Loison\AppData\Local\Temp\chocolatey\vcredist2013\12.0.40660.20180427\vcredist_x86.exe (6.21 MB).
Download of vcredist_x86.exe (6.21 MB) completed.
Hashes match.
Installing vcredist2013...
vcredist2013 has been installed.
  vcredist2013 may be able to be automatically uninstalled.
 The install of vcredist2013 was successful.
  Software installed as 'exe', install location is likely default.
Progress: Downloading wamp-server 3.3.2... 100%

wamp-server v3.3.2 [Approved]
wamp-server package files install completed. Performing other installation steps.
WARNING: Url has SSL/TLS available, switching to HTTPS for download
Downloading wamp-server 64 bit
  from 'https://wampserver.aviatechno.net/files/install/wampserver3.3.2_x64.exe'
Progress: 100% - Completed download of C:\Users\Benjamin Loison\AppData\Local\Temp\chocolatey\wamp-server\3.3.2\wampserver3.3.2_x64.exe (320.09 MB).
Download of wampserver3.3.2_x64.exe (320.09 MB) completed.
Hashes match.
Installing wamp-server...
ERROR: Running ["C:\Users\Benjamin Loison\AppData\Local\Temp\chocolatey\wamp-server\3.3.2\wampserver3.3.2_x64.exe" /DIR="C:\wamp" /VERYSILENT /SUPPRESSMSGBOXES ] was not successful. Exit code was '1'. See log for possible error messages.
The install of wamp-server was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\wamp-server\tools\chocolateyInstall.ps1'.
 See log for details.

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

Failures
 - wamp-server (exited 1) - Error while running 'C:\ProgramData\chocolatey\lib\wamp-server\tools\chocolateyInstall.ps1'.
 See log for details.

Expected Behaviour

No response

Steps To Reproduce

Not read.

Environment

- Operating System:
- PowerShell Version:
- Shell:

Chocolatey Log

Not read.

Anything else?

No response

Benjamin-Loison commented 2 months ago

Same issue on my Pegasus Ubuntu Windows (trust) VirtualBox virtual machine which was not having any WampServer installed.

Benjamin-Loison commented 2 months ago

Same issue when considering https://sourceforge.net/projects/wampserver/files/latest/download.

Benjamin-Loison commented 2 months ago

Best way to install Visual C++ Redistributable Packages on https://wampserver.aviatechno.net/ solves this issue.