Installing VC++ 11.0 (2012) Runtime incomplete

Got a problem you cannot solve? Try here.
kssummer
Posts: 22
Joined: Tue Jul 12, 2011 1:49 pm

Installing VC++ 11.0 (2012) Runtime incomplete

Postby kssummer » Wed Nov 16, 2016 1:36 pm

I'm using InstallAware 15 Studio.

I've been installing the VC++ 10.0 (2010) runtime for some time now, that works fine. When I added the VC++ 2012 runtime, InstallAware detects that it is not installed on the system (by checking the atl110.dll and mfc110.dll in the system32 folder) and goes through the process of installing it. This process succeeds normally, and I would expect VC++ 2012 to show up in the installed programs list. It does not. Afterwards, the scripts that detect that VC2012 is installed, so they don't try to reinstall it.

If I run the VC++2012 executable directly, that installs on my system just fine.
https://www.microsoft.com/en-us/downloa ... x?id=30679

I've gone through the process of installing this, finding the msi, and trying to install that on the target machine. That seems to do the same thing that InstallAware does -- an incomplete install. I gather that InstallAware is doing just this, launching the msi directly and letting that run...but this does not install everything needed for the VC++2012 runtime.

I'm considering running the VC++2012 executable directly. How can I do that?

Is this functionality fixed in later versions?

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Installing VC++ 11.0 (2012) Runtime incomplete

Postby FrancescoT » Wed Nov 16, 2016 1:57 pm

Dear kssummer,

I don't which IA version you used, but in IA X5 I don't see any problem with installing the VC++ 11 RTMs.

At any rate;

1- you can create a custom InstallAware runtime package just following the steps described with the document; "Extending the Application Runtimes View" http://www.installaware.com/publications-whitepapers.htm.

2- you may use the new "Application Runtime Wizard" (InstallAware X3 and higher versions). The Application Runtime Wizard offers the fastest way to create new application runtimes to install technology prerequisites from your setup projects in a reusable manner. The wizard creates two new MSIcode scripts to check for and install your desired technology prerequisite, both of which are also further editable and customizable; as well as an application runtime definition file. New application runtimes created by the wizard are automatically added to the Application Runtimes design view on the active InstallAware instance, and may also be copied to other InstallAware instances.

3- you may use the Run Program command within your script to execute any runtime package installer ( ... or any other application as well).

You can even embed the packages with your setup exe, if you add them to support files location. InstallAware uses support files at several places throughout the installation. Support files are not actually installed onto the target system, but they are part of the installation package. They are available temporarily while the installation is executing and are cleaned up when the installer finishes execution.
http://www.installaware.com/forum/viewtopic.php?f=2&t=9962

To find out how to use the SUPPORTDIR, please search for "Modifying Support Files" in the IA documentation (just press F1 in IA IDE).

4- Finally, you may upgrade to IA X5.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

kssummer
Posts: 22
Joined: Tue Jul 12, 2011 1:49 pm

Re: Installing VC++ 11.0 (2012) Runtime incomplete

Postby kssummer » Wed Nov 16, 2016 2:05 pm

I was able to successfully install this if I added the exe to the resource files and launch it directly.

However, this pops up an additional (external) GUI and makes the Installer a bit clunky.

I would still like to be able to run this internally.

kssummer
Posts: 22
Joined: Tue Jul 12, 2011 1:49 pm

Re: Installing VC++ 11.0 (2012) Runtime incomplete

Postby kssummer » Wed Nov 16, 2016 2:22 pm

Hi Francesco,

I didn't see your reply. I'm running IA15. Is this a known bug?

Can you tell me how you're installing VC++2012? The scrip shows this:

Code: Select all

Set Variable PROGRESSTEXT to Installing Microsoft Visual C++ Minimum Runtime 11.0 (includes ATL)
 Set Variable VC11FILES_X86 to
 Define File Bag : #IADIR#\runtimes\vcRuntimeMinimum_x86\*.*, get runtime location of files into variable VC11FILES_X86
 Set Variable VC11ERR_X86 to
 Install/Remove MSI Package $VC11FILES_X86$\vc_runtimeMinimum_x86.msi[ADDLOCAL=ALL VSEXTUI=1] (get result into variable VC11_X86)
 


Which leads me to believe the installation would not work. I tried extracting the exe, finding the msi and running that outside of the IA environment. That process does not install VC++2012 correctly (this works for 2010).

What has changed in IA X5?

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Installing VC++ 11.0 (2012) Runtime incomplete

Postby FrancescoT » Thu Nov 17, 2016 5:10 am

Dear kssummer,

I believe the problem is with your project. For what I see, you are not including the proper version of the VC++ 11 RTMs scripts.

I suggest you to proceed as follow;

NOTE!! Make a backup of your entire project folder before to proceed!

1- Open the project and remove any used Application Runtime from the project (Design View in the IDE).

2- Remove any Runtime script eventually left (that refers to the used Application runtimes) in the "Include Scripts" node (left tree pane of the MSI code view in IA IDE).

3- Manually check that any "include script" entry (that refers to the removed Application Runtimes) has not been left in your main script.

4- Finally, re-add the required Application Runtimes, save and build the project.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 43 guests