0
Wix Bootstrapper (* .wxs) 원본 파일에서 설치 조건을 감지하려고합니다. Wix는 설명서에의 "기본 제공 변수 굽기"를 선언합니다.Under Wix Burn 조건은 Wix "Burn Built-in Variables"가 설정되어 있습니까?
내 소스 코드는 다음과 같습니다 : 나는 WixBundleAction이 설정되어 있는지 굽기 로그에 표시되지 않습니다
<util:RegistrySearch
Id="SearchForMyProduct"
Variable="MyProductIsInstalled"
Result="exists"
Root="HKLM"
Key="SYSTEM\CurrentControlSet\services\MyProduct" />
<bal:Condition Message="service was found. MyProduct is already installed. Please uninstall and try again">
(WixBundleAction = 3) AND (MyProductIsInstalled = 0)
</bal:Condition>
. WixBundleAction을 테스트 한 값에 상관없이 (WixBundleAction = 3) FALSE입니다. 두 번 클릭하거나 명령 줄에서 설치 프로그램을 실행하는지 여부는 동일합니다.