I'm seeing an issue where the installer is occasionally leaving behind 
empty folders even though the log reports that they are being deleted.

I have some shortcuts on the Start Menu,  For each folder there is a 
component containing a RemoveFolder item, and the component for each 
shortcut also contains a CreateFolder item.

In the log I see this:
MSI (s) (14:E0) [19:16:37:934]: Counted 3 foreign folders to be removed.
MSI (s) (14:E0) [19:16:37:934]: Removing child folder of 
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\folder1\ (child: 
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\folder1\folder2\)
MSI (s) (14:E0) [19:16:37:934]: Removing child folder of 
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\folder1\folder2\ 
(child: C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\folder1\folder2\folder3\)
MSI (s) (14:E0) [19:16:37:934]: Removing foreign folder: 
C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\folder1\folder2\folder3\
MSI (s) (14:E0) [19:16:37:934]: Removing foreign folder: 
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\folder1\folder2\
MSI (s) (14:E0) [19:16:37:934]: Removing foreign folder: 
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\folder1\

and then later, this:
MSI (s) (14:E0) [19:16:38:826]: Executing op: 
FolderRemove(Folder=C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\folder1\folder2\folder3\,Foreign=1)
MSI (s) (14:E0) [19:16:38:827]: Executing op: 
FolderRemove(Folder=C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\folder1\folder2\,Foreign=1)
MSI (s) (14:E0) [19:16:38:828]: Executing op: 
FolderRemove(Folder=C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\folder1\,Foreign=1)

which is then shortly followed by multiple entries like this:
MSI (s) (14:E0) [19:16:38:866]: Executing op: 
FolderRemove(Folder=C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\folder1\folder2\folder3\,Foreign=0)

There would appears to be one for each shortcut in that folder.

Despite this, C:\ProgramData\Microsoft\Windows\Start 
Menu\Programs\folder1\folder2\ is sometimes left behind with no 
contents.  It doesn't appear to be in use (no errors in the log and I 
can delete it manually), and it does not get removed after a reboot.

Does anyone have any insight why these folders are sometimes left 
behind, despite the RemoveFolder items?

Thanks,
Rob


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to