I am working on Wix Toolset set up project. I need to add files to my installer package. There are so many dll and I am including them individually.
<DirectoryRef Id="APPLICATIONROOTDIRECTORY">
<Component Id="MyApplication" Guid="53BF1BB4-FEC5-4D6C-AEA3-2D7DE0021695">
<File Id="MyApplication" Source= "$(var.ServiceAppSourceDir)\MyApp.dll" KeyPath="yes" Checksum="yes"/>
</Component>
<Component Id="ExampleFile" Guid="5C7CF06D-420E-44E0-91EC-DE8D55D1E6E8">
<File Id="ExampleFile" Source="$(var.ServiceAppSourceDir)\ExampleFile.dll" KeyPath="yes" Checksum="yes"/>
</Component>
</DirectoryRef>
<Feature Id="MainApplication" Title="Main Application" Level="1">
<ComponentRef Id="MyApplication" />
<ComponentRef Id="ExampleFile" />
</Feature>
I included only 2 but I have more than 30 dll to import in our application. How can I import all dll in one component ? I tried using "*.dll " did not work. Any suggections ?