Your scripts should be this.

2006-06-20
2013-04-11
  • Robert Eckhoff

    Robert Eckhoff - 2006-06-20

    step2.cmd should read:  The changes should keep you from being hardcoded to your current Program Files installation point that is not valid in Windows for other languages. Make sure you see the quotes around the evolution command.  Also, please move the path "%PATH%" to the back of the custom environment that you are setting.  You aren't setting the environment for the whole system (but only for this program) so you shouldn't let a user's random cygwin/gtk versions of your dll's take precedence over the files that you have deemed better.

    @echo off
    echo Configuring Path
    set EVO_HOME=%CD%
    set PATH=%EVO_HOME%\bin;%EVO_HOME%\lib\evolution\2.6\components;%PATH%;
    echo.
    echo Starting Evolution 
    echo.
    echo Yes, I know this takes a while. Sorry.

    "%EVO_HOME%\bin\evolution-2.6.exe"

    echo.
    echo Cleaning up left over processes
    c:\Windows\system32\tskill.exe /a evolution*
    C:\Windows\system32\tskill.exe /a bonobo*
    C:\Windows\system32\tskill.exe /a gconfd*
    RD "%TMP%\orbit-%USERNAME%" /S /Q
    RD "%TMP%\gconfd-%USERNAME%" /S /Q
    RD "%USERPROFILE%\.gconfd" /S /Q
    echo Done
    exit

    The above change in code means that you don't need to have the evolution.cmd batch script.  Simply you need to tell the nullsoft installer to make shortcuts with the following target. Telling it to exchange these paths for the paths where evolution is installed.

    "C:\Program Files\Evolution\StartX.exe" /D C:\Program Files\Evolution /B "step2.cmd"

    Thanks,
    These changes hopefully should fix everyone's no visible window problem.

    Robert

     
    • Gaetano Giunta

      Gaetano Giunta - 2006-06-20

      Olase also note that 'windows' reads 'winnt' on windows 2000, and tskill (or taskkill) is not installed by default.

      You could either bundle pskill from sysinternals, or use some magic vbs script that does it from MS script center...

       
    • philippines

      philippines - 2006-06-20

      The C:\Windows should be replaced with %WINDIR% and the references to C:\Program Files should be changed to %ProgramFiles%

       
    • Mr. Joe Nobody

      Mr. Joe Nobody - 2006-06-20

      Did all that, it runs, but no GUI.
      Here is my cmd file.

      @echo off
      echo Configuring Path
      set EVO_HOME=%ProgramFiles%\Evolution
      set PATH=%EVO_HOME%\bin;%EVO_HOME%\lib\evolution\2.6\components;%PATH%;
      echo.
      echo Starting Evolution 
      echo.
      echo Yes, I know this takes a while. Sorry.

      "%EVO_HOME%\bin\evolution-2.6.exe"

      echo.
      echo Cleaning up left over processes
      %WIndir%\system32\tskill.exe /a evolution*
      %WIndir%\system32\tskill.exe /a bonobo*
      %WIndir%\system32\tskill.exe /a gconfd*
      RD "%TMP%\orbit-%USERNAME%" /S /Q
      RD "%TMP%\gconfd-%USERNAME%" /S /Q
      RD "%USERPROFILE%\.gconfd" /S /Q
      echo Done
      EXIT

       
      • Marcos Pinto

        Marcos Pinto - 2006-06-20

        which version of windows?  Win2k version will be released soon.  the one currently out only works for win xp.  which installer are you using?  -1 or -2?

         
        • Brad Pitcher

          Brad Pitcher - 2006-06-20

          it works fine for me on windows 2003 server.

           
    • Erik Vigmostad

      Erik Vigmostad - 2006-06-20

      I am using -2 and have changed step2.cmd as per above.  Nothing.

       
    • Marcos Pinto

      Marcos Pinto - 2006-06-20

      Try 2.6.2-3 and dont change the scripts that come with it.  Make sure you completely remove the old install

       
    • Gaetano Giunta

      Gaetano Giunta - 2006-06-21

      I have just done a quick test on 2.6.2-3.

      The startup scripts are fine, even though I am running on an italian win2k machine (and I have both Programmi and Program Files dirs on my C drive). congrats!

      The vbs script designed to kill the spawned processes still does not cut it, though: bonobo-activation and childern are not killed.

      Afaict that these processes are not listed with their full names, but only with an abbreviation, so that the select statement does not find them.

      Process names listed are:
      bonobo-activati
        evolution-excha
        evolution-alarm
        evolution-data-

      bye
      Gaetano

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks