The following is the minimal code necessary to install a file to a directory with BinFolder as its identity.
<Component Directory='BinFolder'>
<File Source='path\to\file.dll' />
</Component>
Note: The File/@Id and Component/@Id will default to the file name of the path from the File/@Source attribute. In the above example that would be file.dll. That means if you have multiple files with the same name, you will need to provide a unique File/@Id. The Component/@Id will default to the File/@Id so it should then be unique as well.

Comments
0 comments
Please sign in to leave a comment.