Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

C 

How to make installer with C++

I want to make a downloader with C ++. When the downloader's executable opens, I want to download the files I want to the disk I want.

The only difference from normal downloaders is that it does this in the background.

How do I do this? Do you have a resource?
Wininet API.


25 character limit.
I found this link you may be interested in taking a look at. This shows how you can download and save a file using curl library.
stackoverflow.com/questions/1636333/download-file-using-libcurl-in-c-c

Since you said you want to hide it in the background you can use this:
ShowWindow(GetConsoleWindow(), SW_HIDE);

If you don't know how C works I suggest you take a look at this website. learncpp.com
(Mar 10, 2020 07:15 PM)stringsnstuff Wrote:  I found this link you may be interested in taking a look at. This shows how you can download and save a file using curl library.
stackoverflow.com/questions/1636333/download-file-using-libcurl-in-c-c

Since you said you want to hide it in the background you can use this:
ShowWindow(GetConsoleWindow(), SW_HIDE);

If you don't know how C works I suggest you take a look at this website. learncpp.com

I know c works but what I want to do is in the form of a setup.

that is,i don't want download files from the internet.

I am trying to do a setup that places its files in directories like %systemroot%. This is offline.
(Mar 11, 2020 01:18 AM)codforc Wrote:  I know c works but what I want to do is in the form of a setup.

that is,i don't want download files from the internet.

I am trying to do a setup that places its files in directories like %systemroot%. This is offline.
As genuine as I can possibly be, I don't understand what you're trying to do. You said you don't want to download files from the internet? But in your original post you said you wanted to make a downloader. Then you said you want it to be offline, where is the files going to be coming from if it's going to be offline? This is no longer a downloader if your using it offline.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C] by SIM-5110848Jan 26, 2022 10:17 AM 2 342 Jan 26, 2022 10:17 AM
Last Post: mose3c
[C#] by SIM-4704770Aug 6, 2021 05:49 AM 12 862 Aug 6, 2021 05:49 AM
Last Post: RedirectMe
[C] by lans.007Jul 15, 2021 11:02 PM 2 201 Jul 15, 2021 11:02 PM
Last Post: Sajuuk