I wan't to create a log Folder for each Feature (in my case an Application).
If i put a Dir (log) into a Feature and only a DirPermission under it, this Dir will always be created. Even if the Feature is selected or not.
You can reproduce it. Just extend the Features sample:
If i put a Dir (log) into a Feature and only a DirPermission under it, this Dir will always be created. Even if the Feature is selected or not.
You can reproduce it. Just extend the Features sample:
var project =
new Project("MyProduct",
new Dir(@"%ProgramFiles%\My Company\My Product",
new File(binaries, @"Files\Bin\MyApp.exe"),
new Dir(@"Docs\Manual",
new File(docs, @"Files\Docs\Manual.txt"),
new File(tuts, @"Files\Docs\Tutorial.txt")),
new Dir(docs, "logdocs", new DirPermission("Everyone", GenericPermission.All) ),
new Dir(tuts, "logtuts" , new DirPermission("Everyone", GenericPermission.All))));