Tom

For files your installer places on the hard disk, the uninstall should 
remove them automatically unless they are still in use.  There should be 
no need for you to manually remove these files.  Directories are a 
different matter as the uninstall will not remove it if the directory is 
not empty.  This typically happens if the application generates its own 
files when running.  The uninstaller does not know anything about them 
and thus leaves both the files and the directory intact.

Run the uninstall from the command line using msiexec to get a verbose 
log and see what the log says.  It should give you a clue why the files 
are not removed.

Chris

-----Original Message-----
From: Tom Kazimiers [mailto:2voo...@gmx.de] 
Sent: Monday, July 27, 2009 04:07
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Uninstall Problem if installed on non system 
partition

Hi,

the installer I use is written with WiX 3 and everything works, except 
one little problem with the uninstallation process. If I don't change 
the default install location (which is on the system partition of
Windows) everything works as expected (everything gets removed on an 
uninstall). But if I use a different install location only some files 
get removed (in fact, only some sub folders with their content). Files 
that lie directly in the install location folder do not get removed.

Has anyone experienced such a problem before? If I compare both 
component declarations in the wix source, I see no fundamental 
differences that could cause this.

In other installers where sometimes <RemoveFile> and <RemoveDirectory> 
tags used.
When are they needed and when not?

Thanks in advance,
Tom


------------------------------------------------------------------------
------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to