I was just informed that my mail message was too big. Here is the essence of the log file that I had attached:

 

MSI (s) (C0:28): Target path resolution complete. Dumping Directory table...

MSI (s) (C0:28): Note: target paths subject to change (via custom actions or browsing)

MSI (s) (C0:28): Dir (target): Key: TARGETDIR    , Object: C:\Program Files\Visa\ApplicationServer\

MSI (s) (C0:28): Dir (target): Key: IVRServiceRootFolder  , Object: C:\Program Files\Visa\ApplicationServer\IVRService\bin\

MSI (s) (C0:28): Dir (target): Key: IVRServiceRootFolder_BIN       , Object: C:\Program Files\Visa\ApplicationServer\IVRService\bin\

MSI (s) (C0:28): Dir (target): Key: TARGETDIR_INCLUDES          , Object: C:\Program Files\Visa\ApplicationServer\includes\

MSI (s) (C0:28): Dir (target): Key: TARGETDIR_INCLUDES_IMAGES        , Object: C:\Program Files\Visa\ApplicationServer\includes\images\

 

I set the directories as:

 

            <directories>

                <directory name="ApplicationServerIncludes" foldername="includes" root="TARGETDIR" />

                <directory name="ApplicationServerLogFolder" foldername="appLogs" root="TARGETDIR" />

                <directory name="ApplicationServerInstallationFolder" foldername="Installation" root="TARGETDIR" />

                <directory name="IVRServiceRootFolder" foldername="IVRService" root="TARGETDIR" />

                <directory name="IVRServiceLogFolder" foldername="ivrLogs" root="TARGETDIR" />

            </directories>

 

So IVRServiceRootFolder should be [TARGETDIR]/IVRService. From the logs it seems to be [TARGETDIR]/IVRService/bin. This could be a problem but I am not sure how to rectify it. Why is the directory changed?

 

Then later:

 

MSI (s) (C0:28): Executing op: SetTargetFolder(Folder=C:\Program Files\Visa\ApplicationServer\IVRService\bin\)

MSI (s) (C0:28): Executing op: FileRemove(,FileName=Web.config,,ComponentId={FDDB850E-8DE2-491C-8CE5-997D84162A6A})

MSI (s) (C0:28): Executing op: FileRemove(,FileName=IVRService.asmx.resx,,ComponentId={FDDB850E-8DE2-491C-8CE5-997D84162A6A})

MSI (s) (C0:28): Executing op: FileRemove(,FileName=IVRService.asmx.cs,,ComponentId={FDDB850E-8DE2-491C-8CE5-997D84162A6A})

MSI (s) (C0:28): Executing op: FileRemove(,FileName=IVRService.asmx,,ComponentId={FDDB850E-8DE2-491C-8CE5-997D84162A6A})

MSI (s) (C0:28): Executing op: FileRemove(,FileName=Global.asax.resx,,ComponentId={FDDB850E-8DE2-491C-8CE5-997D84162A6A})

MSI (s) (C0:28): Executing op: FileRemove(,FileName=Global.asax.cs,,ComponentId={FDDB850E-8DE2-491C-8CE5-997D84162A6A})

MSI (s) (C0:28): Executing op: FileRemove(,FileName=Global.asax,,ComponentId={FDDB850E-8DE2-491C-8CE5-997D84162A6A})

MSI (s) (C0:28): Executing op: FileRemove(,FileName=AssemblyInfo.cs,,ComponentId={FDDB850E-8DE2-491C-8CE5-997D84162A6A})

 

The log file indicates that these files are being removed but “SetTargetFolder” is not where the files are. They are up one level.

 

So, in summary I think the root cause of my problem is that the directory has been changed from install to uninstall. The directory that I want is specified in the <directories> section. That is where the files get put. But somehow it gets changed.

 

Kevin


From: Burton, Kevin
Sent: Wednesday, March 02, 2005 8:16 AM
To: 'Foster, Richard - PAL'; nant-users@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: RE: [Nant-users] Removing files on uninstallation.

 

Richard,

 

Thank you for the clarification. I will work on getting a smaller MSI task together. In the mean time I ran the uninstall with msiexec and saved the output log. The files that are not removed that I am concerned about right now are part of the following component:

 

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

                    <key file="IVRService.asmx" />

                    <fileset basedir="${build.dir}/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>

 

I have attached the uninstall log. I cannot see from the logs what would be wrong.

 

Thanks again.

 

Kevin

 

Reply via email to