2
votes

I am facing the following issue while installing XAMPP through a PowerShell script on Windows:

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

I have executed the PowerShell script from Jenkins.

I have alsoe disabled UAC, but still I am facing the same issue. How can I solve it?

1

1 Answers

3
votes

Most probably UAC has not been effectively disabled. Try to edit this registry key:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Set

EnableLUA

to

0x00000000

Also make sure you run everything as an Administrator.