View Full Version : Process Uninstall Queue
NewsArchive
03-29-2009, 12:12 AM
Hi Friedrich,
is it possible to figure out, which directories, registry keys and so on
the "prcoess uninstall queue" could not remove (for example because
there are user files)?
Thank you in advance.
Markus
NewsArchive
03-29-2009, 12:12 AM
Hi Markus,
> is it possible to figure out, which directories, registry keys and so on
> the "prcoess uninstall queue" could not remove (for example because there
> are user files)?
No, this is not possible.
What you can do is to use the "Check In-use Folder Tree..." in a custom
uninstall script to find out (e.g. before calling "Process Uninstall Queue")
if there are locked files in a specific folder tree. Based on this, you can
abort the uninstall if there are locked files.
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
03-29-2009, 12:13 AM
Hi Friedrich,
there are no locked files. But the unistaller does not remove folders
with files which was not installed. For example log files, data backups,
....
What I want to do is to display a message like this one:
==============================
Die nachfolgenden Ordner wurden nicht entfernt, da sie Dateien
enthalten, die nicht zur ursprünglichen Installation gehören. Bitte
prüfen Sie, ob diese Dateien noch benötigt werden und löschen Sie den
Ordner ggfs. manuell.
C:\AIDAOrga\AIDA6\Infostd
C:\AIDAOrga\AIDA6\Protokolle
C:\ADASI
=============================
Markus Zander
NewsArchive
03-29-2009, 12:13 AM
Hi Markus,
> there are no locked files. But the unistaller does not remove folders with
> files which was not installed. For example log files, data backups, ....
>
> What I want to do is to display a message like this one:
>
> ==============================
> Die nachfolgenden Ordner wurden nicht entfernt, da sie Dateien enthalten,
> die nicht zur ursprünglichen Installation gehören. Bitte prüfen Sie, ob
> diese Dateien noch benötigt werden und löschen Sie den Ordner ggfs.
> manuell.
>
> C:\AIDAOrga\AIDA6\Infostd
> C:\AIDAOrga\AIDA6\Protokolle
> C:\ADASI
> =============================
No problem. You can handle the above *after* processing the uninstall queue
in the custom uninstall. For example, check if specific folders are still
there (using "If/File Folder exists"). You can "count" how many files are
in a folder-tree (using "Handle File Listing").
If you have detected files/folders, display your above message. You can
even offer to ZIP the folder tree for the customer during the uninstall.
Does this help?
Friedrich
--
Friedrich Linder
Lindersoft
www.lindersoft.com
+1.954.252.3910
SetupBuilder "point. click. ship"
Create Windows Vista ready installations in minutes
-- Official Comodo Code Signing and SSL Certificate Partner
NewsArchive
03-29-2009, 12:14 AM
So I have to check every single folder created by my install script
manually. Not really nice, but this is life. I have to accept it.
Although thank you very much for your help.
Markus
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.