In that case, something is definitely wrong. Uninstall should work from any install location without your intervention.
You had said that we were both doing the same thing, but your directory table is not the same as mine. You have: > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="ProgramFilesFolder" Name="PFiles"> > <Directory Id="INSTALLDIR" Name="."> > <Directory Id="MyApp" Name=" myappname "> > < File ......... /> > </Directory> > </Directory> > </Directory> > </Directory> I have: > <Directory Id="TARGETDIR" Name="SourceDir"> > <Directory Id="ProgramFilesFolder" Name="Program Files"> > <Directory Id="MyAppFolder" Name="myappname"> > <Directory Id="INSTALLDIR /> > </Directory> > </Directory> > </Directory> Notice that your INSTALLDIR is nested *above* the MyApp folder, and also has a Name attribute. I've never seen this done, and it might be messing with the uninstall. It almost seems like you're defining INSTALLDIR as the Program Files folder. Maybe it's valid... I'm not sure. But you definitely shouldn't have to "tell" Windows Installer where your components were installed in order to remove them. -kevin On Nov 25, 2008, at 2:20 AM, Jianjun An (Person Consulting) wrote: > > The problem is my MSI cannot remove the components if user changed > default install path which I did not save it into registry. > > The context about this problem is in the attachment. > > Thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users