Skip to content

Include VC Redistributable when building the Windows installer#12868

Open
Max-7 wants to merge 1 commit into
masterfrom
bundle-vc-runtime
Open

Include VC Redistributable when building the Windows installer#12868
Max-7 wants to merge 1 commit into
masterfrom
bundle-vc-runtime

Conversation

@Max-7

@Max-7 Max-7 commented May 28, 2026

Copy link
Copy Markdown
Contributor

Closes #12775
Closes #9341

@Max-7 Max-7 requested a review from a team as a code owner May 28, 2026 07:38

@FirelightFlagboy FirelightFlagboy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a choice to include the VC lib in the installer, some other installers provide a link to download the VC lib instead 🤷


!macro customInstall
!insertmacro mayInstallWinFSP
!insertmacro installVCRedist

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue: This always install VC, it should check if it's not already installed

@Max-7 Max-7 May 29, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, the check doesn't even work properly with WinFSP, I always get a pop-up, so why bother?
You get a pop-up, you click next, if it needs to be installed it's installed. One option could also be to run it as /quiet instead of /passive, which doesn't even display a pop-up (appart maybe from Windows UAC). I put /passive because it's what we're doing with WinFSP and it seems a little more transparent.

@Max-7

Max-7 commented May 29, 2026

Copy link
Copy Markdown
Contributor Author

It's a choice to include the VC lib in the installer, some other installers provide a link to download the VC lib instead 🤷

Where do you put the link? In the installer somewhere? I'm afraid the user won't read and skip the installation. In my opinion, it's just better to bundle that in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add VC Redistributable to Windows installer [🐛 | Bug]: Missing VCRUNTIME140.dll

2 participants