Visual C++ 2013 Silent install and MSI

You can download the Visual C++ 2013 Redist editon and take a peak at how to deploy this prerequisite software.

If running executing the file with a /? you will receive the prompt below;

vcredis_x86.exe /?


/install / repair and /uninstall will perform its respective action. /layout will extract the vcredist_x86.exe to the folder specified. No idea what the purpose is for that one?

If you install this manually there will be three log-files created in %TEMP%. They have a prefix of; dd_vcredist_x86

Reading the log-files shows us that the MSI-files will be extracted in a GUID-location in this folder;

C:\ProgramData\Package Cache\

ProductCode for Minimum; {13A4EE12-23EA-3371-91EE-EFB36DDFFF3E}

ProductCode for Additional:{F8CFEB22-A2E7-3971-9EDA-4B11EDEFC185}

A sample command-line to install them;

vcredist_x86.exe /install /quiet /norestart /log %TEMP%\vcredist_2013_x86.log

If you want to deploy the MSI-files you can use the same property as documented for VC++ Redist 2012;


Deploy Internet Explorer 11

All you need to successfully deploy Internet Explorer 11


Plan, Customize and Build with the IEAK 11


Troubleshooting a failed installation of Internet Explorer 11

IE 11 FAQ for IT Pros

Prerequisite updates for IE11

Log-file for the installation;

Experts2Experts Virtualization Conference

E2EVC Virtualization Conference

Join me and quite a few of the virtualization community in Rome for a weekend of interesting sessions and great discussions. E2E Virtualization Conference allows for a chance to meet up lots of great people out there willing to share everything they have encountered in the most relaxed conference for Virtualization specialists.

During the weekend of 1 – 3 November the hotel ROMA CITTA H10 will be full of us geeks that non-biased can discuss (for the 10th year around) the in’s and out’s of the technology out there in the end-user computing market.

The schedule is packed with sessions starting at eight in the morning and ending at just before seven o’clock at night.

Internet Explorer 10 fails to install

As I am still running Windows 7 simply due to the lack of time to update my main computer, beeing able to update to to Internet Explorer 10 was simply a great opportunity to improve my experience on browsing the web. Unfortunately the installation experience failed miserably. The install wizard looped through in no-time at all, restarted Internet Explorer. No error, unfortunately – no Internet Explorer 10 either.

To customize the experience for deploying it to an enterprise you can use the Internet Explorer Administration Kit. A more detailed explanation of howto provide it via an image is also available via Technet.

Lets continue with the installation issue… first of all, I  verified that all prerequisites were installed. This could easily be done by visiting a already available knowledgebase article that states all the prerequisites and provides easy to access links for all of them. Unfortunately this did not alter the behavior in anyway and the next article up is Troubleshooting a failed installation of Internet Explorer 10. The article did provide some general insights, but none of the steps did provide any alteration of the behavior – it seems to more provide content with an end-user in mind then an IT administrator. There, lets review the Technet article Troubleshooting Internet Explorer 10.

The following is listed in the article;

If Setup fails, you can troubleshoot errors by using the Setup log files:

  • IE10_main.log
  • IE10_NR_Setup.log
  • IE10_uninst.log
  • cbs*.log
  • WU_IE10_LangPacks.log

Great! Lets start digesting! I could only locate the IE10_main.log within C:\Windows

Here is a cut out of the log that seemed interesting;


Whats so special about the above? C:\Windows\sysnative is not a folder I have ever seen.

The first command-line looks like this;

00:03.214: ERROR:   Unable to create process ‘C:\Windows\SysNative\dism.exe /online /add-package /packagepath:C:\Windows\TEMP\IE147AE.tmp\ /quiet /norestart’, errorID = 0x00000000 (0)

The above tells me;

  • It installs Internet Explorer 10 using DISM
  • It extracts all files necessary to a specific sub-folder within c:\windows\temp\
  • I can most likely install this on my own

I restarted the installer, located the temp-folder and extracted all the files. I simply copied the entire lot to c:\windows\temp to ease my next step. This is what the folder looks like;


I removed the c:\windows\sysnative and the sub-folder from temp to get the following commands;

dism.exe /online /add-package /packagepath:C:\Windows\TEMP\ /quiet /norestart

dism.exe /online /add-package /packagepath:C:\Windows\TEMP\Spelling_en\ /quiet /norestart

dism.exe /online /add-package /packagepath:C:\Windows\TEMP\Hyphenation_en\ /quiet /norestart

The packages installed and after a reboot – finally!


Keyboard Layouts–cleanup the languagebar

Want to get rid of excess language settings? In an European environment it can be quite nasty and if your organization truly spans across the globe – multiple settings can conflict. Here is to set the record straight and cleanup things properly from a default / mandatory profile along with some major HKLM cleanup to smoothly offer the right keyboard layout for users.

Windows Registry Editor Version 5.00





































Looking at the user profile there can be several places in which configuration can be found.

Primary key for keyboard settings;


The language bar configuration can be seen under HKCU\Software\Microsoft\CTF and three places below this registry key contains configuration relating to what will be seen in the actual language bar. They are all expanded below.


Deploy the App-V 5 client with SCCM 2012

Application Virtualization 5 can be deployed with SCCM 2012 quite easily, but there are some prerequisites that needs to be sorted out and as a good practice several Visual C++ needs to be natively deployed. First of all – we need to collect all the prerequisites

Windows Management Framework 3.0
Visual C++ 2005 SP1 ATL Security Update
Visual C++ 2005 SP1 MFC Security Update
Visual C++ 2008 SP1
Visual C++ 2008 SP1 ATL Security Update
Visual C++ 2008 SP1 MFC Security Update
Visual C++ 2010 SP1
Visual C++ 2012
.NET Framework 4.5
Microsoft Security Advisor: Insecure library loading could allow remote execution

Next step is to extract all MSIs and / or any MSU files. Using 7zip most of the above executable files can be extracted by simply opening it in 7zip. Others might require a switch. See this as an example for VC++ 20;
Extract MSI from Visual C++ 2012 Redistributable

Next is to download the exported SCCM Application;

Within SCCM 2012 you simply open the applications node, right-click and choose Import Application;

After that you locate the downloaded ZIP-file;


After some workloads – all the applications will be defined.

Some words before you get started;

You need to test this within your environment. Your computers may reboot. It may not be the desired configuration. There may be specific configurations which aren’t tested. Test this and do it thoroughly within a lab-environment.

App-V 5 Beta 2 Deployment

Well.. SCCM 2012 makes a lot of things easier… For example – getting all the Visual C++ Redistributables in place.


The above is a picture of all the things that are layed down when deploying the App-V 5 Beta 2 client. Most of the list can be found in the older article on howto setup a packaging machine, some are new (such as the Windows Management Framework 3.0 or and others are skipped (J# 1.1..).

Extract MSI from Visual C++ 2012 Redistributable

When you download the new bits for the Visual C++ 2012 redistributable – it comes with an .EXE. This .EXE file is very nice for the common end-user, but working as an Configuration Administrator you are taught the hard-life of using MSIs. By providing the SCCM GUI with an MSI you are provided with so much improvement in the deployment process that doing it manually just seems like a lot of hardwork. For example, you get autodetection if the component is placed on the machine already!

For the older versions of Visual C++ 2010 redistributable you could either via a command-line switch or using an extraction tool (such as Winrar) get the msi-file from the package. The new breed of .EXE-file wasn’t so kind to us and there required some work (and a minor challenge) before it gave up the goods.

1. Install the software
2. Review the registry and find the following keys (these examples are for x64);

As you can see – the install source is; C:\ProgramData\Package Cache\{A2CB1ACB-94A2-32BA-A15E-7D80319F7589}v11.0.50727\packages\vcRuntimeMinimum_amd64\
The name is Microsoft Visual C++ 2012 x64 Minimum Runtime.
Minimum ? Sounds like there could be more…

Looking at; HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{AC53FC8B-EE18-3F9C-9B59-60937D0B182C}
There is;

We can now extract two MSI-files – from the directories;
Additional runtime; C:\ProgramData\Package Cache\{AC53FC8B-EE18-3F9C-9B59-60937D0B182C}v11.0.50727\packages\vcRuntimeAdditional_amd64\

Minimum; C:\ProgramData\Package Cache\{A2CB1ACB-94A2-32BA-A15E-7D80319F7589}v11.0.50727\packages\vcRuntimeMinimum_amd64\

If simply executing the extracted MSIs you get the following;
To install this product, please run Setup.exe. For other installation options, see the Installation section of ReadMe.htm.

Simply add the property ADDEPLOY=1 to bypass the check!