diff options
-rw-r--r-- | src/burn/engine/bundlepackageengine.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/burn/engine/bundlepackageengine.cpp b/src/burn/engine/bundlepackageengine.cpp index 6336bd27..cb34878f 100644 --- a/src/burn/engine/bundlepackageengine.cpp +++ b/src/burn/engine/bundlepackageengine.cpp | |||
@@ -843,6 +843,10 @@ static HRESULT ExecuteBundle( | |||
843 | { | 843 | { |
844 | hr = StrAllocConcat(&sczBaseCommand, L" -quiet", 0); | 844 | hr = StrAllocConcat(&sczBaseCommand, L" -quiet", 0); |
845 | ExitOnFailure(hr, "Failed to append quiet argument."); | 845 | ExitOnFailure(hr, "Failed to append quiet argument."); |
846 | |||
847 | // Embedded bundles will disable system restore so might as well make non-embedded do it, too. | ||
848 | hr = StrAllocConcat(&sczBaseCommand, L" -disablesystemrestore", 0); | ||
849 | ExitOnFailure(hr, "Failed to append disable system restore."); | ||
846 | } | 850 | } |
847 | 851 | ||
848 | if (wzOperationCommandLine) | 852 | if (wzOperationCommandLine) |