curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Question on minimal installation files and compatibility with different Windows versions

From: ItzRav via curl-users <curl-users_at_lists.haxx.se>
Date: Wed, 26 Jul 2023 00:22:30 -0400

Greetings.  This is my first post here.  I'm developing an app for use
by people with very limited computer skills, so I am trying to make the
installation process as easy and simple as possible.  I plan on using
command-line curl (under program control of my app) to download the
initial installation of the app, and to download software updates as I
make them available.

My user base will be running Windows, anything from Windows 7 through
Windows 11, and either 32-bit or 64-bit.

Since prior to Windows 10 curl.exe didn't come installed in Windows, I
can't depend on curl always being present, so I need to provide curl as
part of the installation.  I would prefer to install and depend on just
one version of curl, namely the one in https://curl.se/windows (curl for
32-bit).  For my purposes it's not important to get any speed boost by
using a 64-bit version on 64-bit machines.

In my testing (only under Windows 10), it appears that there are only
two files necessary from curl-8.2.0_1-win32-mingw.zip\bin to run
command-line curl, namely curl.exe and curl-ca-bundle.crt (since I'll be
downloading from an HTTPS site).  It doesn't appear to require libcurl.dll.

Here is an example of how I will use curl:

curl -L
"https://drive.google.com/uc?id=Blb4xtM-RvXqpKwqZuc5OYw4zMlD1U-uD" -f -s
-S --stderr DL.ERR -o TEST.TXT

My questions are:
1.  Is it correct that these are the only two files I need to install to
run command-line curl?
2.  Will this version of curl run on all versions of Windows, from 7 to
11, and in all cases either 32- or 64-bit?

Thanks very much.  / Rav
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-users
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2023-07-26