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
- sparam:string;
- Sparam: = '/q:a/C: ' msiexec/i vcredist.msi/qn/l*v%temp%\vcredist_x86.log ';
- Shellexec (' open ', S,sparam, ', Sw_show, ewwaituntilterminated, ErrorCode);
[CPP]View Plaincopy
- sparam:string;
- Sparam: = '/q:a/C: ' msiexec/i vcredist.msi/qn/l*v%temp%\vcredist_x86.log ';
- Shellexec (' open ', S,sparam, ', Sw_show, ewwaituntilterminated, ErrorCode);
http://blog.csdn.net/bible521125/article/details/38817357
Vcredist_x86.exe Silent Installation Method