JP's profileWireless Earth, wireless...PhotosBlogLists Tools Help
    04 March

    Install Subversion on Windows

    • Download Subversion installation package

    Go to http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91 and find the latest version of Subversion for Windows, svn-win32-1.4.3.zip.

    • Install Subversion server and command-line client

    Unzip the package to installation target you selected, D:\Dev\svn-win32-1.4.3.

    Add environment variable SVN_EDITOR=C:\Program Files\Notepad++\notepad++.exe at Control Panel>System>Advanced>Environment Variables

    Add D:\Dev\svn-win32-1.4.3\bin to PATH.

    • Create a repository and configure access

    Create a folder as the parent of repository, H:\Svn.

    Run command prompt, go to D:\Dev\svn-win32-1.4.3\bin, run:

    svnadmin create "H:\Svn\repos"

    Edit H:\Svn\repos\conf\svnserve.conf, uncomment [general], anon-access = read, auth-access = write, and password-db = password lines, save.

    Edit H:\Svn\repos\conf\password, add user name and password.

    • Create Windows service for Subversion

    sc create Subversion binpath= "D:\Dev\svn-win32-1.4.3\bin\svnserve.exe --service --root H:\Svn\repos" displayname= "Subversion Repository" depend= Tcpip

    Further information, please refer to http://svn.collab.net/repos/svn/trunk/notes/windows-service.txt

    • Start Windows service

    Run command prompt, and run "net start Subversion".

    Verify it by run "svn list svn://localhost/"

    • Fix Chinese message display of command prompt

    Set environment variables

    LANG=zh_CN.UTF8

    APP_ICONV_PATH=D:\Dev\svn-win32-1.4.3\iconv

    • Start Working
    02 March

    Windows Media Player SDK - Step 1 Installation

    Purpose: customize Windows Media Player to provide integrated service

    • Find Windows SDK for Vista from MSDN package.
    • Install Windows SDK (Including Windows Media Player SDK) by run the setup.exe. (about 2GB space used)
    • Install Windows Media Player Wizard for VC 2005

    Seems the Visual Studio Registration tool shipped with Windows SDK does not finish this wizard installation, so I have to finish it manually.

    Copy "wmpwiz2005.vsz" and "wmpwiz.ico" from

    D:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\WMP_11\Wizards\VSNET\

    to

    C:\Program Files\Microsoft Visual Studio 8\VC\vcprojects\

    Rename "wmpwiz2005.vsz" to "wmpwiz.vsz"

    Edit "wmpwiz.vsz" and set:

    Param="ABSOLUTE_PATH = D:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\WMP_11\Wizards\VSNET"

    • Install Windows Media Online Service Wizard VC 2005

    Seems the Visual Studio Registration tool shipped with Windows SDK does not finish this wizard installation, so I have to finish it manually.

    Copy "wmpservices2005.vsz" and "wmpwiz.ico" from

    D:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\WMP_11\Wizards\services\

    to

    C:\Program Files\Microsoft Visual Studio 8\VC\vcprojects\

    Rename "wmpservices2005.vsz" to "wmpservices.vsz"

    Edit "wmpservices.vsz" and set:

    Param="ABSOLUTE_PATH = D:\Program Files\Microsoft SDKs\Windows\v6.0\Samples\Multimedia\WMP_11\Wizards\services"