Commit Graph

154 Commits

Author SHA1 Message Date
Rom Walton 5cbdbe7977 - WINSETUP: Provide the ability to create the acct_mgr_login.xml from
from the command line.  Useful for mass deployments within companies
        and charities.


svn path=/trunk/boinc/; revision=26013
2012-08-13 19:46:04 +00:00
Rom Walton f6ac59104b - WINSETUP: Fix long standing installer bug where we were attempting
to add the boinc_master account to the boinc_admins group when
        installing in the non-service install mode.  boinc_master is only
        created during service installs.  This was causing a setup failure
        on Windows 8. As far as I can tell it should have also been failing
        on Win7 and WinVista.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCGroups.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=25594
2012-04-24 17:05:56 +00:00
Rom Walton f9ec8681f0 Quick Updates
svn path=/trunk/boinc/; revision=24954
2011-12-31 03:59:27 +00:00
Rom Walton 9eb3d91e77 - WINSETUP: Give 'boinc_admins' and 'boinc_projects' the ability to access and
launch the VirtualBox server-side application.  This should complete the
        needed work to run VirtualBox within the Windows sandboxed environment.
    - WINSETUP: Remove the virtualized file system tag from the Windows Explorer
        copied security token when launching BOINC Manager and BOINC Tray after
        setup has completed.  I believe this will resolve the new cookie issue
        experienced by PTP/GR/CE.

    win_build/installerv2/redist/Windows/src/boinccas/
        aclmgmt.cpp
        boinccas.def
        boinccas.vcproj
        CAGrantBOINCAdminsVirtualBoxRights.cpp, .h
        CAGrantBOINCProjectsVirtualBoxRights.cpp, .h
        CALaunchBOINCTray.cpp, .h
        dcomperm.h
        launcher.cpp
        listacl.cpp
        sdmgmt.cpp
        srvcmgmt.cpp
        utils.cpp
        wrappers.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=24951
2011-12-30 22:38:10 +00:00
Rom Walton bd62f4203b Quick Updates
svn path=/trunk/boinc/; revision=24833
2011-12-19 23:42:03 +00:00
Rom Walton 9d0553f7ea - WINSETUP: Copy the explorer primary token to get processes launched by the setup
process to launch with reduced permissions.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.vcproj
        CALaunchBOINCManager.cpp
        launcher.cpp, .h
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=24826
2011-12-19 20:45:32 +00:00
Rom Walton ade8957656 Quick Updates
svn path=/trunk/boinc/; revision=24788
2011-12-14 00:24:34 +00:00
Rom Walton 20ec2b2ac4 - MGR: Add IE8-10 support for browser cookies when UAC is enabled. Use the
supported API.  It appears MS changed the cookie file format in their
        latest browsers which broke our hack.  I have to leave the hack in
        for now because IE7 on Vista didn't expose the IEGetProtectedModeCookie
        API.
    - WINSETUP: Start BOINCMgr as a restricted process on Windows Vista+.
    
    clientgui/
        browser.cpp
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.vcproj
        CALaunchBOINCManager.cpp, .h
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=24777
2011-12-12 23:56:56 +00:00
Rom Walton f35b34ca30 - WINSETUP: Add more logging to the create group and add user to group
functions in an attempt to figure out what is going on with Windows 8.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CACreateBOINCGroups.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=24310
2011-09-30 17:56:34 +00:00
Rom Walton e341bbfd47 - WINSETUP: Avoid a 0xc0000135 error by giving the boinc_master and
boinc_project membership in the 'Users' group.  Dynamic linking
        to nvcuda.dll was failing because the project applications were
        being denied access to DLLs in the system directory.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCGroups.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=22976
2011-02-01 18:12:37 +00:00
Rom Walton 9fc06ef7cf - WINSETUP: Update validate install procedure to account for the
removal of boinclog.exe.
    
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CAValidateInstall.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=22021
2010-07-21 17:38:48 +00:00
Rom Walton 2179576c93 - WINSETUP: Update validate install procedure to account for the
removal of boinc.dll and addition of boinclog.exe.
    - MGR: Move auto-proxy detection code into its own thread.
    
    client/
        main.cpp
        sysmon_win.cpp
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CAValidateInstall.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=22009
2010-07-19 22:09:45 +00:00
Rom Walton c4ac8a8eb5 Quick Updates
svn path=/trunk/boinc/; revision=21177
2010-04-14 21:02:46 +00:00
Rom Walton 99a58f221d Quick Updates
svn path=/trunk/boinc/; revision=21175
2010-04-14 20:54:46 +00:00
Rom Walton 1cfd7e85a8 - WINSETUP: Add support for the <team_name> tag in the Windows
installer for the auto created project_init.xml file.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateProjectInitFile.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=21147
2010-04-08 18:16:09 +00:00
Rom Walton 51dadc6c64 Quick Updates
svn path=/trunk/boinc/; revision=19633
2009-11-19 00:20:56 +00:00
Rom Walton 236e6fb9f3 - WINSETUP: Add the PROJINIT_URL and PROJINIT_AUTH properties
to the installer custom action code, a project_init.xml
        file will be created in the data directory.
        
    win_build/installerv2/redist/Windows/src/boinccas
        boinccas95.vcproj
        CACreateProjectInitFile.cpp, .h
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=19548
2009-11-12 18:18:56 +00:00
Rom Walton 917308513b - WINSETUP: Remove the 'SeDebugPrivilege' prev from the list of privs
the installer sets for BOINC.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CAGrantBOINCAdminsRights.cpp
        CAGrantBOINCUsersRights.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=19361
2009-10-21 18:37:53 +00:00
Rom Walton b670b2da38 - WINSETUP: Prevent a pathing problem with the client_auth.xml
creation by prepending a \ in front of the filename.
        
    winbuild/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateClientAuthFile.cpp
    winbuild/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    winbuild/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=18669
2009-07-23 20:31:25 +00:00
Rom Walton ab8bc04995 - WINSETUP: Add the PTP executable to the list of processes to terminate
when setup is launched.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CAShutdownBOINCManager.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=18514
2009-06-30 03:16:35 +00:00
Rom Walton c43295cc21 - WINSETUP: Provide a mechinism in the installer where the installer
can override the previous stored state from a previous installation.
        
        NOTE: Needed becuase PTP isn't going to be supporting 'Application
          execution mode', at least not with the initial installer.
          
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CARestoreSetupState.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=18466
2009-06-19 17:49:38 +00:00
Rom Walton 1dd1812787 - WINSETUP: Change the install validation code so that it reads the MSI
database to determine what executable names to check instead of
        hard coding them. BOINCMGR is renamed to Progress Thru Process or
        in the case of GridRepublic it would be GridRepublic Desktop.
        
    win_build/installerv2/
        Progress.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.cpp, .h
        CAValidateInstall.cpp
        CAVerifyInstallDirectories.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=18396
2009-06-12 16:29:25 +00:00
Rom Walton c8808b1690 svn path=/trunk/boinc/; revision=17778 2009-04-10 15:54:25 +00:00
Rom Walton 1a8e70d5f6 - WINSETUP 'Everyone' is not just a group, it is a well known
group.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CASetPermissionBOINC.cpp
        CASetPermissionBOINCData.cpp
        CASetPermissionBOINCDataProjects.cpp
        CASetPermissionBOINCDataSlots.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=17772
2009-04-09 22:31:33 +00:00
Rom Walton 47cb6533e8 - WINSETUP: On some setups, how we were including the 'Everyone' well
known security ID in the boinc_users group didn't work properly.
        
        From now on include the 'Everyone' security ID in the various
        ACLs instead.  This will probley clean up a wide range of
        various issues with multi-user installs.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCGroups.cpp
        CASetPermissionBOINC.cpp
        CASetPermissionBOINCData.cpp
        CASetPermissionBOINCDataProjects.cpp
        CASetPermissionBOINCDataSlots.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=17738
2009-04-07 16:51:09 +00:00
Rom Walton ceb67571c7 - WINSETUP: When uninstalling, don't migrate the client data back
to the 5.x location.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.cpp

svn path=/trunk/boinc/; revision=17737
2009-04-06 20:11:35 +00:00
Rom Walton a7699be8a9 - WINSETUP: Update custom actions in case the goofy setup
problems are related to old custom actions.  I don't
        really think this is it, but i'm running out of ideas.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=16884
2009-01-12 18:06:48 +00:00
Rom Walton 68ae8d069f Quick Updates
svn path=/trunk/boinc/; revision=16699
2008-12-16 18:51:06 +00:00
Rom Walton 378561d155 - WINSETUP: Make sure we don't try and do anything with the
SeDenyRemoteInteractiveLogonRight user right on Windows 
        2000 or older. Fixes 
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CAGrantBOINCAdminsRights.cpp
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp
        CAGrantBOINCProjectsRights.cpp
        CAGrantBOINCUsersRights.cpp

svn path=/trunk/boinc/; revision=16674
2008-12-12 21:47:38 +00:00
Rom Walton eb6c893b30 - WININSTALL: Disable "Protected Application Execution" mode
by default.
    - WININSTALL: Turn off the check for Internet Explorer 5.x

    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCAccounts.cpp
        CACreateBOINCGroups.cpp
        CACreateClientAuthFile.cpp
        CARestoreSetupState.cpp
        CASaveSetupState.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=16631
2008-12-05 21:23:19 +00:00
Rom Walton 7c250e026f Quick Updates
svn path=/trunk/boinc/; revision=16456
2008-11-10 16:55:33 +00:00
Kevin Reed c16417bf51 Prevent cc_config.xml from being deleted if the volunteer customized it.
svn path=/trunk/boinc/; revision=16368
2008-10-30 21:30:56 +00:00
Rom Walton a163097059 svn path=/trunk/boinc/; revision=16275 2008-10-23 03:14:52 +00:00
Rom Walton 3a829d1912 Quick Updates
svn path=/trunk/boinc/; revision=16218
2008-10-15 20:14:11 +00:00
Kevin Reed e4c9d03acc Revert to prior version, my environment changed more in the build file then desired. I will let Rom add in the CCConfigMd5sum .h/.cpp files
svn path=/trunk/boinc/; revision=16170
2008-10-09 17:13:30 +00:00
Kevin Reed 5bcece3aae Final version. This allows for the removal of the prior version of the cc_config.xml file distribution with the 5.10.45 WCG version of BOINC. It does not remove the file if it has been modified or different from the version distributed.
svn path=/trunk/boinc/; revision=16169
2008-10-09 16:57:37 +00:00
Kevin Reed 3cb57a1306 Add CACCConfigMd5sum
svn path=/trunk/boinc/; revision=16126
2008-10-04 01:42:51 +00:00
Kevin Reed 5152c2a74b Functions to check the md5sum for the an existing cc_config.xml file to determine if it can be replaced or if a previous version has been customized by the user
svn path=/trunk/boinc/; revision=16123
2008-10-03 21:57:02 +00:00
Rom Walton 59b5bbf772 svn path=/trunk/boinc/; revision=16018 2008-09-18 17:42:11 +00:00
Rom Walton 90d1109bfe - winsetup: Change the delete file after reboot code to use
MoveFileEx instead of the RunOnce registry key.  It does what
        I was originally trying to do directly to:
        HKLM\SYSTEM\CurrentControlSet\Control\
        Session Manager\PendingFileRenameOperations
        But I ran into issues across various versions of Windows.
        
        Thanks to Nicolas Alvarez for pointing out the API.
    - scrsave: Some more screensaver clean-up.
    - lib: Fix an infinate loop problem in get_exit_status,
        luckly BOINC wasn't using it.
        
    clientscr/
        screensaver.cpp
    lib/
        util.C
    win_build/installerv2/redist/Windows/src/boinccas/
        CAValidateRebootRequest.cpp

svn path=/trunk/boinc/; revision=15945
2008-08-29 19:06:04 +00:00
Rom Walton 7ef56029e7 - WINSETUP: For safety sake, disable the logon via terminal services
user right for both boinc_master and boinc_project.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp

svn path=/trunk/boinc/; revision=15916
2008-08-21 16:42:40 +00:00
Rom Walton 95eb044ef1 - WINSETUP: Make sure we kill the manager on WinNT based systems instead
of requesting a graceful exit first.  For some reason, every once
        and awhile the installer gets stuck in the call to SendMessage()
        which in turn is waiting on the manager to come out of whatever
        event processing code it is stuck in. I don't know if the manager
        is stuck in wxWidget code or not, but the installer shouldn't
        ever get stuck waiting on a hung app.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        CAShutdownBOINCManager.cpp

svn path=/trunk/boinc/; revision=15634
2008-07-18 18:01:58 +00:00
Rom Walton cd07d91c0f - WINSETUP: Don't create the flag file until after the migration phase
has been completed.
    - WINSETUP: Use real quotes around the delete file command instead of
        tick marks, the Windows shell throws an error
    - WINSETUP: Instead of calling the Windows API to determinethe various
        special folders, use the MSI properties which match the 'choose folder'
        dialog. We can skip the step if doing a case insensitive compare.
        Plus it appears that MSI normalizes the paths for us.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.cpp
        boinccas95.def
        boinccas95.vcproj
        CAMigrateBOINCData.cpp
        CAValidateRebootRequest.cpp, .h (Added)
        CAVerifyInstallDirectories.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=15606
2008-07-15 21:15:05 +00:00
Rom Walton f18540bf78 - WINSETUP: Create a flag file that can be used to keep either the
manager or the CC from starting until a reboot has been
        performed.  Flag the file for deletion after a reboot has been
        performed.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.cpp
        boinccas.rc
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=15604
2008-07-14 21:23:07 +00:00
David Anderson d0ca745a0b - client, Linux: change CUDA probing.
libcudart{32,64}.so is bundled with client.
    client loads it and if successful calls the device-query functions.
- client, Linux: append the current directory
    (i.e., the BOINC data directory) to the LD_LIBRARY_PATH for apps.
    This goes after the project dir and the slot dir.
    This lets apps link to libcudartX.so.
    NOTE: this is not recommended; better to include it with your app.
- client: allow for multiple messages from coproc probing
- fixed indentation in cs_platforms.C


svn path=/trunk/boinc/; revision=15591
2008-07-10 21:57:18 +00:00
Rom Walton bf532fdbc1 - WINSETUP: Normalize the special paths checks.
win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.cpp
        CAVerifyInstallDirectories.cpp

svn path=/trunk/boinc/; revision=15585
2008-07-09 16:44:14 +00:00
Rom Walton f5af62882f - WINSETUP: Prevent certain special paths from being used for either
the install directory or the data directory. Prevent this from
        both the UI component of setup, and if the situation is detected
        from the migration custom action, skip migration.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CAMigrateBOINCData.cpp
        CAVerifyInstallDirectories.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=15567
2008-07-08 17:51:19 +00:00
Rom Walton 288c0df997 - WINSETUP: Change the custom action descriptions for those custom
actions that deal with user rights and privileges and user
        accounts.
    - WINSETUP: Add some basic benchmarking code for user rights and
        privileges

    win_build/installerv2/redist/Windows/src/boinccas/
        CACreateBOINCAccounts.cpp
        CACreateBOINCGroups.cpp
        CAGrantBOINCAdminsRights.cpp
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp
        CAGrantBOINCProjectsRights.cpp
        CAGrantBOINCUsersRights.cpp
        CAMigrateBOINCData.cpp

svn path=/trunk/boinc/; revision=15546
2008-07-03 18:37:20 +00:00
Rom Walton e3037aa5e2 - WINSETUP: Store and cleanup a set of flags to avoid repeatedly
migrating data back and forth.
    - WINSETUP: If the migration uninstall routine detects a newer
        version of BOINC being installed, skip the uninstall process.

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        boinccas95.def
        boinccas95.vcproj
        CAMigrateBOINCData.cpp
        CAMigrateBOINCDataCleanup.cpp, .h (Added)
        CAMigrateBOINCDataVersion.cpp, .h (Added)
        CAValidateInstall.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll

svn path=/trunk/boinc/; revision=15466
2008-06-25 17:28:50 +00:00
Rom Walton e12793172a Bug Fixes and binary updates
svn path=/trunk/boinc/; revision=15439
2008-06-19 22:32:01 +00:00