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>
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
Component/@Id will default to the
File/@Id so it should then be unique as well.
Please sign in to leave a comment.