Silent Installation:
vs_premium.exe /quiet /silent /noweb /norestart.
Cannot turn off the updates as they are set after the program is launched, which is are user specific.
These are the list of programs that are listed in the Add or Remove programs list.
Entity Framework Designer for Visual Studio 2012 – enu
Microsoft Silverlight 4 SDK
Microsoft .NET Framework 4.5 SDK
Microsoft Visual C++ 2008 Redistributable - x86 9.0.30729.4148
Microsoft Web Platform Installer 4.0
WCF RIA Services V1.0 SP2
Microsoft SQL Server 2012 Command Line Utilities
Microsoft .NET Framework 4.5 Multi-Targeting Pack
Microsoft ASP.NET Web Pages
Microsoft SQL Server 2012 T-SQL Language Service
Microsoft SQL Server Compact 4.0 SP1 ENU
Microsoft SQL Server Data Tools Build Utilities - enu (11.1.20627.00)
Microsoft SQL Server 2012 Transact-SQL Compiler Service
Microsoft Visual C++ 2005 Redistributable
Microsoft SQL Server 2012 Native Client
Prerequisites for SSDT
Microsoft SQL Server System CLR Types
IIS 8.0 Express
Microsoft SQL Server 2012 Transact-SQL ScriptDom
Microsoft SQL Server 2012 Express LocalDB
Microsoft SQL Server 2012 Management Objects
Microsoft ASP.NET MVC 3
Microsoft Silverlight 5 SDK
Microsoft System CLR Types for SQL Server 2012
Microsoft Web Deploy dbSqlPackage Provider – enu
Microsoft SQL Server Data Tools - enu (11.1.20627.00)
Microsoft SQL Server 2012 Data-Tier App Framework
IIS Express Application Compatibility Database for x86
Microsoft Help Viewer 2.0
Microsoft Visual Studio 2010 Tools for Office Runtime (x86)
Microsoft Visual Studio Premium 2012
Add a registry so that these would be removed from the Add or Remove Programs list.
Uninstall:
It is a simple uninstall with the following command line. All the components will be uninstalled except for the components that has dependencies with other programs. And the command line would be
vs_premium.exe /uninstall /quiet /silent /noweb /norestart.
Did you find anyway to disable the updates within Visual Studio 2012?
Thanks - marge_simpson 11 years ago
Correct..everytime you launch the shortcut it creates the registry that enables the autoupdate. Even if you have included the registry to untick the Autoupdate option in the package, the shortcut overwrites that registry and enables the autoupdate feature.
However I tried the following workaround and it solved the issue for me..
1. Write a vbscript that launches the exe responsible for launching the shortcut.
2. In the same vbscript also include the logic of wring the registry that disables (untick) the auto update option in every 5 seconds in a recursive loop. [You can find this registry via picture taker, Installwrite or any third party tool].
3. Place this vbs in the same location as that of the main exe.
4. Create a dummy shortcut (.lnk) file that point to this vbs and assign the same icon to this dummy shortcut as that of the main shortcut.
5. Delete the main shortcut and place this dummy shortcut in the place of the main shortcut.
Now everytime the user launches the shortcut , it will launch the vbs which instead will first launch the main appliction and in the mean while recursively also write to the registry to disable the auto update feature of the shortcut.
Of course there is always an option of running the vbs via taskscheduler as well. You will have to figure out the command that would run the script which would disable the auto update feature in every user in every 5-10 seconds.
Hope this helps. - debashis sharma 11 years ago
"c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Profiles"
Use a script to find and replace AutomaticallyCheckForUpdates2"">True to AutomaticallyCheckForUpdates2"">False
Log on with a new user and you will see the updates are disabled.
So the logic flow is.
1. Install program with script.
2. Edit the files
3. Launch for the first time. - WarrenHeald 10 years ago
"c:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Profiles"
Use a script to find and replace AutomaticallyCheckForUpdates2"">True to AutomaticallyCheckForUpdates2"">False
Log on with a new user and you will see the updates are disabled.
So the logic flow is.
1. Install program with script.
2. Edit the files
3. Launch for the first time. - WarrenHeald 10 years ago