Bug 363596 - Kate needs Microsoft Visual C++ 2015
Summary: Kate needs Microsoft Visual C++ 2015
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Microsoft Windows Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-27 14:58 UTC by David Vantyghem
Modified: 2016-09-08 20:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Vantyghem 2016-05-27 14:58:18 UTC
I installed Kate for Windows version 16.07.70 on Windows 7 Pro. I've got an error (DLL missing) and this error disappears after installing Microsoft Visual C++ 2015 64-bit.
https://www.microsoft.com/fr-fr/download/details.aspx?id=48145
in the installer, could you test if this version of MSVC++ is already installed and if not, download and install it ? It's very convenient because there's no need to download and install it, I found this functionality in PHPServer, Hexchat, Shareaza.
Some others free softwares include MSVC in the package but it's not a good idea because then, we download it even if we don't need it and free software + proprietary software in the same package is ugly.

Reproducible: Always

Steps to Reproduce:
1. Install Kate for Windows
2. Look at the installed software in "Programs and functionalities"
Comment 1 Dominik Haumann 2016-06-13 21:49:18 UTC
Can you try http://download.kde.org/unstable/kate/ again? The version is older, but in fact the code is newer.
Comment 2 David Vantyghem 2016-06-14 06:04:03 UTC
I tried, same problem.
Beware, there's a backdoor in Visual Studio 2015 : https://www.infoq.com/news/2016/06/visual-cpp-telemetry
Is it a false positive ? https://www.virustotal.com/fr/file/b590b5e6ec2ad086712b41d1ab04939c7cbf56c05f8dffbde3d19d8bb9645135/analysis/
Comment 3 Christoph Cullmann 2016-06-14 06:22:34 UTC
Hi,

the link to the scan result shows "zero alarms", which I think is good.
There is no backdoor, just not wanted instrumentation that could leak information about the application behavior. That is bad, but imho nothing we need to care about and will be away with the next MSVC update. (not that I think it is good, but if you use Windows or Mac and care about such stuff: don't use them, use e.g. Linux/BSD/... ;=)
Comment 4 David Vantyghem 2016-06-14 06:31:32 UTC
I'm using GNU/Linux since 2000 (now on Linux Mint MATE) and I'm doing a Windows free software compilation for Windows users who want to test Windows free software before switching to GNU/Linux : http://www.numopen.fr/compilibre-en
The problem is that more and more Windows free software authors add proprietary code in free softwares (Blender, FAR, Pencil2D, Scribus, Wings3D) and sometimes malwares, like in PDFcreator... They don't respect the free software spirit.
Comment 5 Christoph Cullmann 2016-09-04 14:34:42 UTC
You can compile it on your own with mingw, the official builds will be kept on VisualStudio 2015 or later, as that is the "native" way to go. The builds don't require MSVC2015, only the redistributables, like any modern software using MSVC2015 (actually that dlls are around on your system anyways, if you keep Windows up-to-date).
Comment 6 David Vantyghem 2016-09-04 19:43:46 UTC
@Christoph Cullmann Your did not propose a solution at my questin : adding a test in the installer, to verify if MS DLL is installed and if not, to install it, like modern software using MSVC2015 are doing.
Comment 7 Christoph Cullmann 2016-09-05 09:57:22 UTC
For me already the current installers you get via kate-editor.org or download kde org will install redist for msvc
Comment 8 David Vantyghem 2016-09-08 19:24:54 UTC
MS DLL is included in Kate-setup-16.04.2-KF5.23-64bit.exe. It would be better to firstly test if MS DLL is already installed and if not, download and install it. The package would be smaller and quicker to download and the proprietary software would be separated from the free software. PHPServer, Hexchat, Shareaza and other free softwares are doing that, it's very convenient and clean.
Comment 9 Christoph Cullmann 2016-09-08 19:52:30 UTC
But with that setup, you can't download the installer, but it on a USB stick and use it "everywhere" without the need for Internet. I don't see the point in that, given Microsoft allows and wants the redist packages to be distributed.
Comment 10 David Vantyghem 2016-09-08 20:04:47 UTC
If I can download Kate Setup, I can download MS DLL too. I don't want to download a package that includes MS DLL because MS DLL is far always already installed, because I want to distribute free softwares and not proprietary softwares and because I prefer a smaller package. If MS DLL is really needed, the installer can download and install it, it's a better solution than including MS DLL that people rarely need to install.
Comment 11 David Vantyghem 2016-09-08 20:06:11 UTC
And you can add a message on the download page with a link toward MS DLL downloading page.
Comment 12 Christoph Cullmann 2016-09-08 20:23:55 UTC
Hi, I can accept that you want to do it that way, but you must accept that we don't want to do it that way. If you want such a smaller installer, feel free to create one. But we want to provide self contained things were you don't need to install more beside just one installer.