windows installer - Wix Duplicate symbol 'File:AdminToolsConsoleFile' found -


i use wix 3.5 install project. have file can installed service or file. try make this:

<component id="myprogrammasservice" guid="*">     <file id="myfile" name="file.exe" diskid="1" source="$(var.sourcedir)\myfile.exe" />     <serviceinstall ...       </serviceinstall>                               </registrykey>   </component> <component id="myprogrammwithoutservice" guid="*">    <file id="myfile" name="file.exe" diskid="1" source="$(var.sourcedir)\myfile.exe" /> </component> 

but error throw duplicate symbol 'file:admintoolsconsolefile' found. how can bypass problem?

upd: feature code:

  <feature>        <componentref id="syncwithoutservice" />        <feature id="myprogrammasservicefeature" level="100"                  description="install service"                  title="register service" allowadvertise="no">                 <componentref id="myprogrammasservice" />        </feature>        <componentgroupref id="mygroup"  />   </feature> 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -