.Net3.5 또는 .Net4.0에서 컴파일 된 일부 DLL이 있습니다. (그들은 같은 이름을 가지고 있습니다)
wix에는 2 개의 조건부 기능이 있습니다.
기능 A는
기능 B는 .net4.0는 하나의 기능이 설치되어, 상호 독점입니다 ComponentRef 아이디 = "Cmp40"
특징으로 dll을 설치합니다 ComponentRef 아이디 = "Cmp35"내 응용 프로그램의 .net3.5 DLL을 설치합니다.Wix에서 같은 이름의 파일을 관리하는 방법은 무엇입니까?
내 구성 요소 : 오류 LGHT0204 : ICE30 :
<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Fragment>
<DirectoryRef Id="INSTALLDIR">
<Component Id="Cmp35" Guid="..">
<File Id="Behaviors.Assembly" Name="$(var.Behaviors.v3.5.gen.TargetFileName)" Source="$(var.Behaviors.v3.5.gen.TargetPath)" />
<File Id="Other.Assembly" Name="$(var.Other.v3.5.gen.TargetFileName)" Source="$(var.Other.v3.5.gen.TargetPath)" />
</Component>
<Component Id="Cmp40" Guid="...">
<File Id="Behaviors.Assembly.4.0" Name="$(var.Behaviors.v4.0.gen.TargetFileName)" Source="$(var.Behaviors.v4.0.gen.TargetPath)" />
<File Id="Other.Assembly.4.0" Name="$(var.Other.v4.0.gen.TargetFileName)" Source="$(var.Other.v4.0.gen.TargetPath)" />
</Component>
</DirectoryRef>
</Fragment>
</Wix>
나는 컴파일하는 동안 오류가 대상 파일을 ... LFN 시스템에 두 개의 서로 다른 구성 요소에 ... 설치됩니다
파일 이름이 같기 때문에 문제가있는 것 같습니다 ...
관리 방법이 있습니까? 감사!
내가하는 유일한 차이점은 구성 요소에 조건이 있다는 것입니다. 이게 효과가 있니? –