Kirill Lapin
Guest
|
WiX Setup Project is created no prob, but errors out on build.
Win 10
VS 2013
WiX 3.10.2
------ Build started: Project: HRGSetup(2.0.0), Configuration: Debug x86 ------
...
G:\...\HRG\HRGSetup\2.0.0\Product.wxs(65,0): error LGHT0204: ICE30: The target file 'office.dll' is installed in '[TARGETDIR]\' by two different components on an SFN system: 'comp_6320C64A_FD52_4964_B34A_C643596A37B9' and 'comp_EEFB4B59_535D_4E53_BB3E_B64682F69E8F'. This breaks component reference counting.
G:\...\HRG\HRGSetup\2.0.0\Product.wxs(56,0): error LGHT0204: ICE30: The target file 'office.dll' is installed in '[TARGETDIR]\' by two different components on an SFN system: 'comp_6320C64A_FD52_4964_B34A_C643596A37B9' and 'comp_EEFB4B59_535D_4E53_BB3E_B64682F69E8F'. This breaks component reference counting.
G:\...\HRG\HRGSetup\2.0.0\Product.wxs(65,0): error LGHT0204: ICE30: The target file 'office.dll' is installed in '[TARGETDIR]\' by two different components on an LFN system: 'comp_6320C64A_FD52_4964_B34A_C643596A37B9' and 'comp_EEFB4B59_535D_4E53_BB3E_B64682F69E8F'. This breaks component reference counting.
G:\...\HRG\HRGSetup\2.0.0\Product.wxs(56,0): error LGHT0204: ICE30: The target file 'office.dll' is installed in '[TARGETDIR]\' by two different components on an LFN system: 'comp_6320C64A_FD52_4964_B34A_C643596A37B9' and 'comp_EEFB4B59_535D_4E53_BB3E_B64682F69E8F'. This breaks component reference counting.
Done building project "HRGSetup(2.0.0).wixproj" -- FAILED.
Build FAILED.
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
Any ideas please?
Thank you. |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Hello Kirill,
The error "The target file 'XXX' is installed in 'YYY' by two different components" occurs because the file XXX is added twice to the folder YYY of your setup project. LFN and SFN = long and short file name.
Andrei Smolin
Add-in Express Team Leader |
|
Kirill Lapin
Guest
|
Thank you Andrei,
Do you know why would it be doing it? I removed the old ADX Setup project created in VS 2010 from the directory, but still no joy. Is there anything I can tweak manually?
Thanks,
Kirill |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Check the files that you put in the TargetDir folder. There should be an only office.dll file.
Andrei Smolin
Add-in Express Team Leader |
|
Kirill Lapin
Guest
|
Thanks. Deleting all files in the 'bin' and 'obj' folders of both projects, rebuilding the main project and then creating setup again seems to do the trick. |
|
Andrei Smolin
Add-in Express team
Posts: 18817
Joined: 2006-05-11
|
Congratulations!
Andrei Smolin
Add-in Express Team Leader |
|