The media that Visual Studio 2005 shipped on may be bad, preventing a successful installation.
To resolve this issue
Visual Studio 2005 setup may be run from a network share as an alternative to running setup from CDs or DVDs. The following procedure illustrates how to prepare Visual Studio 2005 for installation from a network share. The procedure refers to the Visual Studio 2005 CDs, but the steps are the same for DVDs.
- Create a folder (for example, VS2005) on the server.
- Create two subfolders, named VS, and MSDN within the top-level folder. For example:
VS2005\VS
VS2005\MSDN. - Copy the contents of the Visual Studio 2005 CDs into the VS2005\VS folder. Select Yes if prompted to overwrite any existing files.
- Copy the contents from all the CDs labeled MSDN Library for Visual Studio 2005 to the subfolder named MSDN. Select Yes if prompted to overwrite any existing files.
- Open Setup.ini in the VS subfolder using a text editor, such as Note:pad.
- In the [Documentation] section, change the line that starts with "DIR=" as follows:
[Documentation]
DIR=..\MSDN
Save your changes and close the file.
Note: Completing this step prevents disk-swapping requests during setup and informs the setup program of the correct path to the MSDN Library CDs. - In the VS subfolder, open the Setup folder.
- Open setup.sdb in a text editor, such as Note:pad, and add the following lines to the end of the file:
[Product Key]
XXXXXXXXXXXXXXXXXXXXXXXXX
Note: XXXXXXXXXXXXXXXXXXXXXXXXX is the 25 digit product key, entered without dashes, found on the CD packaging. - Save your changes and close the file.
Note: Completing this step enables pre-populating the product key for the user who will install from the network share. - Share the VS2005 folder on the network and set the appropriate security settings. The path to Visual Studio 2005 setup from the network looks like \\[servername]\VS2005\VS\setup.exe
Note: Setup will fail if any path and file name combination exceeds 260 characters. The maximum length of a path in Visual Studio is 221 characters. You should copy files to a path with less than 70 characters. If you create a network share for a network image, the UNC path to the root installation location should contain fewer than 39 characters.
Note: Setup might fail if the folder names in this path include embedded spaces, for example:
\\[servername]\VS2005\MSDN\
\\[servername]\VS2005\Visual Studio\
No comments:
Post a Comment