What I'm trying to do is to create an empty folder using wix# installer.
I've found the "Empty Directories" sample ( "src/WixSharp.Samples/Wix# Samples/Empty Directories" ) which says that:
When working with raw Wix you cannot have empty directories. Every directory must have either component (e.g. File) or special element CreateFolder.
Wix# does not have such limitation as it simply creates all necessary syntactical decoration (injects CreateFolder element) in Wix source file automatically when empty directory declaration is detected.
But when I build and run the sample I didn't get any "Samples" or "Docs" folders ( empty folders from the sample ).
The log file contains the following:
Action 16:25:24: RemoveFiles. Removing files
Action start 16:25:24: RemoveFiles.
RemoveFiles: File: Removing files, Directory:
MSI (s) (7C:F4) [16:25:24:926]: Counted 2 foreign folders to be removed.
MSI (s) (7C:F4) [16:25:24:926]: Removing foreign folder: C:\Program Files (x86)\My Company\My Product\Docs\Manual\
MSI (s) (7C:F4) [16:25:24:926]: Removing foreign folder: C:\Program Files (x86)\My Company\My Product\Samples\
Action ended 16:25:24: RemoveFiles. Return value 1.
What does "foreign" means? What am I doing wrong?
WiX Toolset v3.10.1 is used.