You can create two buttons- one with the shield and the other without.Then use a Condition element to determine which of them will be visible. Take example from WiX source file VerifyReadyDlg.wxs --Independent WiX Expert. Creator of- https://JetBA.net - Native and WPF WiX BootstrapperApplication Frameworks