Commit Graph

89 Commits

Author SHA1 Message Date
Rom Walton bda057588a - WINSETUP: disable creation of client_auth.xml on Win2k.
Win2k requires any user account that is going to attempt
        to logon as another account to have admin privs.
    - WINSETUP: Give 'boinc_project' the right to be able to
        logon as a service, we denied the right to logon
        interactively.
    - WINSETUP: Disable the 'failed to shutdown BOINC service'
        dialog box.
    - CC: Use the client_auth.xml file if present to launch
        boinc applications as boinc_project if it exists.
    - LIB: Use the client_auth.xml file if present to launch
        boinc graphics applications as boinc_project if it
        exists.
        
    client/
        app_start.C
    lib/
        diagnostics_win.C
    lib/
        util.C, .h
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateBOINCGroups.cpp
        CACreateClientAuthFile.cpp
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp
        CAShutdownBOINC.cpp
    win_build/installerv2/redist/Windows/Win32/
        boinccas.dll
        boinccas95.dll
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll
        boinccas95.dll
    win_build/
        boinc_ss.vcproj
        boincmgr_curl.vcproj
        libboinc.vcproj

svn path=/trunk/boinc/; revision=14659
2008-02-01 22:08:48 +00:00
Rom Walton 6d6c8cc890 - WINSETUP: Don't configure MSI so that it'll attempt to stop the
BOINC service, we already do it much earlier in the install
        process
    - WINSETUP: Fix two typos in the CACreateBOINCGroups custom
        action.
    - WINSETUP: Include CACreateClientAuthFile in the build now.

    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.def
        boinccas.vcproj
    win_build/installerv2/redist/Windows/src/boinccas/
        CACreateBOINCAccounts.cpp
        CACreateBOINCGroups.cpp
        CACreateClientAuthFile.cpp, .h (Added)
        CAMigrateBOINCData.cpp
        stdafx.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=14657
2008-01-31 20:33:03 +00:00
Rom Walton 7364f8710d - WINSETUP: Fix the migration check where sometimes the data directory
was being detected as within the install directory even though it
        was not.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CAMigrateBOINCData.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=14654
2008-01-31 15:56:48 +00:00
Rom Walton c38bc8ce29 - WINSETUP: Fix failed termination attempts on Win64
win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        terminate.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=14598
2008-01-18 20:58:18 +00:00
Rom Walton 5f9b814832 - WINSETUP: Add some additional comments to the setup log when
we know we cannot do a migration and why.
    
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CAMigrateBOINCData.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=14558
2008-01-15 21:49:45 +00:00
Rom Walton ba42d89a33 - Fix a crash condition when BOINC is started as a standard user account
without the 'create global named objects' user right on Vista.
    - WINSETUP: Make sure that BOINC Tray is started for all users on the
        system.
    - WINSETUP: If the 'All users can control BOINC' checkbox is checked then
        put the BOINC Manager startup short cut in the 'all users' startup directory
        otherwise put it in the 'users' startup directory.
        
    clientlib/win/
        IdleTracker.cpp
    win_build/installerv2/
        BOINC.ism
    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=14531
2008-01-11 17:14:11 +00:00
Rom Walton 963c26d0d1 - WINSETUP: Attempt to shutdown any BOINC processes much earlier
in the execution cycle. Originally did this in the 5.10 branch.
    - WINSETUP: Add some more checks to safe guard the migration process.
        1.  Check to see if the install directory and the data directory are
            the same, if so, abort migration.
        2.  Check to see if the data directory is under the install directory,
            if so, abort migration.
        3.  If the client_state.xml file already exists in the data directory,
            abort migration.

    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.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=14393
2007-12-17 18:05:02 +00:00
Rom Walton 8a441431ca - WINSETUP: Fix a couple permission problems when protected
mode isn't defined.
    - WINSETUP: Streamline the CC startup procedure when
        the manager launches the CC.

    clientgui/
        BOINCGUIApp.cpp
    win_build/installerv2/
        BOINC.ism
    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=14382
2007-12-14 04:57:30 +00:00
Rom Walton 5e0ffd6e13 - WINSETUP: Replace two stage migration with a single stage
defered custom action, implement rollback functionality,
        and increase trace output in case of failure.
    - WINSETUP: Let MSI start the BOINC Service now.

    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CAMigrateBOINCData.cpp, .h
        CAMigrateBOINCDataTemp.cpp, .h (deleted)
        CAStartupBOINCService.cpp, .h (deleted)
    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=14377
2007-12-12 15:34:34 +00:00
Rom Walton 3bc88f376b - WINSETUP: Fix a few more permission problems with how
InstallShield does things.
    - WINSETUP: Don't attempt to create accounts or set rights
        on Win9x based systems.
    - WINSETUP: Add additional trace messages to
        CACreateBOINCAccounts.
    - WINSETUP: Add entries for a null script when creating
        user accounts, apparently it is a requirement for
        creating accounts on Win2k and WinXP.

    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CACreateBOINCAccounts.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=14341
2007-12-02 06:45:15 +00:00
Rom Walton 570224e001 - WINSETUP: Policy change, the migration of the data files happens in
two stages. The first stage happens before InstallInitialize and the
        second stage happens after InstallFinalize. Everything between
        InstallInitialize and InstallFinalize just generates a script
        and doesn't actually change the file system, so the permission trees
        just get screwed up.
    - WINSETUP: Updated CAMigrateBOINCData
    - WINSETUP: Created CAMigrateBOINCDataTemp
    - WINSETUP: Created CAStartupBOINCService
    - CC: Change the current working directory on startup to the DATADIR.
    - CC: Change the logic for pointing to the CA Certificate Bundle on
        Windows.
        
    client/
        http_curl.C
        main.C
    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.def
        boinccas.vcproj
        boinccas95.def
        boinccas95.vcproj
        CAGrantBOINCMasterRights.cpp
        CAGrantBOINCProjectRights.cpp
        CAMigrateBOINCData.cpp
        CAMigrateBOINCDataTemp.cpp, .h (Added)
        CAShutdownBOINC.cpp
        CAStartupBOINCService.cpp, .h (Added)
    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=14332
2007-11-30 16:31:30 +00:00
Rom Walton 9db94d9f2f - WINSETUP: Randomly generate boinc_master and boinc_project passwords
- WINSETUP: Fix permission problems with newly created directories.
        (Was an Installshield bug)
    - WINSETUP: Add CAMigrateBOINCData
    - WINSETUP: Fix long standing bug with the LAUNCHPROGRAM stuff showing
        up on removes and admin installs
    - Remove the admin required flag from all application manifests for
        all executables.
    - Fix a possible AV when the CC was launched without admin privs on
        Windows.

    clientlib/win/
        IdleTracker.cpp
    win_build/
        boinc_cli_curl.vcproj
        boinc_dll.vcproj
        boinccmd.vcproj
        boincmgr_curl.vcproj
        sim.vcproj
        updater.vcproj
        vistaadminrequired.xml (removed)
        vistaadminrequiredui.xml (removed)
    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.vcproj
        boinccas95.def
        boinccas95.vcproj
        CACreateBOINCAccounts.cpp
        CAGrantBOINCMasterRights.cpp
        CAMigrateBOINCData.cpp, .h (Added)
        dirops.cpp, .h (Added)
        password.cpp, .h (Added)
        stdafx.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=14331
2007-11-30 07:07:20 +00:00
Rom Walton 5a7f0eedb3 Quick Updates
svn path=/trunk/boinc/; revision=14322
2007-11-29 19:47:14 +00:00
Rom Walton 2b3dec7557 Quick Updates
svn path=/trunk/boinc/; revision=14318
2007-11-28 21:15:26 +00:00
Rom Walton b4171db597 - WINSETUP: Fix the various checkboxes
- WINSETUP: Fix the data directory stuff so if the user
        changes the default location it cascades down to the
        projects and slots directories as well.
    - WINSETUP: Fix the permissions on the install directory
    - WINSETUP: Add new public properties to the Save/Restore
        state custom actions.
    
    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        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=14317
2007-11-28 20:16:54 +00:00
Rom Walton ffec3482fd - WINSETUP: Update CACreateBOINCUsers.
- WINSETUP: Create CACreateBOINCGroups.
    - WINSETUP: Create CAGrantBOINCMasterRights.
    - WINSETUP: Create CAGrantBOINCProjectRights.
    - WINSETUP: Remove CACreateVBSShortcut.
    - WINSETUP: Remove CAGrantServiceExecutionRight.
    - WINSETUP: Remove CAMigrateCPDNBBC.
    - WINSETUP: Remove CAPopulateServiceAccount.
    - WINSETUP: Remove CAValidateServiceAccount.
    - WINSETUP: Remove CAVerifyServiceExecutionRight.
    - WINSETUP: Remove CAVerifyServicePassword.
    - WINSETUP: Hookup new custom actions
    
    NOTE: For some reason the advanced configuration screen
      checkboxes are not working, so the CA's are setup to run
      always to test them out.

    win_build/installerv2/
        BOINC.ism
    win_build/installerv2/redist/Windows/src/boinccas/
        CAGrantServiceExecutionRight.cpp, .h (removed)
        CAMigrateCPDNBBC.cpp, .h (removed)
        CAPopulateServiceAccount.cpp, .h (removed)
        CAValidateServiceAccount.cpp, .h (removed)
        CAVerifyServiceExecutionRight.cpp, .h (removed)
        CAVerifyServicePassword.cpp, .h (removed)
        CACreateBOINCUsers.cpp
        CACreateBOINCGroups.cpp, .h (added)
        CAGrantBOINCMasterRights.cpp, .h (added)
        CAGrantBOINCProjectRights.cpp, .h (added)

svn path=/trunk/boinc/; revision=14313
2007-11-28 15:10:21 +00:00
Rom Walton 38d4aecc0b Delete outdated .cvsignore files
svn path=/trunk/boinc/; revision=13814
2007-10-09 18:03:21 +00:00
Frank Thomas 3bfc78b511 Updated the postal address of the Free Software Foundation in all license headers. See http://lists.ssl.berkeley.edu/pipermail/boinc_dev/2007-October/008939.html for reference.
svn path=/trunk/boinc/; revision=13804
2007-10-09 11:35:47 +00:00
Rom Walton d3c852d201 - WIN INSTALL: Add custom action to create the two user accounts
needed to implement the sandbox.
      
      TODO: Still need a random password generator.
      
    win_build/installerv2/redist/Windows/src/boinccas
        boinccas.vcproj
        CACreateBOINCAccounts.cpp, .h (Added)

svn path=/trunk/boinc/; revision=13689
2007-09-27 17:54:54 +00:00
Rom Walton 7f7c8436ad - Win Install: ignore string case before comparing process names.
win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        terminate.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=13451
2007-08-24 17:20:33 +00:00
Rom Walton 04ef3b6795 - Win Install: Create a custom action for terminating the united
devices agent for WCG.
        
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.def
        boinccas.rc
        boinccas.vcproj
        CAShutdownUD.cpp, .h (Added)
    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=13441
2007-08-23 20:07:58 +00:00
Rom Walton 50d6ed1b94 - WinSETUP: The VBS custom action should delete the existing
VBS script in the various uninstall modes.

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateVBSShortcut.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=12842
2007-06-07 12:15:05 +00:00
Rom Walton db01d25150 - WinSETUP: The VBS custom action should delete the existing
VBS script when executing in uninstall mode.

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateVBSShortcut.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=12835
2007-06-06 14:53:54 +00:00
Rom Walton 12bad5f2bc - WinSETUP: Add an exception handler to the VBS script so if the
user cancels the launch of BOINC Manager at startup the script
        itself doesn't throw an error message.

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        CACreateVBSShortcut.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=12799
2007-06-01 15:36:09 +00:00
Rom Walton 71643c46e4 - fixes #220: 5.10.0 won't install on Win98
- fixes #11: Installer installs autostart command when not
        selected (Win9x)

    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        boinccas95.vcproj
        CACreateVBSShortcut.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=12774
2007-05-30 03:48:08 +00:00
Rom Walton 8591fd4c12 Quick Updates
svn path=/trunk/boinc/; revision=12769
2007-05-29 19:12:00 +00:00
Rom Walton 4899fb2b0f - Disable HtmlEntityEncode/HtmlEntityDecode on all platforms but
Windows for now.
    - Change all references of mb_str() to c_str() in SkinManager.cpp
        to avoid SIGILL's on Unicode environments.
    - fixes #215: Customize the VBS script used to launch BOINC Manager
        for each system we install on.

    clientgui/
        BOINCBaseView.cpp
        SkinManager.cpp
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/installerv2/redist/Windows/
        BOINC Manager.vbs (Deleted)
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.sln
        boinccas95.vcproj
        CACreateVBSShortcut.cpp, .h (Added)
    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=12764
2007-05-29 16:16:33 +00:00
Rom Walton b1add48d76 - Fix build break for Unicode builds
( From Frank Weiler )
    - Win: Introduce a custom action to delete any lingering binaries from the
        installation directory before MSI determines what needs to be copied.
    - Win: Introduce a custom action that will migrate
        C:\Program Files (x86)\BOINC to C:\Program Files\BOINC for the x64
        upgrade scenario.
    
    clientgui/
        BOINCGridCtrl.cpp
    win_build/installerv2/redist/Windows/src/boinccas/
        boinccas.rc
        boinccas95.def
        boinccas95.vcproj
        CACleanupOldBinaries.cpp, .h (Added)
        CAMigratex86x64.cpp, .h (Added)
    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=12554
2007-05-04 16:34:50 +00:00
Rom Walton 2610291eda Rom 18 Apr 2007
- fixes #7: Includes the last remaining files needed to build and
        package up 64-bit files for setup. We can now build and create
        64-bit windows installer packages.
        
    win_build/installerv2/
        BOINC.ism
        BOINCx64.ism
    win_build/installerv2/redist/Windows/src/
        <Numerious Files>
    win_build/installerv2/redist/Windows/x64/
        boinccas.dll (Added)
        boinccas95.dll (Added)
        dbghelp95.dll (Added)

svn path=/trunk/boinc/; revision=12415
2007-04-18 21:12:43 +00:00
Rom Walton c498b3f1a4 *** empty log message ***
svn path=/trunk/boinc/; revision=12366
2007-04-13 18:35:27 +00:00
Rom Walton fbdcb1bd04 *** empty log message ***
svn path=/trunk/boinc/; revision=12354
2007-04-12 20:08:52 +00:00
Rom Walton 81d4b06e8e *** empty log message ***
svn path=/trunk/boinc/; revision=12102
2007-02-17 20:56:16 +00:00
Rom Walton ab11bce877 *** empty log message ***
svn path=/trunk/boinc/; revision=12091
2007-02-15 07:41:13 +00:00
Rom Walton aff2533e23 *** empty log message ***
svn path=/trunk/boinc/; revision=12084
2007-02-14 22:42:58 +00:00
Rom Walton caad03840a *** empty log message ***
svn path=/trunk/boinc/; revision=12071
2007-02-12 21:41:48 +00:00
Rom Walton 98dca861c7 *** empty log message ***
svn path=/trunk/boinc/; revision=11804
2007-01-08 18:42:48 +00:00
Rom Walton 590a2d527c *** empty log message ***
svn path=/trunk/boinc/; revision=11775
2007-01-05 19:36:50 +00:00
Rom Walton ac416bb227 *** empty log message ***
svn path=/trunk/boinc/; revision=11774
2007-01-05 09:43:34 +00:00
Rom Walton 2b399ada16 *** empty log message ***
svn path=/trunk/boinc/; revision=11773
2007-01-05 08:49:02 +00:00
Rom Walton 35f07fa77d *** empty log message ***
svn path=/trunk/boinc/; revision=11755
2007-01-02 17:47:25 +00:00
Rom Walton 4fcb8bf5eb *** empty log message ***
svn path=/trunk/boinc/; revision=10765
2006-07-26 20:13:59 +00:00
Rom Walton f47a3d4880 *** empty log message ***
svn path=/trunk/boinc/; revision=10451
2006-06-22 02:26:22 +00:00
Rom Walton 03dafabae1 *** empty log message ***
svn path=/trunk/boinc/; revision=10441
2006-06-21 19:43:03 +00:00
Rom Walton 49b235cb23 *** empty log message ***
svn path=/trunk/boinc/; revision=10408
2006-06-20 09:20:03 +00:00
Rom Walton 39983aec3f *** empty log message ***
svn path=/trunk/boinc/; revision=10043
2006-04-27 18:45:15 +00:00
Rom Walton 251a7ed930 *** empty log message ***
svn path=/trunk/boinc/; revision=10032
2006-04-26 21:43:56 +00:00
Rom Walton 20e46b2890 *** empty log message ***
svn path=/trunk/boinc/; revision=9871
2006-04-13 09:06:26 +00:00
Rom Walton 12b42b1fa4 *** empty log message ***
svn path=/trunk/boinc/; revision=9830
2006-04-10 21:09:40 +00:00
Rom Walton e0c44944de *** empty log message ***
svn path=/trunk/boinc/; revision=9826
2006-04-09 22:43:40 +00:00
Rom Walton 7f4d448522 *** empty log message ***
svn path=/trunk/boinc/; revision=9825
2006-04-09 21:54:11 +00:00