Skip to content

Commit

Permalink
[Windows][Installer] Clean-up installer project
Browse files Browse the repository at this point in the history
- Replace icons
- Remove unused dialog
- Remove SetAllUsers.dll
- Remove Print LA action (I don't believe anybody still uses it). If required - it could be always implemented.
- Replace ISSetupAllUsers 3rd-party function
- Remove unused icons
- Convert custom build target to custom build step to fix build of MSI file when only *.json file was changed.
- Remove SFHelper.dll

Signed-off-by: Vitalii Koshura <[email protected]>
  • Loading branch information
AenBleidd committed Nov 30, 2024
1 parent 7cc54fc commit 9247be1
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 9247be1

Please sign in to comment.