Cannot delete its own files on USB - Advanced Installer Community
MiroPospisek
Posts: 2
Joined: Thu Oct 17, 2013 2:22 pm

Cannot delete its own files on USB

When AI installs files on USB devices and there are files on USB, that are to be replaced, AI is unable to do it.
The installation proces never finishes and AIRecycleBin directory remains on the USB device.
We use AI 10.5.1.
Thanks for any recommendations, Miroslav
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Cannot delete its own files on USB

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I'm not sure why this happens. Can you try to isolate the behavior in a sample which always replicates the behavior and send it us to support at advancedinstaller dot com so we can investigate? Also, it will be useful if you can give us a detailed test case scenario which replicates the behavior.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
MiroPospisek
Posts: 2
Joined: Thu Oct 17, 2013 2:22 pm

Re: Cannot delete its own files on USB

I have send you files via www.uschovna.cz, expect mail from them.
Here is some more detail:

First installation on USB proceeds without any error.
But when installing on same USB again, some files seem to be “locked up”, installation cannot overwrite them though there are no permission or open files (we are positive)
There is no similar error when installing on fixed drive, error occurs on USB only
We added folder and file removal before file copy is started, but there are still errors we cannot resolve.
Using debug during install we can see that files are moved to temp folder for further deletion, but installer is somehow “convinced” it cannot overwrite these files
USB is FAT32 – not permissions, nothing special, just files
When we delete whole the USB drive, installation proceeds without an error

With regards, Miroslav

Return to “Common Problems”