VSS installation instructions

Source: Internet
Author: User
1. VSS features

It is hard to imagine and impossible to complete the current software project by one person. Generally, there is a R & D team for joint analysis, design, coding and maintenance, A dedicated test team is also available to fully test software that has completed Code debugging. In this huge and complex process of software development, various personnel need to be involved. The communication and feedback of information is not only between members of the R & D team and between various R & D teams, it also exists between customers and developers. All the feedback may lead to modifications to the software. Small changes may be made to the definition of a variable in a source file, so as to redesign the program module or even the wholeRequirement AnalysisChange. In this project, due to the inherent characteristics of software development, many software versions may be formed, and we cannot guarantee that there will be no wrong modifications, such a difficult situation is very realistic in front of the Project Development Manager. Therefore, a mechanism is urgently needed for management. VSS can maintain multiple versions of a file, including a record of modifications made between different versions.

1.1 version control 1.1.1 intra-group coordination

In general, make sure that only one member modifies a specific file at any time, so that the file is accidentally updated by other Members. Of course, the VSS administrator can change this default setting to allow multiple Checkout operations on a single file at the same time, and prohibit other modifications from being overwritten.

1.1.2 version tracking

Source code and other files of earlier versions are archived and tracked, and these versions can be re-obtained for bug Tracking or other purposes.

1.1.3 cross-platform development

Supports Version Control for the same code across multiple development platforms.

1.1.4 reuse or object-oriented code

Tracks programs that use code that can be reused.

2 VSS Installation

Step 1: Decompress the Visual SourceSafe 2005 installation package.

Step 2: Find setup.exe and double-click to run the installation.

 

 

Step 3: select the check box I accept the terms of the License Agreement in the pop-up interface to agree to the VSS user protocol.

 

Step 4: enter the correct serial number. By default, the serial number has been filled in, so select Next.

 

 

Step 5: select the installation feature in this step, which includes Default (Default), Full (complete), and Custom (Custom) installation. Generally, you can select Default for Default installation, select the installation path on the right side of the form and click Install ).

 

 

Step 6: you only need to wait for this step. It will automatically run the installation. A total of three parts need to be installed:. NET Framework 2.0; Document Explorer 2005 and Visual SourceSafe 2005.

 

 

Step 7: When you see the installation, congratulations. The installation is successful. Select Finish to complete the installation.

 

3. Server Configuration

VSS administrator is a server-side tool used to manage VSS databases, users, organizational attributes, and permissions.

3.1 create a DataBase

Step 1: Start → find the directory where Visual SourceSafe is installed in the program, select Visual SourceSafe Administration in it to run the server and log on to it, for example:

 

 

Step 2: select New Database under File to create VSS data, and click "Next" in the pop-up window ".

Note: select the Creation Path. Before selecting the Creation Path, you must create a folder on the disk of your computer and set the folder to share, the permission must be set to allow modification and reading.

 

 

 

 

 

Step 3: Click Browse to find the new folder and click "Next", for example:

 

 

Step 4: change the data connection name. Generally, keep the default folder name and click "Next ".

 

 

Step 5: click "finish ". OK

 

 

3.2 Create a user

To create a client user, follow these steps:

Step 1: Select Add User under Users.

 

 

Step 2: Enter the user name and password and click "OK". The user is successfully added!

 

 

4. Client Configuration

Step 1: Start → find the directory where Visual SourceSafe is installed in the program, select Microsoft Visual SourceSafe in it to run the client and log on to it, for example:

 

Step 2: In the login window, enter the username and password created on the server just now, and click "Browse" next to the Database to select the Database. The procedure is as follows:

 

 

Click "Browse". The following dialog box is displayed.

 

 

Click "Add" to bring up the "select database" dialog box.

 

 

Click "Next". For example, the first option is to connect to an existing database, and the second option is to create a new database. Select the first item here.

 

 

Click "Next" to display the following dialog box

 

 

Click "Browse" next to "location" and select the "scrsafe .. ini" file on the server.

After the server is selected, click "OK" on the logon page. Enter the VSS client.

Note: Set the working directory-data upload and download to the local hard disk. 1. All operations can be performed only after the working directory is set. 2. When checking out, we recommend that you do not move files at any time; otherwise, you cannot upload and update data. 3. The files stored in the VSS work object. I suggest clearing some folders frequently (you can also choose to move local copy when checking in, but it will not be saved on the local hard disk ). 4. VSS does not support built-in refresh. You can only manually refresh it. Click "F5.

5. Detailed operations on the client 5.1 Add a project

 

To add a folder, right-click and select "Create project" to add a new folder.

 

 

5.2 add and delete files 5.2.1 add files

To add a file, select a folder and click the Add file icon in the taskbar. In the displayed dialog box, select the file to be added, click "open", and then click "OK.

 

5.2.2 delete an object

Select the file to be deleted, right-click and select "delete ". In the pop-up dialog box, there is a check box. Select the check box to completely delete the file.

 

 

5.3 Check out and check in operations

All files exist in the VSS database project, and developers cannot work on the master backup (and server) files in VSS (except for checking and comparing versions and other special circumstances) instead, VSS provides each Member with a copy in their working directory for work. Before performing this operation, you must first determine your working directory. If there is content in VSS, you can select one or more files and directories for the Check Out operation, that is, these files or all files under the Directory have been retrieved and modified by the current user, other users can only View, but cannot Check Out, to ensure consistency (a file will not be modified by multiple users at the same time ).

5.3.1 Check out

Select File-check out (right-click). The check out flag is set for the files in the VSS database, indicating that the file is being checked out and is being modified; check out the copy file in the working path you set. (Don't get local copy ). Others cannot modify the file or check out the file. They can only View. And get latest version.

 

5.3.2 Check in

Select the file or directory to be checked out, select SourceSafe from the menu, or right-click the check in command in the menu to put the modified file into the VSS library. (Remove Local Copy). When you Check in, make sure that your path has not changed. Otherwise, the operation fails (remove local copy ).

 

 

 

5.3.3 create a check out high-level report

 

List of all checked-out files in a project. This feature is useful when the current project contains all sub-projects cyclically. VSS checks every file in each related project and generates a list of checked-out files. You can immediately know whether you can establish connections (or who you should look for if you cannot ). Select the View "Search" Status Search Command and select the report generation range.

5.3.4 Undo check out Undo key

Cancel the modification and restore the operation to the status before checking out. For example:

 

5.4 Get latest verstion Get the latest version

Download the latest version to the local working directory.

If this option is selected for Recurive, you can download the sub-directories that contain this option. When a single file is selected, the upload folder contains the sub-folder.

 

 

 

5.5 Edit file

The check out and edit steps are completed at the same time. The file is directly opened and edited Based on the Application associated with the file. This operation is only suitable for modifying a single file.

5.6 Show history View File history

All version control systems have file history reports, recording the operation history of each file. Can be restored to the previous version. The SS also supports generating reports through the project itself, allowing you to browse all the modifications in the project. It saves time to retrieve and modify information. Select Tools from the menu or right-click Show History.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.