Hi! Thanks for the quick response!
I did a little test, if I remove the property declarations but supplied the input parameteras anyway it works on both install and uninstall! and I get no warning from "Light". I have to admit I have only worked with WIX a couple of weeks and I get a bit confused some time... and I'm doing a lot of trial and error... By the way, is there a way to ""manually" edit the uninstall information? I have after my tests a couple of installations on my PC that I cant uninstall due to my properties. /Hans <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Product Id="fe63c43d-9b05-4b78-9ab0-51afeac9c9f9" Name="A GDP Package" Language="1033" Version="1.0.0" Manufacturer="XXX" UpgradeCode="b7d5c8ed-60fe-4cab-83f7-4844f0a8cbc2"> <Package Description="This is a description" Comments="This is a comment." InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" /> <Feature Id="ImageFilesFeature" Title="Image Files" Level="1"> <ComponentRef Id="Component1" /> <ComponentRef Id="Component2" /> <ComponentRef Id="Component3" /> <ComponentRef Id="Component4" /> </Feature> <!--Feature Id="CategoryFilesFeature" Title="Category Files" Level="1"> <Condition> Level="0"><![CDATA[CATEGORY_PATH = "0"]]> </Condition> </Feature--> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="PACKAGE_PATH"> <Directory Id="Directory1" Name="MyCategory"> <Component Guid="eb6f7707-4363-41ee-a4b3-2da18aac6ba1" Id="Component1"> <File Id="File1" Name="MyCategory.p" Source="MyCategory.p" DiskId="1" /> </Component> </Directory> <Component Guid="809f077d-dc5b-48bd-a1c8-0fba694ccecf" Id="Component2"> <File Id="File2" Name="XMyCategory.xml" Source="XMyCategory.xml" DiskId="1" /> </Component> </Directory> <Directory Id="CATEGORY_PATH"> <Directory Id="Directory2" Name="MyCategory"> <Directory Id="Directory3" Name="RT90_2_5gonW"> <Component Guid="ce7e0ed5-5e76-4633-afa6-f1b9d558269e" Id="Component3"> <File Id="File3" Name="23j0f.ecw" Source="C:\Documents and Settings\haol\Desktop\test\23j0f.ecw" DiskId="1" /> <File Id="File4" Name="23j0g.ecw" Source="C:\Documents and Settings\haol\Desktop\test\23j0g.ecw" DiskId="1" /> </Component> </Directory> </Directory> </Directory> <Directory Id="Directory4" Name="Geodata"> <Directory Id="Directory5" Name="index"> <Directory Id="Directory6" Name="Sverige"> <Component Guid="e15d800d-24a3-4575-88b5-1dab17d5b388" Id="Component4"> <RemoveFile Id="File5" Name="*.ind" On="install" /> </Component> </Directory> </Directory> </Directory> </Directory> </Product> </Wix> The problem is that the properties don't get remembered, so they're never set on uninstall. You need to create components to write them into the registry on install. You can the use RegistrySearch to read the values on uninstall. Rob -- View this message in context: http://www.nabble.com/Problem-with-Uninstall-%28-or-problem-with-properties...%29-tf4029506.html#a11446428 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users