Skip to content

Bundle crashes at welcome screen when .NET 3.5 not present #6771

Answered by rseanhall
jbogari asked this question in Questions
Discussion options

You must be logged in to vote

Error 0x80070002: Failed calling detect BA function.

The detect BA function is your code. If you don't want this missing registry key to cause your bundle to fail (not crash, it wouldn't log anything if it crashed), then update your detect BA function to not return a failing HRESULT.

Per Rob's reply, is there some way to coerce light to use or prefer a specific .NET version when building?

You are asking the wrong question. Your bundle is failing at runtime, which has nothing to do which version of .NET was used to build it. Your BA functions code is presumably native code that has no .NET Framework dependencies. The WiX bundle code definitely has no .NET dependencies.

PropertyRef and C…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jbogari
Comment options

Answer selected by jbogari
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants