Questions tagged [vcredist]

Visual C++ Redistributable files set. Required set of files to execute .Net based applications.

111 questions
4
votes
2 answers

How to prevent vc_redist.x##.exe (VS2017) from ambiguously failing due to pending reboot?

TL;DR What is the sane way to automate invokation of VS 2017 vc_redist when called in a chain of several installers? The Visual C++ Redistributable Installer that MS provides for VS 15.x (VS 2017), namely both (14.15.26706 - VS…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
4
votes
0 answers

How to *reliably* install the VC++ redistributable on end-user computers

Best practices from Microsoft dictate that we link dynamically to the VC++ runtime for security reasons, and it sure would be nice if our application automatically picked up hotfixes without requiring a separate application update from our side.…
dreijer
  • 654
  • 8
  • 22
3
votes
0 answers

Why does installing MSVC redistributables require administrator privileges?

This is a very frustrating part of deploying applications on Windows. We have two choices: redistribute the required DLLs in our application directory, or use merge modules and administrator permission to install it system-wide (if it's not already…
Matt Chambers
  • 2,229
  • 1
  • 25
  • 43
3
votes
1 answer

VC++ Redist install passively without restart always restarting

I'm trying to install VC++ Redist without any user input using the following code. I do not want system restart as well – so supplied /norestart…
techno
  • 6,100
  • 16
  • 86
  • 192
3
votes
2 answers

Trouble generating a deployable binary for a C++ wxwidgets project using Visual Studio

I’m having trouble generating a deployable binary for a C++ wxwidgets project using Visual Studio. After the build completes, the exe that is generated does not seem to get installed in any other Windows machine. Visual studio 2019 is used to create…
Rahul
  • 31
  • 2
3
votes
1 answer

Why does ucrtbase export _CxxThrowException?

Why do ucrtbase.dll and vcruntime140.dll overlap in some of the functions they export according to Dependency Walker? Disclaimer: This is currently purely of academic interest to me. I'm currently trying to understand the layout of the Microsoft…
Martin Ba
  • 37,187
  • 33
  • 183
  • 337
3
votes
2 answers

How to install VC++ 2005 Redistributable x64 and x86 silently with WIX

I'm editing a Setup Project of WIX (Windows Installer XML), and would like to install VC++ Redistributables (2005x86, 2005x64) silently with WIX. I'm using custom actions in my code shown below:
kamelio
  • 33
  • 2
  • 4
2
votes
1 answer

Windows Docker: Issues installing Visual C++ Redistributable in Windows Docker

Totally new to this.. Using .net 6.0. trying to install a vc_redist.x64 into windows docker to run a windows exe with command line interface. Searching around online came up with this to add to docker file, but the redist isn't installed (event…
isswf
  • 115
  • 1
  • 10
2
votes
0 answers

Where can you find the Microsoft C++ Redistributable: Change Log / Bug Fixes

Background Prior to release, we are required to review the Change Log / Bug Fixes for all third-party dependencies. Question Do you know where I can find the: Microsoft's Visual C++ Redistributes change log? Visual Studio has release notes, but…
Pressacco
  • 2,815
  • 2
  • 26
  • 45
2
votes
1 answer

Inno Setup and VC Redistributable and handling exit code 3010 gracefully

In my CurStepChanged procedure I have some code that installs the Visual Studio Redistributable (if required). Code snippet: if (bVcRedist64BitNeeded) then begin if Exec(ExpandConstant(vcRedist64BitPath), '/install /passive /norestart', '', …
Andrew Truckle
  • 17,769
  • 16
  • 66
  • 164
2
votes
0 answers

When does Visual C++ 2015-2019 Redistributable lead to PC reboot

In some machines installing Visual C++ 2015-2019 Redistributable requires PC reboot. However, if we 1)Install Redistributable 2)Reboot 3) Remove Redistributable 4) Try to install it again It doesn't require a reboot on the second attempt of…
Bogdan
  • 127
  • 1
  • 1
  • 9
2
votes
0 answers

Java and Visual Studio redistributable package

It has come to my attention that there is a link between java and Visual Studio redistributable package.Some versions of java may require different versions of redist. Can some one explain this to me. It seems i don't find anything relevant on the…
user3249353
  • 239
  • 1
  • 6
  • 16
2
votes
1 answer

How to handle Microsoft Visual C++ Redistributable for Visual Studio 2017?

First of all, why can't I download it from Microsoft like before? Second, when I install vcredist 2017 it will replace vcredist 2015(it's removed from "Add or remove program" list), is it fully backward compatible? Version is changed from 14.0.x.x…
lape75
  • 61
  • 1
  • 6
2
votes
1 answer

How to install Visual C++ Redistributable Package 2015 with Inno Setup?

I got this lines: [Files] Source: "vc_redist.x64.exe"; DestDir: {tmp}; Flags: deleteafterinstall [Run] Filename: {tmp}\vc_redist.x64.exe; Parameters: "/install /passive /norestart"; StatusMsg: Installing VC++ 2015 Redistributables... Filename:…
Justo
  • 21
  • 1
  • 4
2
votes
1 answer

No api-ms-win-crt-runtime-l1-1-0.dll on Windows 10 after Visual C++ 2015 redistributable packages

my WIX installer detects if installing VCRedist 14 (aka Microsoft Visual C++ 2015 redistributable packages) is required using the presence of api-ms-win-crt-runtime-l1-1-0.dll, because without it, my C++ app built with VStudio 2015 wouldn't run on…
Petronius
  • 428
  • 4
  • 12