mirror of https://github.com/BOINC/boinc.git
WINSETUP: Fix the Enable Use by All Users checkbox in the installer. The setting wasn't being properly restored.
WINSETUP: Special case the LAUNCHPROGRAM property, if the registry value is an empty string, enable the checkbox.
This commit is contained in:
parent
c084536dce
commit
acb3357cf9
Binary file not shown.
Binary file not shown.
|
@ -109,7 +109,7 @@ UINT CARestoreSetupState::OnExecution()
|
|||
}
|
||||
|
||||
if (strOverrideLaunchProgram.empty()) {
|
||||
if (_T("1") == strLaunchProgram) {
|
||||
if ((_T("1") == strLaunchProgram) || (strLaunchProgram.size() == 0)) {
|
||||
SetProperty( _T("LAUNCHPROGRAM"), _T("1") );
|
||||
} else {
|
||||
SetProperty( _T("LAUNCHPROGRAM"), _T("") );
|
||||
|
@ -148,7 +148,7 @@ UINT CARestoreSetupState::OnExecution()
|
|||
SetProperty( _T("ENABLEPROTECTEDAPPLICATIONEXECUTION3"), strOverrideEnableProtectedApplicationExecution );
|
||||
}
|
||||
|
||||
if (strEnableUseByAllUsers.empty()) {
|
||||
if (strOverrideEnableUseByAllUsers.empty()) {
|
||||
if (_T("1") == strEnableUseByAllUsers) {
|
||||
SetProperty( _T("ENABLEUSEBYALLUSERS"), _T("1") );
|
||||
} else {
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue