Is your custom action synchronous or asynchronous?  If asynchronous, perhaps
your custom action isn't finishing in time before the attempt to delete the
folders is done.

Jim Williams

-----Original Message-----
From: Adam Langley [mailto:alang...@winscribe.com] 
Sent: Monday, March 16, 2009 7:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] fold not being removed on uninstall: sporadic

I have a WiX generated installer which copies some simple files into a directory
structure under ProgramFiles.
The issue is, _sometimes_ (about 50% of the time), uninstallation fails to
remove these folders - with no errors in the log file.

My WiX looks like this:

      <Directory Id="ProgramFilesFolder">
        <Directory Id="CompanyFolder" Name="Company Folder">
          <Directory Id="INSTALLLOCATION" Name="Application Folder">
            <Component Id="ProductComponent" Guid="<GUID>">

With only files underneath.
The only slightly out of the ordinary thing that I am doing is running an exe
installer as a CA which extracts files within this directory structure aswell -
however there is an equivalent uninstall custom action which removes all these
files before the MSI tries to delete anything from the system.

I end up with an empty folder structure:

C:\Program Files\Company Folder\Application Folder\

Remaining on my system, about 50% of the time.

Can anyone point out why this might be happening?

Thanks

Adam Langley
Senior Developer
Tel: +64 9 486 9010
www.winscribe.com
 
 


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to