Microsoft Visual Studio 2008 Professional

Version: 9
Views: 4.5k  |  Created: 11/13/2008

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

Deployment Tips (5)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 0 / 5 (Not Rated) based on 0 ratings
Most Commonly Reported Deployment Method
Not Determined
or cancel
7
Note
You can read the instructions on:
http://download.microsoft.com/download/4/9/0/490EADD1-19C0-47F9-9748-E901C926F925/adminreadme2008.htm

...to suit your needs. This is however how I did the install to be assigned through GPO deployment.


Visual Studio 2008 requires
...on Windows XP:
- XP with atleast SP2
- Internet Explorer 6.0 Service Pack 1
- Windows Installer 3.1 (Included in XP SP3)

...on all Windows platforms:
- Microsoft .NET Framework 3.5
- Microsoft Web Designer Tools
- Microsoft Document Explorer 2007

I created a GPO and a corresponding security group, as a normal GPO deployment.

I chose to script these components with a startup script but still making Visual Studio 2008 an assigned application in this GPO. Not sure I can recommend this approach since it will try to install VS 2008 first, fail once and then run the script with the required components - then you have to reboot to initialize the VS 2008 installation. Dirty but it works, and this way we can still use "Uninstall this application when it falls out of the scope of management" to uninstall VS 2008 if needed.

These are the steps i took:
- Extract contents of the CD/ISO to a local drive
- Manually install the prerequired components or you will likely get an error trying to install VS 2008.
- Create transform with desired settings
<path to extracted cd>\setup.exe /CreateTransform <path to extracted cd>\setup.mst
- Create administrative installation point
msiexec /a vs_setup.msi /qb /L*v C:\vs_setup.log TRANSFORMS=vs_setup.mst PIDKEY=<product_key without "-" or spaces> TARGETDIR=D:\VS
(This will include all prerequired install files under the folder WCU\)
- Copy contents of D:\VS to \\<path to VSSHARE>- Create .vbs installscript that does the following:
' --- If VisualStudio components is already installed: Do nothing, quit script.
' --- Check OS Version - Warn if not SP 3.x - Option to proceed anyway
' --- Check version of Windows Installer. If lower than 3.1.4001.5512 - install 3.1.
objShell.Exec("%comspec% /c \\<VSSHARE>\WCU\msi31\WindowsInstaller-KB893803-v2-x86.exe /quiet /norestart")
' --- Install .NET Framework 3.5 bundle (installs 2.0 first if not installed)
objShell.Exec("%comspec% /c \\<VSSHARE>\WCU\dotNetFramework\dotNetFx35setup.exe /qb /norestart")
' --- Install Microsoft Web Designer Tools
objShell.Exec("%comspec% /c \\<VSSHARE>\WCU\WebDesignerCore\WebDesignerCore.EXE /Q /install")
' --- Install Microsoft Document Explorer 2007
objShell.Exec("%comspec% /c \\<VSSHARE>\WCU\DExplore\DExplore.exe /q")
' --- Ask user if they want to reboot (since after reboot the installation of VS 2008 starts, which can take around an hour to complete, I wanted the users to have the option to wait)

Interesting to note that..
Microsoft SQL Server 2005 Express Edition
Crystal Reports Basic for Visual Studio 2008
..are installed by default on Administrative setup but can only be unselected in normal setup.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
7
Command Line
To create a transform run:
setup.exe /CreateTransform <Path>\VS2008.mst

To apply the transform
setup.exe /msipassthru=BEGIN"TRANSFORMS=<Path>\VS2008.mst"END
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Note
I worked on Visual Studio and found that various setup.exe switches can be used to install the application. Basically, /q , /full , /norestart. I tried creating MST but unfortunately that .mst switch did not work with me.

I finally wrote two vbscripts to install and uninstall the application separately. I am not sure whether it is a good practice or not.

Following is the VB i wrote to install the application silently without restarting and fully:(The setup.exe launched is inside setup folder on CD and not on the root)

dim shell
set shell = WScript.CreateObject("WScript.Shell")

shell.Run("setup\setup.exe /q /norestart /full")

To Uninstall:


dim shell
set shell = WScript.CreateObject("WScript.Shell")

shell.Run("setup\setup.exe /q /remove /norestart /full")

Not sure whether this will give any error during deployment.

SOURCE: http://blogs.msdn.com/astebner/archive/2007/09/12/4887301.aspx
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
4
Command Line
Silent install with transform.

Copy The Visual studio 2008 Pro media to a local folder on the hard drive.

Transform creation:
From run:
SourceFolder\Setup\Setup.exe /CreateTransform SourceFolder\settings.mst

Example: C:\VS2008\Setup\setup.exe /CreateTransform C:\VS2008\settings.mst

Note: The Setup in the root folder does not work for this action! Use the one in Setup folder.

To run the installation silent
From run:
SourceFolder\vs_setup.msi TRANSFORMS=SourceFolder\settings.mst /QB!

Example:
C:\VS2008\vs_setup.msi TRANSFORMS=C:\VS2008\settings.mst /QB

To run the Uninstall silent:
From run:
msiexec /X{veryLongUnicProductIdOfMSIFile} /QB!

Method tested with SCCM 2007 on a Windows XP Image with the prerequisites in place on forehand (.NET etc). Works.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
2
Note
For those who used the setup\setup.exe silent switches to install (/q /norestart /full), here's the order/product code of everything that is installed by Visual Studio. Everything need to be uninstalled manually since the uninstall of VS 2008 only uninstall VS 2008 ...

MSI_NAME = "Microsoft Office Visual Web Developer 2007"
MSI_GUID = "{90120000-0021-0000-0000-0000000FF1CE}"

MSI_NAME = "Microsoft SQL Server Compact 3.5 ENU"
MSI_GUID = "{BCC899FE-2DAA-460C-A5FB-60291E73D9C3}"

MSI_NAME = "Microsoft SQL Server Database Publishing Wizard 1.2"
MSI_GUID = "{9A33B83D-FFC4-44CF-BEEF-632DECEF2FCD}"

MSI_NAME = "Microsoft SQL Server Compact 3.5 Design Tools ENU"
MSI_GUID = "{2E5C075E-11AB-4BDD-918C-7B9A68953FF8}"

MSI_NAME = "Microsoft SQL Server Compact 3.5 for Devices ENU"
MSI_GUID = "{241F2BF7-69EB-42A4-9156-96B2426C7504}"

MSI_NAME = "Windows Mobile 5.0 SDK R2 for Pocket PC"
MSI_GUID = "{6C9F6D23-E9AD-43C9-B43A-011562AAF876}"

MSI_NAME = "Windows Mobile 5.0 SDK R2 for Smartphone"
MSI_GUID = "{9656F3AC-6BA9-43F0-ABED-F214B5DAB27B}"

MSI_NAME = "Crystal Reports Basic for Visual Studio 2008"
MSI_GUID = "{AA467959-A1D6-4F45-90CD-11DC57733F32}"

MSI_NAME = "Microsoft SQL Server 2005 Express Edition (SQLEXPRESS)"
MSI_GUID = "{2AFFFDD7-ED85-4A90-8C52-5DA9EBDC9B8F}"

MSI_NAME = "Microsoft SQL Server 2005 Tools Express Edition"
MSI_GUID = "{2750B389-A2D2-4953-99CA-27C1F2A8E6FD}"

MSI_NAME = "Microsoft SQL Server Setup Support Files (English)"
MSI_GUID = "{53F5C3EE-05ED-4830-994B-50B2F0D50FCE}"

MSI_NAME = "Visual Studio Tools for the Office system 3.0 Runtime"
MSI_GUID = "{8FB53850-246A-3507-8ADE-0060093FFEA6}"

MSI_NAME = "Microsoft Visual Studio 2005 Tools for Office Runtime"
MSI_GUID = "{388E4B09-3E71-4649-8921-F44A3A2954A7}"

MSI_NAME = "Microsoft Windows SDK for Visual Studio 2008 .NET Framework Tools"
MSI_GUID = "{05EC21B8-4593-3037-A781-A6B5AFFCB19D}"

MSI_NAME = "Microsoft Windows SDK for Visual Studio 2008 Headers and Libraries"
MSI_GUID = "{842FAF7C-50EF-4463-9B8F-6222E1384D7D}"

MSI_NAME = "Microsoft Windows SDK for Visual Studio 2008 SDK Reference Assemblies and IntelliSense"
MSI_GUID = "{64c5b887-b5ee-42b8-8596-78905a6b5f1f}"

MSI_NAME = "Microsoft Windows SDK for Visual Studio 2008 Tools"
MSI_GUID = "{CAA376AF-0DE8-4FCA-942E-C6AC579B94B3}"

MSI_NAME = "Microsoft Windows SDK for Visual Studio 2008 Win32 Tools"
MSI_GUID = "{B268E9A1-04A9-40D0-9866-846BE2B74BA7}"

MSI_NAME = "Microsoft SQL Server Native Client"
MSI_GUID = "{F9B3DD02-B0B3-42E9-8650-030DFF0D133D}"

MSI_NAME = "Microsoft SQL Server VSS Writer"
MSI_GUID = "{E9F44C98-B8B6-480F-AF7B-E42A0A46F4E3}"

MSI_NAME = "Microsoft Office Shared MUI (English) 2007"
MSI_GUID = "{90120000-006E-0409-0000-0000000FF1CE}"

MSI_NAME = "Microsoft Office Shared Setup Metadata MUI (English) 2007"
MSI_GUID = "{90120000-0115-0409-0000-0000000FF1CE}"

MSI_NAME = "Microsoft Office Visual Web Developer MUI (English) 2007"
MSI_GUID = "{90120000-0021-0409-0000-0000000FF1CE}"

MSI_NAME = "Microsoft Document Explorer 2008"
MSI_GUID = "{6753B40C-0FBD-3BED-8A9D-0ACAC2DCD85D}"

MSI_NAME = "Microsoft Device Emulator version 3.0 - ENU"
MSI_GUID = "{B32E7732-B2FB-3FD0-81AC-6025B1104C66}"

MSI_NAME = "Microsoft .NET Compact Framework 2.0 SP2"
MSI_GUID = "{EDDF99D9-9FE3-4871-A7DB-D1522C51EE9A}"

MSI_NAME = "Microsoft .NET Compact Framework 3.5"
MSI_GUID = "{291B3A3B-F808-45B8-8113-DF232FCB6C82}"

MSI_NAME = "Microsoft Visual Studio 2008 Professional Edition - ENU"
MSI_GUID = "{D7DAD1E4-45F4-3B2B-899A-EA728167EC4F}"
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 2008 Professional

Version

9

Questions & Answers (1)

Questions & Answers related to Microsoft Visual Studio 2008 Professional

0
ANSWERS

Blogs (0)

Blog posts related to Microsoft Visual Studio 2008 Professional

Reviews (0)

Reviews related to Microsoft Visual Studio 2008 Professional