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: Rebased Created July 28, 2015, 9:55 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
« no previous file with comments | « html/templates/firstRun.html ('k') | installer/src/msi/adblockplusie.wxs » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ;
« no previous file with comments | « html/templates/firstRun.html ('k') | installer/src/msi/adblockplusie.wxs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld