I’ve been asked to get rollback working with an bitrock script I inherited. It was disabled.
I enabled rollback. Locked one file manually so that I get an unpacking error. When the error occurs, I get the following message ‘ Error copying file from packed archive’ . I also notice that the rollback directory was created. So far, so good.
I click abort to the error dialog. I get a dialog saying ‘ There has been an error. Unable to copy file. The application will exit now.’ . I click OK (the only button available).
The rollback does not occur. Files which were unpacked before the error are there. Files which were not are not. The rollback directory shows all the correct files. The output log ends with two lines of
‘ File is locked. Failed to overwrite ‘
so basically, the rollback created the rollback directory, but the installation completely aborted without any rollback occurring.
I notice that abortOnError is set to 1. Would this override rollback causing the rollback not to occur?
Or maybe it has something to do with the installationAbortedActionList?
I am using bitrock version 8.6.0
Anyone have any suggestions?
I have some more information. The error which should trigger the rollback is because a file is locked. I’ve locked the file deliberately in order to simulate a customer error where the file is locked causing the installation to fail.
I added ‘ <restorerollback/>’ to <installationabortedactionlist>. It now appears that the rollback starts, but gets to the locked file and aborts.
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?
Chris
123k93 gold badges269 silver badges248 bronze badges
asked Aug 29, 2017 at 14:32
Most probably UAC has not been effectively disabled. Try to edit this registry key:
HKLMSOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
Set
EnableLUA
to
0x00000000
Also make sure you run everything as an Administrator.
answered Aug 29, 2017 at 14:54
Maciej JureczkoMaciej Jureczko
1,5406 gold badges19 silver badges23 bronze badges
4
-
#1
Getting an «Error copying file from packed archive» message when trying to install lightroom presets.
It says that some destinations are «unwritable», even though I have admin rights?
Sorry, how to get this to install? (new to windows).
Attachments
-
Screenshot (2).png
1 MB
· Views: 949
-
#2
Run the installer «as administrator».
-
#3
Run the installer «as administrator».
This is good advice when installing any of your programs.
I ran di :
Filesystem Mount Size Used Avail %Used fs Type
rootfs / 322.5M 322.5M 0.0M 100% rootfs
/dev/disk/by-uuid/ / 322.5M 322.5M 0.0M 100% ext4
udev /dev 10.0M 0.0M 10.0M 0% devtmpfs
/dev/sda9 /home 209.9G 12.1G 187.2G 11% ext4
tmpfs /run 383.7M 0.7M 383.0M 0% tmpfs
tmpfs /run/lock 5.0M 0.0M 5.0M 0% tmpfs
tmpfs /run/shm 2.3G 0.0G 2.3G 0% tmpfs
/dev/sda8 /tmp 368.0M 10.1M 338.9M 8% ext4
/dev/sda5 /usr 8.2G 3.1G 4.7G 43% ext4
/dev/sda6 /var 2.7G 0.6G 2.0G 28% ext4
rootfs is 100% full! I ran
sudo apt-get autoclean
sudo apt-get autoremove
sudo dpkg -l|grep ^rc
sudo dpkg -l | grep ^rc | cut -d " " -f 3 | xargs dpkg --purge
still 100% full. I run the Xampp installer:
sudo ./xampp-linux-*-installer.run
and I get the error: «error copying from packed archive to /opt/lampp/ : insufficient disk space»
My guess is a partition is undersized, I ran gparted, and /dev/sda1 (flagged boot) is 330 of 333 MB full.
Now if any of you kind and patient folk can guide me to finding a solution, I would be most appreciative.