Take a look at a verbose log file for uninstall.  It will show why the Windows 
Installer chose to do what it did.
-----Original Message-----
From: Brad Younie [mailto:[EMAIL PROTECTED]
Sent: Sunday, October 26, 2008 13:47
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] My files are not being removed on uninstall.

Hi Everyone,

I'm new to WiX, but I have an install for my product that works pretty well,
except for one thing: Most of my files are orphaned when uninstalled. I have
one directory full of files that uninstall perfectly fine, but the other
directories of files remain. I have set the KeyPath to "yes" for each
component, but they still remain.

Here is one of my components:



          <Directory Id='INSTALLDIR' Name='CastCall' LongName='Casting
Call'>

            <Component Id='MainExecutable'
Guid='8F6D773E-F307-468e-91B2-92B740377BE7' KeyPath='yes'>

              <File Id='CastingCall' Name='CastCall.exe'
LongName='CastingCall.exe' DiskId='1'

                Source='..\Casting Call\bin\Release\CastingCall.exe'
Vital='yes'>

                <Shortcut Id="startmenuCastingCall"
Directory="ProgramMenuDir" Name="CastCall"

                  LongName="Casting Call" WorkingDirectory='INSTALLDIR'
Icon="CastingCall.exe" IconIndex="0" />

                <Shortcut Id="desktopCastingCall" Directory="DesktopFolder"
Name="CastCall"

                  LongName="Casting Call" WorkingDirectory='INSTALLDIR'
Icon="CastingCall.exe" IconIndex="0" />

              </File>

              <ProgId Id="Character.File" Description="Casting Call
Character file" Advertise="yes"

                       Icon="CastingCall.exe" IconIndex="0">

                <Extension Id="character">

                  <Verb Id="open" Command="&amp;Open" Sequence="0"
Argument="&quot;%1&quot;" />

                </Extension>

              </ProgId>

            </Component>



Why would the files not remove when uninstalled?



----------

Bradford Younie

President, Carnivore Games

http://www.carnivoregames.com

[EMAIL PROTECTED]

Strange World - Non-Fiction Horror Storytelling Game

Now Playing - Roleplaying in Every TV Genre



-------------------------------------------------------------------------
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


-------------------------------------------------------------------------
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

Reply via email to