...the OP has folders in the GAC? That seems rather strange to me. The GAC and the way Windows finds files there preclude the use of user folders.
Phil -----Original Message----- From: Blair Murri [mailto:os...@live.com] Sent: Friday, June 28, 2013 11:52 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Wix uninstall does not remove folders in GAC and uninstall through control panel follows non-UI uninstallation Microsoft. Windows Installer, Fusion, and the GAC are theirs. > From: ruth...@intergraph.com > To: wix-users@lists.sourceforge.net; > imceamailto-osito+40live+2e...@ingrnet.com > Date: Fri, 28 Jun 2013 14:00:07 +0000 > Subject: Re: [WiX-users] Wix uninstall does not remove folders in GAC > and uninstall through control panel follows non-UI uninstallation > > Thanks Blair! > The empty folders are inside GAC, so I have no way to delete them. Do you know any way to report this bug so that I can keep a record in my side. > > I do have logic of RemoveFolder to remove the empty folders under product's directory tree. > > Ruth > > -----Original Message----- > From: Blair Murri [mailto:os...@live.com] > Sent: Thursday, June 27, 2013 6:28 PM > To: General discussion for Windows Installer XML toolset. > Subject: Re: [WiX-users] Wix uninstall does not remove folders in GAC > and uninstall through control panel follows non-UI uninstallation > > 1. Is the empty folder inside the GAC or in your product's directory tree? If the later, you could try adding a RemoveFolder element to your component. The former would be a fusion bug. > > 2. If you need to show UI from ARP, you would need to add <Property Id="ARPNOREMOVE" Value="1"/> to your MSI, which would combine the "Change" and "Uninstall" buttons. The "Uninstall" button never allows the user to make any workflow decision except cancel (by design). > > > From: jacob.hoo...@greenheck.com > > To: wix-users@lists.sourceforge.net > > Date: Thu, 27 Jun 2013 18:55:08 +0000 > > Subject: Re: [WiX-users] Wix uninstall does not remove folders in > > GAC and uninstall through control panel follows non-UI > > uninstallation > > > > I know 2 is by design. If a user selects uninstall from ARP, then they shouldn't go into maintenance mode with an option to repair/etc. I don't use the GAC so I can't comment on 1. > > > > -----Original Message----- > > From: Lu, Jie (Ruth) [mailto:ruth...@intergraph.com] > > Sent: Thursday, June 27, 2013 1:17 PM > > To: wix-users@lists.sourceforge.net > > Subject: [WiX-users] Wix uninstall does not remove folders in GAC > > and uninstall through control panel follows non-UI uninstallation > > > > Hi, > > > > I got a couple of problems of wix uninstall: > > > > > > 1. Our dlls are installed in GAC. When we upgrade to .Net 4.5, uninstall remove the dlls in the GAC, but still left the empty folders there, is it a bug? Is there any way to remove the folder also? In .Net 4.0, there is no such problem ( both dlls and folders are removed). > > > > Here is our code: > > <Component Id="CMP_ARCHITECTUREEXTDLL" Guid="{124D13B7-B963-4C8A-A279-0CE11AAA785C}" > > > <File Id="FILE_ARCHITECTUREEXTDLL" > > Name="ArchitectureExt.dll" DiskId="1" Assembly=".net" > > Source=".\Bin\ArchitectureExt.dll" > > DefaultVersion="CMP_ARCHITECTUREEXTDLL_VERSION" KeyPath="yes" /> > > > > </Component> > > > > > > > > > > > > 2. When uninstall by double click the installation file ( *.msi), it shows welcome dialog, option dialog (change, repair, remove options), verified dialog, progress dialog and finish dialog. We like this flow. However, if we uninstall from control panel, it goes as non-UI installation. Is there any way to change the uninstall behavior if uninstall through control panel? > > > > > > > > > > > > Thank you so much! > > > > > > > > Ruth > > -------------------------------------------------------------------- > > -- > > -------- This SF.net email is sponsored by Windows: > > > > Build for Windows Store. > > > > http://p.sf.net/sfu/windows-dev2dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > -------------------------------------------------------------------- > > -- > > -------- This SF.net email is sponsored by Windows: > > > > Build for Windows Store. > > > > http://p.sf.net/sfu/windows-dev2dev > > _______________________________________________ > > WiX-users mailing list > > WiX-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wix-users > > ---------------------------------------------------------------------- > -------- This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > ---------------------------------------------------------------------- > -------- This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users ---------------------------------------------------------------------------- -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users