TOW (Trac On Windows) Blog

March 7, 2008

How to install TOW to the other folder not C:\TOW (not pefect, but useful)

Filed under: Install, User Guide — Tags: , , , , , , — yeoupooh @ 11:36 am

I’ve tried installation on the other folder. It’s almost perfect except Python.

So, if you want to install to your own TOW folder, follow below. (ex. %TOW_HOME% is D:\Apps\TOW)

  1. Unzip TOW-*.zip to D:\Apps.
  2. Open %TOW_HOME%\set-tow.bat file and replace strings like below.

    set TOW_HOME=D:\Apps\TOW

  3. Open %TOW_HOME%\Apache\conf\httpd.conf file and replace strings like below.

    C:/TOW -> D:/Apps/TOW

  4. Open all %TOW_HOME%\SetupTracRepo\Projects\HelloTOW\conf\*.tpl files and replace strings.

    C:\TOW -> D:\Apps\TOW
    C:\\TOW -> D:\\Apps\\TOW

  5. Open %TOW_HOME%\create-svn-repo.bat file and replace.

    C:/TOW -> D:/Apps/TOW

  6. Copy %TOW_HOME%\Python folder to C:\TOW\Python
  7. Run %TOW_HOME%\start-tow.bat

If you have already installed on C:\TOW and want to move D:\Apps\TOW, you need something to do it working.

  1. Open %TOW_HOME%\TracRepo\Projects\%PROJECT_NAME%\trac.ini file and replaces strings like below.

    C:\TOW -> D:\Apps\TOW
    C:\\TOW -> D:\\Apps\\TOW

  2. Resync Trac repository.D:\Apps\TOW>trac-admin.bat %PROJECT_NAME% resync
  3. That’s it.

I hope it helps you.

P.S. Anyone have an idea to move Python to the other folder?




    cmd> mountvol


    cmd> mountvol c:\TOW {63813d42-7d42-11dc-92ca-806d6172696f}

    이렇게 해주면 c:\TOW 폴더가 D드라이브로 통채로 마운트 됩니다 😀

    Comment by blushine — April 30, 2008 @ 8:42 am

  2. for moving Python to the other folder(for me it`s :\\Server\\tracOnWindows_TOW030a1\\Python),
    you can do as following:

    Windows Registry Editor Version 5.00



    @=”Python 2.5″


    Windows Registry Editor Version 5.00
    [HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]

    then ,import that 2 reg files to your windows system,I tried and it works very well…

    your tracOnWindows is great ,but no php,no phpmyadmin ,no mysql,no any modules ,so now i use WampServer2 from

    it will be great if thereis a portable wampserver2 for trac version…:))

    Comment by yanni — December 16, 2008 @ 7:26 am

  3. Thank you for giving a great information, yanni.
    Next time, I will try a portable wampserver 2 for trac.

    Comment by yeoupooh — December 16, 2008 @ 7:46 am

  4. i have made wampserver2 and xampp with trac ,but not portable yet,cos i must add some Subversion/bin and python directorys to the SYSTEM PATH and reboot … :))

    Comment by yanni — December 18, 2008 @ 7:33 am

  5. yanni,

    I am afraid that the portable Trac(or TOW) settings will be changed whenever hard drive name is changed.

    Anyway keep on with good work.

    Comment by yeoupooh — December 22, 2008 @ 6:42 am

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at

%d bloggers like this: