It looks like you created an unmanaged Component (no GUID).  That means, the 
Windows Installer installs your Component (and the stuff in it) and promptly 
forgets about it.  Which means uninstall does nothing.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of James M Knox
Sent: Monday, March 19, 2007 8:14 AM
To: wix-users
Subject: [WiX-users] uninstall not removing a ODBC DSN

Hi,

I am using the following code to create an ODBC DSN, That works fine,
however when I do an uninstall of the msi, it does not remove the DSN.

Wix v2.0.5012.0

<?xml version="1.0" encoding="utf-8"?>
<!--
    JMK Template for wix V2
-->
<Wix xmlns="http://schemas.microsoft.com/wix/2003/01/wi";>
     <Product Id="E9CB077F-7E94-491A-9111-69F72D09B354"
              UpgradeCode="365A4ECE-9620-4780-BCF8-4FE885A09466"
              Name="Fecas ODBC Connection" Language="1033" Version="1.0"
              Manufacturer="My Co">
         <Package Id="2E2EA049-BE49-4C59-AB15-0697C0090A1F"
                  Description="Creates System DSN for FECAS on SERVER"
                  Comments="Creates System DSN for FECAS on SERVER"
                  Manufacturer="My Co" InstallerVersion="200"
                  Compressed="yes" />
         <Media Id="1" Cabinet="Data1.cab" EmbedCab="yes" />
         <Directory Id="TARGETDIR" Name="SourceDir">
             <Directory Id="ProgramFilesFolder" Name="progfils"
                        LongName="ProgramFilesDir">
                 <Component Id="MainComponent" Guid="" DiskId="1">
                     <ODBCDataSource Id="odbc.fecas" Name="fecas"
                                      Registration="machine"
                                      DriverName="SQL Server" >
                         <Property Id="Server" Value="SERVER" />
                         <Property Id="Database" Value="fecas" />
                         <Property Id="Description"
                                   Value="[EMAIL PROTECTED]" >
                     </ODBCDataSource>
                 </Component>
             </Directory>
         </Directory>
         <Feature Id="MainFeature" Title="TheODBCDSN" Level="1">
             <ComponentRef Id="MainComponent" />
         </Feature>
     </Product>
</Wix>


Any Help?

Mark Knox

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to