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
Post a Comment