离线安装 Visual Studio Express 而不下载整个镜像文件的方法(转载)
visual studio 2010 express 全序列号
YDK44-2WW9W-QV7PM-8P8G8-FTYDF
VC# 2010 Express: PQT8W-68YB2-MPY6C-9JV9X-42WJV
VC++ 2010 Express: 6VPJ7-H3CXH-HBTPT-X4T74-3YVY7
VWD 2010 Express: CY8XP-83P66-WCF9D-G3P42-K2VG3
VB.NET 2010 Express: 2KQT8-HV27P-GTTV9-2WBVV-M7X96
步骤 1从上面复制 14 个字符的注册密钥。
步骤 2从 Visual C++ 2010 Express Edition 的“帮助”菜单中选择“注册产品...”。
步骤 3将注册密钥粘贴到“产品注册”对话框中,然后单击“完成注册”按钮。
离线安装
*原文地址:http://vicker313.wordpress.com/2008/11/26/
*转载本文请注明出处: http://blog.renren.com/blog/bp/QmN_0yuznf。
先上翻译,原文在最后上。翻译不是一字一句来的,稍作改进,这可是纯人工劳动哦。
“Microsoft Visual Studio Experss ”(VSE速成版)是Visual studio 的免费版本,保存了几乎全部的编程功能,而体积却远远小于正式版。现在微软的官方网站上提供2008与2010版的在线安装程序,而网络上可以搜索到2005、2008与2010版本的安装程序。我们有两种方法来安装它。
第一种方法是在线安装。我们需要选择一种EXPRESS产品(如VB、C#、WEB DEVELOP)的安装启动程序,然后运行它。启动程序会自动下载所需的安装文件,然后将其安装到电脑上。当我们在另一台电脑上安装VSE的时候,启动程序将再次下载全部的安装文件。
另一种方法是离线安装。我们必须下载一个包含全部EXPRESS产品和SQL数据库的镜像文件,但是包含全部产品的镜像文件大于700MB(不能放入一张CD之中)。
如果我没有因特网,而且只想安装C#而不需要VB及其他东东。而我从来没想过下载那个1GB的庞然大物,因为我只用到它体积的10%的文件。但是现在 除了个别的产品(如VC#2005)之外,微软没有提供单个产品的离线安装文件。天无绝人之路,我们可以研究研究那个在线安装启动程序,来获得一个可以使用的离线安装包。
1.下载我们需要的EXPRESS产品的在线安装启动程序,然后用winrar来将其解压到一个文件夹中。
2.在这个文件夹中,我们找到文件“baseline.dat”,用记事本程序打开它。在记事本中,用查找功能,搜索“ [vs_setup.dll] ”。在 [vs_setup.dll] 开头下的文字块中,查找关键字“fwlink/?LinkId=”。然后复制 fwlink/?LinkId=xxxxx (xxxxx是一串数字),这其实是一个URL地址的后缀。
3.打开浏览器,在地址栏输入 go.microsoft.com/ ,接着将刚才复制的字符串粘贴到后面,使地址成为“ go.microsoft.com/fwlink/?LinkId=xxxxx ”。按下回车,浏览器将自动下载一个程序,大概在60MB左右。这其实就是我们需要的EXPRESS产品离线安装包。
4.下载了这个程序之后,我们再用winrar将其解压到另一个目录中。其中会有一个名为“vs_setup.msi ” 的文件,但我们并不能直接运行它。怎么办?先在此目录中建立一个文本文档,输入 msiexec /i vs_setup.msi vsextui=1 addlocal=all reboot=reallysuppress ,保存退出,再将这个文本文档重命名为“setup.bat”(系统隐藏扩展名的同志们可要注意了啊)。然后运行setup.bat,程序就开始安装了。
为什么不能直接运行“vs_setup.msi ”呢?正如错误提示所说,必须由安装启动程序中的“setup.exe”引导运行才可以。而命令行中的“ vsextui=1 ”,就是运行“vs_setup.msi ”的关键,这让其误以为是由“setup.exe”启动的。
然而对于VSE 2005的产品来说,步骤稍有不同。我们可以让安装启动程序和离线安装包解压到同一目录,这样直接运行“setup.exe”,就可以完成安装。
这就是离线安装 VSE 的方法,我们可以用它安装VSE中的任何产品,像Web Developer 2005, Web Developer 2008 和 C# 2008 等等。
译者注:经验证,VSE 2010版不能使用此方法。首次使用 .net 的XP系统、使用C++编程以及需要使用数据库的同志们可要注意了啊,此离线安装包只能安装 Visual Studio Experss 主程序,没有.net framework 、 Windows SDK 和 SQL 数据库 等组件。需要你多留个心眼。
好了,原文如下:
November 26, 2008
How to offline install Visual Studio Express without download the whole image file — vicker313 @ 1:46 am
Visual Studio Express (VSE) is the free version of Visual Studio, released together with Visual Studio 2005 and 2008. User can get VSE from MSDN website without any genuine checking. There are two ways in getting VSE.
The first method is web install, which the user needs download a bootstrap of a selected VSE product, run it and the bootstrap will automatically download setup files from internet and install the product into the computer. The next time user wants to install the software in another computer, the bootstrap will download the whole things again from the internet in order to perform the installation.
The other method is of course offline install, which user needs to download the whole image file from the internet, and either burn it or virtual it in order to perform the installation. However the image file consists of everything (Visual Studio Web Developer, C#, Visual Basic, SQL Server, framework and other stuffs), and making it more than 700MB (which a normal CD cannot hold).
In my scenario, I want to download Visual Studio Web Developer Express only, and will install the software in another computer without any internet connection. I don’t want to download the whole image file that I might just be using 10% of the files. There isn’t any official way to download a single product of VSE, so we need to play around with the bootstrap in order to download a workable offline installation file.
First, download your selected product bootstrap. And then we need to extract the bootstrap into a directory using some compression tool like WinRAR.
Second, we search for a file called baseline.dat inside the directory and open it with notepad or other editor. Then we search for a section called [vs_setup.dll] (it is square bracket). Under that section, you can find a URL parameter with the value of fwlink…
Third, open a browser and type in go.microsoft.com/ followed by the URL value that found in baseline.dat at the address bar (as a result your address will look like go.microsoft.com/fwlink…). It will automatically download the installation file of that product. It is usually about 50MB.
Forth, after we download the installation file, we extract the file into another directory. There will be a file called vs_setup.msi. Then we need to run a command prompt, go to that directory, and use the command below to execute the installation file.
msiexec /i vs_setup.msi vsextui=1 addlocal=all reboot=reallysuppress
If we run the file vs_setup.msi directly, there will be an error to request you to run the setup.exe file. So at the command, vsextui=1 make the installation think it is executed through a setup.exe file.
However when I try out the trick for VSE 2005 product, there is a little difference in the forth step. Instead of extract the installation file into another directory, I extract it to the same directory as I extract the bootstrap. Then I can install the product by using the setup.exe from the bootstrap.
And that’s about it in how to offline install VSE without download the image file. I have used this trick to install VSE Web Developer 2005, Web Developer 2008 and C# 2008.
To install SQL Server Express 2008, you might refer here.
离线安装 Visual Studio Express 而不下载整个镜像文件的方法(转载)的更多相关文章
- 如何离线安装Visual Studio 2017
1. 官方下载在线安装文件 vs_community.exe https://www.visualstudio.com/zh-hans/thank-you-downloading-visual-stu ...
- Visual Studio "无法查找或打开PDB文件"解决方法
1.问题: 使用C#语言时遇到的问题(C/C++类似,方法一致),我用qt和VS2013也遇到这种问题 编译链接都没问题,调试时出现以下错误提示: 2.解决方法 第一步: 第二步:[调 ...
- 如何正确并完全安装Visual Studio 2015企业版本?
http://blog.csdn.net/code_godfather/article/details/47381631 [简介] 常用网名: 猪头三 出生日期: 1981.XX.XX 个人网站: ...
- 如何正确并完全安装Visual Studio 2015企业版本[转]
http://blog.csdn.net/code_godfather/article/details/47381631 [注意事项]1> 本文描述的是: Visual Studio 2015企 ...
- Xamarin.Forms教程下载安装Visual Studio 2015
Xamarin.Forms教程下载安装Visual Studio 2015 下载安装Visual Studio 2015 Visual Studio 2015是微软提供的IDE,其中集成了Window ...
- 微软发布VSBT,无需安装Visual Studio即可实现项目编译
安装了Visual Studio的那些使用微软平台的开发者通常能够非常容易地操作自己的项目:打开解决方案,修改内容,设置好所有必须的文件以及配置后编译项目.但是在构建服务器或者持续交付系统等没有安装V ...
- Windows 7 上安装Visual Studio 2015 失败解决方案
安装之前先要看看自己的系统支不支持,具体的可以看:https://www.visualstudio.com/en-us/visual-studio-2015-system-requirements-v ...
- win10 安装visual studio 2015遇到的坑
最近win7系统不知啥原因无法访问域中的网络文件,打算升级到win10体验一下.结果发现这一路有太多的坑.首先安装win10基本上算顺利,但是当进入系统后,菜单模式对于PC的鼠标来说,用起来感觉不顺手 ...
- 安装Visual Studio的插件AnkhSvn
安装Visual Studio的插件AnkhSvn 安装AnkhSvn(VS插件).下载地址:http://download.csdn.net/detail/luqingfei/4538807 Ank ...
随机推荐
- ASP编码规范
ASP编码规范(--::) 第一章 ASP编码规范通述 ASP编码分为两大部分,一部分为静态文件编码,一部分为包含服务器端脚本的动态文件编码. 静态文件编码分script编码和HTML编码两部分. 服 ...
- 【收藏】这么多WEB组件(CSS),攒一个网站够了吧?
简言 总是喜欢简单又精致的东西,美的不繁复也不张扬.这是闷骚程序员的癖好么?闲来无事,把收集到的部分WEB组件整理汇总一下,攒一个逼格高一点的网站够了吧? 1 表单(form)相关 1.1 输入框(i ...
- ps钢笔工具路径问题
问题描述:ps钢笔工具画出路径后用文字工具打字 路径出现一个空心圆点字,不能在路径上打字或者无法确认终止的位置. 解决:1.如果要在路径上全都打满字,要将文字对齐改为左对齐,2.如果要实现自定义结束位 ...
- window.open()方法详解
, 最基本的弹出窗口代码 window.open('page.html'); 2, 经过设置后的弹出窗口 window.open('page.html', 'newwindow', 'heig ...
- Struts2笔记2
一.请求参数封装 1.属性驱动: (1).无实体类情况:属性和动作类在一起 a.编写jsp页面,提交数据,例如name和age <form acti ...
- Android应用瘦身
转:https://zhuanlan.zhihu.com/p/25465537 瘦身的目的 从目的导向来看,我们是不会无缘无故去做一件事情的,那我们对应用瘦身的目的是为了什么?答案是:提高下载转化率. ...
- 使用startForeground让android服务前台运行
最近在使用android 4.1系统的时候,发现在手机休眠一段时间后(1-2小时),后台运行的服务被强行kill掉,有可能是系统回收内存的一种机制,要想避免这种情况可以通过startForegroun ...
- [QualityCenter]设置工作流脚本-根据某字段是否包含指定字符串来判断其他字段的选值
需求:当在创建或更改值时,自动判断A字段是否包含B值,然后自动填写相应的内容. 如以下例子: 在脚本编辑器新建一个函数TestPlan_Test_New,然后编写脚本如下: '通过主题判断项目内容 ...
- 703. 数据流中的第 K 大元素
设计一个找到数据流中第 K 大元素的类(class).注意是排序后的第 K 大元素,不是第 K 个不同的元素. 你的 KthLargest 类需要一个同时接收整数 k 和整数数组 nums 的构造器, ...
- ASP.net Session阻塞、Session锁、MVC Action请求阻塞问题
会话Session Session用于服务器端状态管理,使用Session之后,每个客户端都可以将实际的数据保存在服务器上,对于每个客户端的数据,将会生成一个对应的唯一的key(保存在客户端).客户端 ...