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.
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")
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 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}"
Blog posts related to Microsoft Visual Studio 2008 Professional
Links (0)
Links related to Microsoft Visual Studio 2008 Professional
Reviews (0)
Reviews related to Microsoft Visual Studio 2008 Professional
This website uses cookies.
By continuing to use this site and/or clicking the "Accept" button you are providing consent
Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our
websites or when you do business with us. For more information about our
Privacy Policy and our data protection
efforts, please visit
GDPR-HQ