我在 Windows 上通过 PowerShell 脚本安装 XAMPP 时遇到以下问题:
Important! Because an activated User Account Control (UAC) on your system some functions of XAMPP are possibly restricted. With UAC please avoid to install XAMPP to C:\Program Files (x86) (missing write permisssions). Or deactivate UAC with msconfig after this setup. Error copying file from packed archive C:/xampp-win32-5.6.30-0-VC11-installer.exe to C:/xampp/service.exe Abort There has been an error. Unable to copy file
我已经从 Jenkins 执行了 PowerShell 脚本。
我也禁用了 UAC,但我仍然面临同样的问题。我该如何解决?
最佳答案
很可能 UAC 没有被有效禁用。尝试编辑此注册表项:
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
设置
EnableLUA
到
0x00000000
还要确保以管理员身份运行所有内容。
关于php - 在 Windows Server 2012 R2 上安装 XAMPP 时出现 UAC "missing write permissions"错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45941819/