I have a question about WiX. But let me describe my situation first: I have a VS2010 Solution and added a WiX (Votive) Project to make a Setup. I am building this Setup on a TFS Build Server. Unfortunately all my Files (*.dll, *.sql, *.msi, *.whatever) are blindly copied into the same Output-Path! I have added a msbuild target with a Move-Task to my Setup.csproj file, to move my msi, bat and sql files into a seperate folder, but unfortunately this doesnt work on TFS-Build.
Here is the Problem (imho): What i do in Votive is a Stage to early. i can make Folders and move the Files, but what i write in the csproj file is done before the TFS randomly take all binaries and puts them into the drop location.
How i tried to solve:
- I searched the wix2010.targets file for a move or copy command where . is moved to build_drop but i wasnt able to find it.
- I looked at Build process template but i have no idea of the language or syntax. Is there something to do with it?
- In the Build defintion in Build Defaults theres the checkbox "This build copies output files to a drop folder" where i have to add my drop location. Is there something i can change here?
My Question: How can i create Subfolders with a WiX Setup file and move certain files into it on a TFS Build?
I hope you can help! Thanks in Advance!