msiexec/i myproduct.msi LANG = 1.간단한 WIX msi에서 명령 줄 매개 변수를 전달하는 방법은 무엇입니까?
저는 bootstraper 프로젝트가 없습니다. 간단한 Product.wxs 파일을 가진 wix 프로젝트가 있습니다. lang = 1이면 레벨 3 기능을 실행하고 싶지 않습니다. 난 당신이 당신이 실행시에 필요로하는 레지스트리 항목을 알고 있기 때문에 HKLM 또는 HKCU
<Feature Id="ProductFeature" Level="1">
<Condition Level="2">LANG=1</Condition>
<Condition Level="3">LANG=0</Condition>
<Feature Id="MyFeatureBHJ" Title="My Feature BGJ" Level="2">
<?define DllRegLocationGj = "HKCU" ?>
<ComponentGroupRef Id="ProductComponents" />
</Feature>
<Feature Id="MyFeatureBHJttgj" Title="My Feature BjjGJ" Level="3">
<?define DllRegLocationGj = "HKLM" ?>
<ComponentGroupRef Id="ProductComponents" />
</Feature>
</Feature>
WHE HKCU의 HKLM은 위의 경우 실제로 모든 기능이 설치됩니다. 예를 들어 msiexec/i install.msi ADDLOCAL = ProductFeature, MyFeatureBHJ –
상위 기능 "ProductFeature"에서 중첩 된 기능 ("MyFeatureBHJ"및 "MyFeatureBHJttgj")을 이동 했습니까? – Isaiah4110
업데이트를 확인하면 기능 목록이 이와 유사해야합니다. 그런 다음 ADDLOCAL 속성을 사용하여 1과 2 또는 1 & 3 중에서 원하는 모든 기능을 말해야합니다. – Isaiah4110