diff options
Diffstat (limited to 'src/burn')
-rw-r--r-- | src/burn/engine/engine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/burn/engine/engine.cpp b/src/burn/engine/engine.cpp index 2232358d..c372772c 100644 --- a/src/burn/engine/engine.cpp +++ b/src/burn/engine/engine.cpp | |||
@@ -517,6 +517,10 @@ static HRESULT RunNormal( | |||
517 | } | 517 | } |
518 | hr = S_OK; | 518 | hr = S_OK; |
519 | 519 | ||
520 | // Best effort to prevent dotnet from displaying a message box to install .NET when launching a | ||
521 | // managed bootstrapper application when .NET is not installed. | ||
522 | ::SetEnvironmentVariableW(L"DOTNET_DISABLE_GUI_ERRORS", L"1"); | ||
523 | |||
520 | // Set some built-in variables before loading the BA. | 524 | // Set some built-in variables before loading the BA. |
521 | hr = VariableSetNumeric(&pEngineState->variables, BURN_BUNDLE_COMMAND_LINE_ACTION, pEngineState->command.action, TRUE); | 525 | hr = VariableSetNumeric(&pEngineState->variables, BURN_BUNDLE_COMMAND_LINE_ACTION, pEngineState->command.action, TRUE); |
522 | ExitOnFailure(hr, "Failed to set command line action variable."); | 526 | ExitOnFailure(hr, "Failed to set command line action variable."); |