Skip to content

Commit

Permalink
Merge pull request BOINC#5927 from BOINC/vko_installer_cleanup_for_pr
Browse files Browse the repository at this point in the history
[Windows][Installer] Clean-up installer project
  • Loading branch information
AenBleidd authored Nov 30, 2024
2 parents 7cc54fc + 9247be1 commit 9d73abf
Show file tree
Hide file tree
Showing 36 changed files with 182 additions and 736 deletions.
188 changes: 0 additions & 188 deletions clientsetup/win/CACCConfigMd5sum.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions clientsetup/win/CACCConfigMd5sum.h

This file was deleted.

7 changes: 7 additions & 0 deletions clientsetup/win/CARestoreSetupState.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -171,11 +171,14 @@ UINT CARestoreSetupState::OnExecution()
if (strOverrideEnableUseByAllUsers.empty()) {
if (_T("1") == strEnableUseByAllUsers) {
SetProperty( _T("ENABLEUSEBYALLUSERS"), _T("1") );
SetProperty(_T("ALLUSERS"), _T("1"));
} else {
SetProperty( _T("ENABLEUSEBYALLUSERS"), _T("") );
SetProperty(_T("ALLUSERS"), _T(""));
}
} else {
SetProperty( _T("ENABLEUSEBYALLUSERS"), strOverrideEnableUseByAllUsers );
SetProperty(_T("ALLUSERS"), strOverrideEnableUseByAllUsers);
}
}

Expand All @@ -194,6 +197,10 @@ UINT CARestoreSetupState::OnExecution()
SetProperty( _T("DATADIR"), strDataDirectory );
}

// Check if we are upgrading
if (IsUpgrading()) {
SetProperty(_T("IS_MAJOR_UPGRADE"), _T("Yes"));
}
return ERROR_SUCCESS;
}

Expand Down
86 changes: 0 additions & 86 deletions clientsetup/win/CAShutdownUD.cpp

This file was deleted.

37 changes: 0 additions & 37 deletions clientsetup/win/CAShutdownUD.h

This file was deleted.

2 changes: 0 additions & 2 deletions clientsetup/win/boinccas.def
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ EXPORTS
ShutdownBOINC
ShutdownBOINCManager
ShutdownBOINCScreensaver
ShutdownUD
GrantBOINCAdminsRights
GrantBOINCAdminsVirtualBoxRights
GrantBOINCUsersRights
Expand All @@ -38,7 +37,6 @@ EXPORTS
ValidateRebootRequest
SaveExecutionState
RestoreExecutionState
CCConfigMd5sum
CreateProjectInitFile
CreateAcctMgrLoginFile
RestorePermissionBOINCData
Expand Down
Loading

0 comments on commit 9d73abf

Please sign in to comment.