electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

How to install c++ redistributable when automatically updating apps?

Open HarunoOi opened this issue 1 year ago • 0 comments

  • Electron-Builder Version: 22.14.13
  • Node Version: 16.13.0
  • Electron Version:17.1.1
  • Electron Type (current, beta, nightly):current
  • Target: Windows



I need the dll to run an app I am developing in Electron. We would like to install c++ redistributable for users who are missing dlls and would like to install it at the following time.

  1. When the application is automatically updated (for existing users)
  2. When installing the application

I have a problem with each of them and need some advice.

1.When the application is automatically updated (for existing users)

I don't know how to install c++ redistributable at this time. Do you know of any way to do this?

2.When installing the application

I find this issue (https://github.com/electron-userland/electron-builder/issues/4679) to be helpful. Please let me know if there are any other issues that would be helpful.

HarunoOi avatar Jul 11 '22 04:07 HarunoOi