Vcredist_x86.exe Silent Installation Method

Source: Internet
Author: User
Tags vc runtime

We package the application based on VC + +, we will package a VC runtime, otherwise installed in some non-development environment, your application can still run correctly.

The Visual C + + Redistributable Package includes (Vcredist_x86.exe,vcredist_x64.exe and Vcredist_ia64.exe).

is a simple VCRedist.exe installation integration, the results are downloaded after the installation, after the installation is completed in the system or a disk under the root directory to leave a bunch of temporary files:

Temporary file list

The survey found that this is a known bug in the Microsoft Visual C + + redistributable package, which Microsoft has fixed in SP1.

One workaround is to manually remove the installation after it is complete, but it is still somewhat difficult to remove it from the integration installation package because of the random location.

Of course, a simpler approach would be to use the Microsoft Visual C + + SP1 Redistributable Package, which is the download link for x86.

This is VCRedist.exe's silent Install command, and the other invoke commands see Astebner's blog:

VCREDIST_X86.EXE/Q:A/C: "msiexec/i vcredist.msi/qn/l*v%temp%\vcredist_x86.log"

If we call VCRedist.exe install directly, will pop up a decompression dialog box, if you do not want to let this interface appear, you can first extract VCRedist.exe, and then through the "vc_red.msi/qn" To complete the silent installation (note that the MSI is installed through Msiexec.exe in InstallShield).

Also, you have confirmed that the icrosoft Visual C + + 2005 Redistributable Package does not have this problem.

Http://www.cnblogs.com/lidabo/archive/2013/01/21/2869787.html

Example: Inno Setup

[CPP]View Plaincopy
    1. sparam:string;
    2. Sparam: = '/q:a/C: ' msiexec/i vcredist.msi/qn/l*v%temp%\vcredist_x86.log ';
    3. Shellexec (' open ', S,sparam, ', Sw_show, ewwaituntilterminated, ErrorCode);
[CPP]View Plaincopy
    1. sparam:string;
    2. Sparam: = '/q:a/C: ' msiexec/i vcredist.msi/qn/l*v%temp%\vcredist_x86.log ';
    3. Shellexec (' open ', S,sparam, ', Sw_show, ewwaituntilterminated, ErrorCode);

http://blog.csdn.net/bible521125/article/details/38817357

Vcredist_x86.exe Silent Installation Method

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.