Microsoft Visual Studio 2005 Professional Edition

Version: 8
Views: 3.1k  |  Created: 03/09/2006

Average Rating: 0
Visual Studio 2005 Professional Edition has 1 inventory records, 0 Questions, 0 Blogs and 5 links. Please help add to this by sharing more!

Deployment Tips (5)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 3 / 5 (Average) based on 2 ratings
Most Commonly Reported Deployment Method
Windows Installer with Custom Transform (MST)
or cancel
118
Note
Packaged and pre-distributed MSXML6, Document Explorer 2005 and Visual J# 2.0 Redistributable

For Document Explorer and Visual J# I created a transform to drop the CA "To install this product please run Install.exe"

Created an admin install and generared transform using
\setup\setup.exe /CreateTransform=MSO-VisualStudioPro2005-8.0.5-R01-569.mst

ALLUSERS=1
ADDEPLOY=1
REBOOT=R
PIDKEY=ABC123......

Installed using:
msiexec /i vs_setup.msi TRANSFORMS=MSO-VisualStudioPro2005-8.0.5-R01-569.mst /qb!
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
I followed Misterd notes on this and it didn't quite work for me. As the properties wasn't getting picked up in the MST. I used the method to create a transform he suggested, and then I edited the MSI with Orca and added in the two properties ALLUSER=1 and ADDEPLOY=1. Then I ran it through commandline.

MSIEXEC /i "Path of MSI" TRANSFORM="Path of MST"

This worked first time, well chuffed.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
6
Command Line
To create an Unattended installation file : ..\Setup\setup.exe /createunattend C:\VSPro2005Install.ini

You need to do the same thing for the uninstallation but Visual Studio 2005 must be installed to record the uninstallation process : ..\Setup\setup.exe /createunattend C:\VSPro2005Remove.ini
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
3
Note
Silent Installation on Windows Vista :
During the installation of VSPro2005, you will encounter some imcompatibility warning (Program Compatibility Assistant (PCA)) on Vista. You need to disable these warning in the registry. To help you in this process, you need to download Microsoft Application Compatibility Toolkit 5.0 (More information on http://support.microsoft.com/kb/931709). Here my list of .exe I disabled :
envdev.exe (VisualStudio - 2 entry)
setup.exe (SQL Express Server - 3 entry)

I export the data from the registry and here's the keys :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags]
{7a611f25-5150-4395-855a-88ee9ab1176e}=dword:00000077
{5f66dbae-cad3-468a-83d0-77ace8abc1f6}=dword:00000077
{3d06c673-5e8a-41c0-b47f-3c3ca0a22e67}=dword:00000077
{319b29ae-7427-4fbc-9355-22df056c27a4}=dword:00000077
{2a0da30d-846f-4680-89da-2dbc457d7b44}=dword:00000077

These incompatibilities are remove once we install the Visual Studio Pro 2005 SP1. You can remove the registry keys after the SP1 installation if you want.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
3
Note
Here is my install process for Windows 7 x64. I have taken bits from several previous posters along with Aaron Stebner's installation instructions and have come up with a location independent installation that can be pushed via SCCM and installed from SCCM's cache system or be used with a server share without being tied to that specific share location or a specific drive letter.

This install incorporates VS 2005 Pro plus VS80sp1-KB296601-X86-ENU and VS80sp1-KB32232-X86-ENU.

I created a directory structure as follows:

VS2005 with 4 directories underneath, VS, MSDN, datafiles, and updates. The first 2 directories according to A Stebners blog, the datafiles directory is where I create the unattend.ini file, and the updates file is where I placed the extracted MSP files. After creating the unattend.ini file I edit the file and replace the hardcode location in the file with the variable %install% which I set with the batch file, this step is necessary to make the install location independant.

Note I was unable to get MSDN to install in the unattend.ini file so seperated that install out seperately in the batch file.

The biggest part of my install process is the use of an environment variable I set in the batch process to eliminate hard code location dependency. Also note the use /wait to ensure each step in the bat file finishes before the next part starts and also is in place for the final install as I use this install as part of my OSD deployment in atask list with SCCM and need to ensure the installation is complete before the next task is started.

Here is the basic batch file:

REM This code sets up the compatibility flags so the app can install without popup warnings about incompatibility.
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags" /v {2a0da30d-846f-4680-89da-2dbc457d7b44} /t REG_DWORD /d 00000077 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags" /v {319b29ae-7427-4fbc-9355-22df056c27a4} /t REG_DWORD /d 00000077 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags" /v {3d06c673-5e8a-41c0-b47f-3c3ca0a22e67} /t REG_DWORD /d 00000077 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags" /v {5f66dbae-cad3-468a-83d0-77ace8abc1f6} /t REG_DWORD /d 00000077 /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags" /v {7a611f25-5150-4395-855a-88ee9ab1176e} /t REG_DWORD /d 00000077 /f
rem the following 3 lines install the prerequesits needs for the application to install.
start /wait %~dp0vs\wcu\jsharpredistcore\vjredist.exe /q:a /c:"install.exe /q"
start /wait %~dp0vs\wcu\dexplore\dexplore.exe /q:a /c:"install.exe /q"
start /wait %~dp0vs\wcu\64bitprereq\x64\vs_bsln.exe /q
rem this line sets the environment variable %install% to whatever path %~dpo is, freeing up the hardcode link.
set %~dp0=install
start /wait %~dp0vs\setup\setup.exe /unattendfile "%~dp0datafiles\vs_v2.ini"
start /wait %~dp0msdn\setup.exe ADDLOCAL=ALL /qb
start /wait msiexec /update %~dp0updates\VS80sp1-KB926601-X86-ENU.msp;%~dp0updates\VS80sp1-KB932232-X86-ENU.msp /qn
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

Visual Studio 2005 Professional Edition

Version

8

Questions & Answers (0)

Questions & Answers related to Microsoft Visual Studio 2005 Professional Edition

Blogs (0)

Blog posts related to Microsoft Visual Studio 2005 Professional Edition

Reviews (0)

Reviews related to Microsoft Visual Studio 2005 Professional Edition