1. RemoveFolder shouldn't be necessary. Usually the reason directories are left behind some files were left.
2. The problem with your registry keys is that you're saying to create the parent key but never to delete it. Instead of defining two Registry entries, try just using one to define the key and the value all at once. If you really want to use two keys change the Registry/@Action from "createKey" to "createKeyAndRemoveKeyOnUninstall". ________________________________________ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of erdi Sent: Sunday, June 25, 2006 4:16 AM To: [email protected] Subject: [WiX-users] Directories and registry keys not removed on uninstallation. Hello, I'm new to WiX. I've noticed that on uninstallation some directories and registry keys created during installation are not removed. For example: <Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='INSTALLDIR' Name='XSoft' LongName='XXXsoft'> <Directory Id='ADirectory' Name='A'> <Component Id=MyComponent' Guid='MYGUID-0163-11DB-92E3-0800200C9A66' DiskId='1'/> (some files) </Component> </Directory> </Directory> </Directory> Files are removed, but directories "XXXsoft" and "A" aren't removed. In tutorial there is a tag called "RemoveFolder" but I can't understand how to use it. The same situation is with registry keys: <Registry Id='SettingsHKLM' Root='HKLM' Key='Software\XXXsoft\A\Settings' Action='createKey'> <Registry Id='CatchDirHKLM' Name='CatchDir' Action='write' Type='string'/> </Registry> Here CatchDir key is removed but XXXsoft and A keys aren't. How to remove all stuff that was created on installation?? Could anybody help me:)?? Thanks Marcin "Erdi" Erdmann Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-users

