Kevin,

  I don't see anything wrong with your component.  Have you removed everything but the bin/** and tried that to see if it removes the files?

 

  Here is a component in an msm task of mine that does work properly that is as close to your as I could get.

 

<component

            name="C__MainFiles"

            id="{30396B51-25FD-4fbb-A863-FC979294F295}"

            attr="2"

            directory="D__CS"

            feature="F__DefaultFeature"

            keepsubdirs="true">

            <key file="files.txt" />

            <fileset basedir="Coordinate Systems">

                        <include name="**/*" />

            </fileset>

</component>

 

I would try it without the extra files and install/remove to see if it actually removes the files, then add includes one at a time until it fails.

 

Third part apps often put one file per component, which is something to try also.

 

John Cole


From: Burton, Kevin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 4:08 PM
To: John Cole; nant-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: RE: [Nant-users] Removing files on uninstallation.

 

This is my problem I have to following lines in the <msi> task.

 

                <component name="IVRService_Files" id="{FDDB850E-8DE2-491C-8CE5-997D84162A6A}" attr="2" directory="IVRServiceRootFolder"  keepsubdirs="true" feature="IVRWebServiceFeature">

                    <key file="IVRService.asmx" />

                    <fileset basedir="${builddir}/IVRService">

                        <include name="bin/**" />

                        <include name="Global.asax" />

                        <include name="Global.asax.cs" />

                        <include name="Global.asax.resx" />

                        <include name="IVRService.asmx" />

                        <include name="IVRService.asmx.cs" />

                        <include name="IVRService.asmx.resx" />

                        <include name="AssemblyInfo.cs" />

                        <include name="Web.Config" />

                    </fileset>

                </component>

 

The problem is that these files are not being removed. Are you saying that the 'name' attribute needs to have a registry style GUID or that I need to split this out and assign a component id for each of the files, or both?

 

Thank you. This is the closest that I have come to getting this resolved.

 

Kevin

 


From: John Cole [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 01, 2005 3:49 PM
To: Burton, Kevin; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: RE: [Nant-users] Removing files on uninstallation.

 

=

We ran into the same situation, and discovered that you need to have the component id use a registry style GUID, otherwise the file doesn't get uninstalled.

 

Also, something to be aware of, make sure you use MSI guidelines for merge module id's http://msdn.microsoft.com/library/default.asp?url="">  or else 3rd party packages like wise or installshield won't pick up your module names and descriptions properly.

 

John Cole

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Burton, Kevin
Sent: Tuesday, March 01, 2005 2:59 PM
To: nant-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: [Nant-users] Removing files on uninstallation.

 

I get some files removed but not all. I have not heard how to ensure that files are removed on uninstallation.

 

Kevin

 

Message: 3

Date: Tue, 1 Mar 2005 10:17:59 -0500

From: "Whitner, Tom" <[EMAIL PROTECTED]>

To: <nant-users@lists.sourceforge.net>

Subject: [Nant-users] <msi> uninstall issue?

 

This is a multi-part message in MIME format.

 

------_=_NextPart_001_01C51E71.DAA58FF9

Content-Type: text/plain;

      charset="us-ascii"

Content-Transfer-Encoding: quoted-printable

 

 

      When I uninstall my msi that was created using the <msi> and

<msm> tasks, nothing gets uninstalled.  Is this a known issue, or might

I be doing something obvious wrong?

 

- Tom

 


-------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.


-------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.

Reply via email to