How Visual Studio avoids prompts for Source

Source: Internet
Author: User
[Original address]: http://blogs.msdn.com/b/heaths/archive/2012/07/26/how-visual-studio-2012-avoids-prompts-for-source.aspx [Translation]:
  Operations such as requiring installation, maintenance, and even uninstalling source packages are common to customers. The core problem of the Windows installer is the need for resources and its installation location. If you cannot find them, the installation will fail or the original state of the machine will be restored. (Depending on packaging and any patches).

  The WiX community is very hot,-the chainer that is part of the toolset in v3.6-we know this is a common problem in Windows installation and deployment. So we use package caching technology to copy all installed packages to a fixed location, the cache location depends on whether the package is for each machine or just the current user.

  The installer developer can set whether to cache the package, because we know that customers will have questions about prompting the cache package source of the Visual Studio 2012 series products.

 user experience

  After the packages are downloaded and verified or they have been verified, copy them to your local hard drive. The installation package is placed on the machine. This is a safe and reliable place. When installing the software, we take the installation source here.

  When repairing, modifying, or uninstalling a product or installing or uninstalling a patch, the source media package cache is automatically used if needed, and most users do not need to see a prompt. But if the package cache is missing or incomplete, the Visual Studio installation will prompt to download (or connect) or locate the source media. This is shown in the screen below.


  The user has already installed the media, and even re-selected the download (or connection) with the media and installed it. General customers should not have seen this dialog, we know it easily from experience.

  Even if the package cache is lost, we will be prompted to download the package cache, so we recommend that users do not delete the package cache. Any product that is destroyed after installation and does not provide repeated downloads requires package caching. In this case, the Windows installer requires a source media package, otherwise we cannot handle it because there is no source code to run it.

 Affects hard disk space

  In order to avoid the lack of space installation which is too incapable of driving. Each machine copies an installation package like Visual Studio 2012 to the location of% ProgramData%, which is the default location of the system. Another reason is that VS2012 requires system space, even if you install VS2012 to another driver disk.

  Know from customer survey data:

More than 97% of customers still have a lot of space in the system disk to install products that we have a lot of room for. The Visual Studio 2012 Ultimate version (the ultimate version) can completely install a drive on the system.
More than 99% of customers have enough space in Windows 8 to install products like Visual Studio 2012 on their system drivers.
Nearly 100% of customers have enough space on their system disk to install Visual Studio 2012 placed on another drive letter, although there will still be some consumption of system disk space.
  In general, we do not recommend "system partitioning". We know that developers may want to keep files, binaries, and even tools in their original location in a separate system space. This is a common setting. But even if partitioned, the system disk should not be restricted by the operating system being unable to update. Many common default locations and some unchangeable locations are defaulted to the system disk. But the system disk also gives you enough space for your use.

 

summary:
   Because of the crisis in the system disk, I deleted some logs and caches in the system disk. The C: \ ProgramData \ Package Cache file is about the cache location of some installation packages. After reading an online article, the conclusion is that you can delete it. Words to delete. I hope you have backed up these cached packages.
 

How Visual Studio 2012 Avoids Prompts for Source
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.