volta -vvolta writes 0.6.4
We get a System Error from volta.exe:
The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this problem.
_Note: volta -v in Powershell fails silently_
Volta won't run in this configuration.
Download and install Microsoft Visual C++ 2015 Redistributable, then try again.
Thanks for the report! @charlespierce thoughts on the mechanics for tackling this? Should it just be more docs and making sure that PS does the right thing so it doesn't fail silently here?
I have not modified installers in a _long_ time, but I would expect the redistributable to be included in (or downloaded by) the installer. Cf. WIX How To: Install the Visual C++ Redistributable with your installer.
Notably, Microsoft notes some cautions when considering merge modules. Cf. Redistributing Components By Using Merge Modules.
Not sure about the PowerShell silently failing part, I don't know that there's much we can do about that, however my thought was exactly what @pjking07 just linked: Including the dependency in the installer itself. Thanks for linking those! I'll read through because I'm far from an expert in installers either 馃憤
@pjking07 I don't currently have a development machine with Windows 10 Pro to use the Windows Sandbox, so would you be willing to test the changes with the following installer (which includes the Visual C++ runtime Merge Module)?
If that works, then I'll create a PR so all future installers will have the merge module included. Thanks!
That worked perfectly on Windows Sandbox :shipit:
Most helpful comment
Not sure about the PowerShell silently failing part, I don't know that there's much we can do about that, however my thought was exactly what @pjking07 just linked: Including the dependency in the installer itself. Thanks for linking those! I'll read through because I'm far from an expert in installers either 馃憤