From 56776e5b0d697c86d51fcfbbdf21db887f90c8be Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Wed, 2 Apr 2008 20:09:21 +0000 Subject: [PATCH] - WINSETUP: Make sure the executable permissions are setup correctly after the binaries are installed. win_build/installerv2/redist/Windows/src/boinccas/ boinccas.def boinccas.vcproj CASetPermissionBOINC.cpp, .h (Added) svn path=/trunk/boinc/; revision=15010 --- checkin_notes | 9 + win_build/installerv2/BOINC.ism | Bin 208844 -> 208844 bytes .../src/boinccas/CASetPermissionBOINC.cpp | 197 ++++++++++++++++++ .../src/boinccas/CASetPermissionBOINC.h | 37 ++++ .../redist/Windows/src/boinccas/boinccas.def | 1 + .../Windows/src/boinccas/boinccas.vcproj | 8 + 6 files changed, 252 insertions(+) create mode 100644 win_build/installerv2/redist/Windows/src/boinccas/CASetPermissionBOINC.cpp create mode 100644 win_build/installerv2/redist/Windows/src/boinccas/CASetPermissionBOINC.h diff --git a/checkin_notes b/checkin_notes index 2de345b9c9..20399e6cd3 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3027,3 +3027,12 @@ David April 2 2008 sched/ sched_util.C + +Rom April 2 2008 + - WINSETUP: Make sure the executable permissions are setup correctly + after the binaries are installed. + + win_build/installerv2/redist/Windows/src/boinccas/ + boinccas.def + boinccas.vcproj + CASetPermissionBOINC.cpp, .h (Added) diff --git a/win_build/installerv2/BOINC.ism b/win_build/installerv2/BOINC.ism index 6d31c3b3ce1b8325fc7beeda5888bba29a9f4d79..93ff968aa6e8b8497218bf5dbe77f8438ef02590 100644 GIT binary patch delta 273 zcmX?epXbbdo((xHtOo0Td!}wKWC`NnWc&{VDhvz^)9Yq3YHa?(6TreD2;_o}a8D z?rdyn;Ns@&Z0c-S>+I-Ul$uzQ>YS6AnpfgjT9V5WA1$Ab%FM>VIK5n-*-%A|fssLsfr&vDNP_?ukQN7GX&@E>Vh|qy&-+aL delta 259 zcmX?epXbbdo((xHtQWrKumx-`WC`M!?95@f`3p|~3x^5=1H*qHm|i!NQDbw7APWU;Execute(); + delete pCA; + + return uiReturnValue; +} + diff --git a/win_build/installerv2/redist/Windows/src/boinccas/CASetPermissionBOINC.h b/win_build/installerv2/redist/Windows/src/boinccas/CASetPermissionBOINC.h new file mode 100644 index 0000000000..9243a409e9 --- /dev/null +++ b/win_build/installerv2/redist/Windows/src/boinccas/CASetPermissionBOINC.h @@ -0,0 +1,37 @@ +// Berkeley Open Infrastructure for Network Computing +// http://boinc.berkeley.edu +// Copyright (C) 2005 University of California +// +// This is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; +// either version 2.1 of the License, or (at your option) any later version. +// +// This software is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +// See the GNU Lesser General Public License for more details. +// +// To view the GNU Lesser General Public License visit +// http://www.gnu.org/copyleft/lesser.html +// or write to the Free Software Foundation, Inc., +// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +// + +#ifndef _CASETPERMISSIONBOINC_H_ +#define _CASETPERMISSIONBOINC_H_ + + +class CASetPermissionBOINC : public BOINCCABase +{ +public: + + CASetPermissionBOINC(MSIHANDLE hMSIHandle); + ~CASetPermissionBOINC(); + virtual UINT OnExecution(); + +}; + + +#endif + diff --git a/win_build/installerv2/redist/Windows/src/boinccas/boinccas.def b/win_build/installerv2/redist/Windows/src/boinccas/boinccas.def index 9ca33a3910..e7ddcab740 100644 --- a/win_build/installerv2/redist/Windows/src/boinccas/boinccas.def +++ b/win_build/installerv2/redist/Windows/src/boinccas/boinccas.def @@ -22,6 +22,7 @@ EXPORTS GrantBOINCProjectsRights HideBOINCMasterProfile HideBOINCProjectProfile + SetPermissionBOINC SetPermissionBOINCData SetPermissionBOINCDataProjects SetPermissionBOINCDataSlots diff --git a/win_build/installerv2/redist/Windows/src/boinccas/boinccas.vcproj b/win_build/installerv2/redist/Windows/src/boinccas/boinccas.vcproj index df3aa9c570..9bbc5a2de1 100644 --- a/win_build/installerv2/redist/Windows/src/boinccas/boinccas.vcproj +++ b/win_build/installerv2/redist/Windows/src/boinccas/boinccas.vcproj @@ -425,6 +425,10 @@ RelativePath=".\CAHideBOINCProjectProfile.cpp" > + + @@ -570,6 +574,10 @@ RelativePath=".\CAHideBOINCProjectProfile.h" > + +