Custom WixBA throws access denied in OnDetectPackageComplete when interrogating DetectPackageCompleteEventArgs.State parameter #8761
Unanswered
MikeFarrington
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a WPF-based bootstrapper that is being updated to the latest version of WiX Toolset.
In the OnDetectPackageComplete event, I can interrogate the PackageId from the DetectPackageCompleteEventArgs parameter just fine, but when I attempt to get the value from the State (PackageState) member, An access denied error is thrown. It gets logged twice, but I assume that is once in my UI thread, then it bubbles up to the host thread of the BA?
Beta Was this translation helpful? Give feedback.
All reactions