Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: installer/src/custom-action/close_application.cpp

Issue 5024350814076928: Issue 1103 - Migrate Simple Adblock users
Patch Set: Use registry instead of prefs for storing the Simple Adblock mark Created Aug. 7, 2015, 10:34 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: installer/src/custom-action/close_application.cpp
===================================================================
--- a/installer/src/custom-action/close_application.cpp
+++ b/installer/src/custom-action/close_application.cpp
@@ -206,12 +206,12 @@
*/
std::wstring uilevel = Property( session, L"UILevel" ) ;
bool interactive ;
- if ( uilevel == L"5" || uilevel == L"4" )
+ if ( uilevel == L"5" || uilevel == L"4" || uilevel == L"3")
{
interactive = true ;
// Assert state is one of { notKnown, allow, passive, active, automatic }
}
- else if ( uilevel == L"3" || uilevel == L"2" )
+ else if (uilevel == L"2")
{
// Assert installer is running without user interaction.
interactive = false ;

Powered by Google App Engine
This is Rietveld