Answer the question
In order to leave comments, you need to log in
How to make an installer shell?
Hello!
There is an idea that would not upload constantly new versions of software, download it from the Internet.
I will describe the situation:
I want to write a shell for the installer. those. the user downloads the shell, and when he starts installing, the latest version of the program is downloaded from my server. Accordingly, there is no need for versioning. The user will always have the latest software. The program will naturally have the ability to update, but that's another story.
Please recommend a software that can handle this and an approximate solution, perhaps a couple of links.
An example is the Google Chrome installer, which first downloads, then installs
Thank you!
Answer the question
In order to leave comments, you need to log in
Such applications are usually called Launcher, a cursory search immediately gives source codes in C #
But here you need to take into account the jslby comment , because he is not the only one who does not like them, they annoy me too :) especially if the proxy forbids downloading applications at work, it’s not clear how such a launcher is at all be able to download something. It is necessary to give a choice of a launcher and an offline version.
How will the automatic update of an already installed program be performed? Are you going to write it yourself or do you want the installation package to do the same? If you do it yourself, then "everything is simple":
1. The installer creates the program directory
2. Downloads all program files via ftp (it is possible not via ftp, but it's easier to program via ftp)
3. Registers everything that needs to be registered in the system
To update the program step 2 is performed (the necessary files are downloaded via FTP).
It is also easiest to check the version through a file with a version number located on FTP - you don’t have to write a client-server application and keep the server part, which only gives the version number.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question