3

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 Answer 1

4

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.

4
  • Here is the registry MSDN reference: msdn.microsoft.com/en-us/library/… Aug 29, 2017 at 14:56
  • But now i facing this error while installing xampp,
    – Gogul Raja
    Sep 1, 2017 at 5:59
  • 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
    – Gogul Raja
    Sep 1, 2017 at 5:59
  • Have you checked the registry? Are you starting powershell "As Administrator"? Open powershell as admin and then execute the script. Are you installing to 'C:\Program Files (x86)' or something else? Try to install to some custom directory like for e.g. 'C:/xampp' and make sure you add all permissions to that directory. Sep 1, 2017 at 8:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.