/build/static/layout/Breadcrumb_cap_w.png

Visual Studio 2010 Express

Anybopdy had luck with deploying VS2010 express by silent installation? All I need is install VB, VC# and WD Express so that it can be installable silently over the network?
This link http://msdn.microsoft.com/en-us/library/ee225238.aspx
does not say anything about Express editions not even VB, VC# or WD
thanks

0 Comments   [ + ] Show comments

Answers (8)

Posted by: Mordeos 13 years ago
Yellow Belt
4
vs_setup.msi with NOVSUI=1 works to get rid of the "To install this product, please run Setup.exe" message
Posted by: kkrehbiel 13 years ago
Senior Yellow Belt
1
There are some odd restrictions put by Microsoft on the Visual Studio Express pack. Using the packaged MSI files will give an error saying you need to run the setup.exe file. Unfortunately the included setup.exe file does not provide the user with a lot of control. You'll need the full folders for each of the programs, not just the MSIs.

A simple batch file of:

start /wait VBExpress\setup.exe /q /norestart
start /wait VCExpress\setup.exe /q /norestart
start /wait VCSExpress\setup.exe /q /norestart
start /wait VWDExpress\setup.exe /q /norestart

Will install everything, and I do mean everything. If you don't want any of those just leave them out.

You'll probably still get SQL Server, which you may not want. Getting rid of SQL is a bit more of a process but can be done with another batch script. It's important to note that YOU MUST RESTART AFTER INSTALLING VISUAL STUDIO before trying to uninstall SQL. Once you've restarted, another batch script containing the following can be used to uninstall all the SQL components:

"C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Release\setup.exe" /action=uninstall /quiet /instancename=SQLEXPRESS /FEATURES=SQLEngine
start /wait MsiExec.exe /x {C688457E-03FD-4941-923B-A27F4D42A7DD} /qn
start /wait MsiExec.exe /x {4F44B5AE-82A6-4A8A-A3E3-E24D489728E3} /qn
start /wait MsiExec.exe /x {4E968D9C-21A7-4915-B698-F7AEB913541D} /qn
start /wait MsiExec.exe /X {D441BD04-E548-4F8E-97A4-1B66135BAAA8} /qn
start /wait MsiExec.exe /x {ACE28263-76A4-4BF5-B6F4-8BD719595969} /qn
start /wait MsiExec.exe /x {2A2F3AE8-246A-4252-BB26-1BEB45627074} /qn
start /wait MsiExec.exe /x {B857D868-F8B0-43EE-BC2B-D9E5ED21F237} /qn
start /wait MsiExec.exe /x {112C23F2-C036-4D40-BED4-0CB47BF5555C} /qn

There will probably be some remaining folders and log files that you may want to delete. They'll just be in "Program Files\Microsoft SQL Server"

The annoyance with this solution is that rather than using 400-700MB that would be necessary from using the MSI's instead it's pretty much necessary to use the full 1.6GB image.

UPDATE: It looks like Visual C++ requires SQL to be installed, you can just avoid the SQL uninstall steps if you like, but I'm also working to see if I can uninstall everything except the necessary files...

UPDATE 2: I've edited the SQL Uninstall script so C++ will now work without errors, and unnecessary SQL installations are cleaned up. Only a harmless SQL Server Compact 3.5 remains.
Posted by: anonymous_9363 13 years ago
Red Belt
0
I'd suggest installing the MSIs separately, something which this page also seems to suggest. I got that link from the 'Package KB', BTW.
Posted by: pjgeutjens 13 years ago
Red Belt
0
Using the packaged MSI files will give an error saying you need to run the setup.exe file
try running the MSI with the parameter ISSETUPDRIVEN=1
Posted by: kkrehbiel 13 years ago
Senior Yellow Belt
0
ORIGINAL: pjgeutjens

Using the packaged MSI files will give an error saying you need to run the setup.exe file
try running the MSI with the parameter ISSETUPDRIVEN=1



Sadly it's one of the first things I tried, and putting it in will still get you a pop-up saying:
"To install this product, please run Setup.exe"
Posted by: anonymous_9363 13 years ago
Red Belt
0
Please add your finding to the 'Notes' section of the 'Package KB' for VSE 2010. Thank you!
Posted by: Mordeos 13 years ago
Yellow Belt
0
done :-)
Posted by: kkrehbiel 13 years ago
Senior Yellow Belt
0
Also worth noting, for some bizarre reason Microsoft has decided that you now must register their free product.

You need to register each program, then go to each setup.sdb and put in the respective registration key under the [Product Key] entry.

(Or the PIDKEY in the vs_setup.msi if you're using the MSI deployment solution.)

After that, all you really need to know can be found here:
http://msdn.microsoft.com/en-us/library/ee225240.aspx
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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