wix - More than one files inside the component gives issue -
how use multiple files inside of component in wix?
<directoryref id='v5.0' > <component id='v5.0ref' guid='7c9e6679-83f1-4f22-985b-fdb3c8abd471'> <file id='simplemvvmtoolkitcommon.dll' name='simplemvvmtoolkit-common.dll' diskid='1' source='source\binaries\silverlight\v5.0\simplemvvmtoolkit-common.dll' keypath='yes'> </file> </component> </directoryref> i getting issue when add more on file inside of component.
adding multiple files component matter of adding child file elements. example following adds file.txt same component same source location:
<directoryref id='v5.0' > <component id='v5.0ref' guid='7c9e6679-83f1-4f22-985b-fdb3c8abd471'> <file id='simplemvvmtoolkitcommon.dll' name='simplemvvmtoolkit-common.dll' diskid='1' source='source\binaries\silverlight\v5.0\simplemvvmtoolkit-common.dll' keypath='yes' /> <file id='file2.txt' name='file2.txt' diskid='1' source='source\binaries\silverlight\v5.0\file2.txt' /> </component> </directoryref> it important note 1 file element can marked keypath='yes'.
Comments
Post a Comment