>installation directory,
>accept license,
>Create icons on the desktop
>etc…
Suppose I can build an automatic installation program for each program separately, or I want to put the files in a self-extracting archive and unzip Run the installer after the package.
Do I need a third-party program? Should I use the command prompt? Do I need to learn Lua? (I am learning C#)
Edit:
To clarify I will use an example:
>Suppose I wrote a program, but the program has a Requirement, such as
DirectX, or Adobe Air, or Maxthon browser.
>I wrote my program in this way, I have to make sure it is
a very specific drive installed on the PC / Folder or some
specific preferences/parameters.
>I include the installer of this program, but I want to specify the location
it is installed on the PC and what parameters it carries.
>The most Fortunately, install this requirement after or during
install/extract my own program.
I am looking for a way to run the installer of any given program and navigate its installation wizard, and The user must/can change the settings I need (with the user’s foresight and permission of course).
It does not need to be a silent installation or anything.
For the installer (settings) category, the setting requirements I mentioned It seems very common to me, and there is no abnormality at all.
Usually, you have two options:
You can write everything yourself, create installation dialogs, and save settings. Wait. Then you can use C# (or any other language).
This is very rare because it takes time and you are reinventing a problem that is solved multiple times in a standard way. Also, if you use Tools, you will fall into common setup error traps, which may have been caught (or at least documented).
If you want to use a tool, if you want one based on MSI (Windows Installer) Tool, then this is your first decision. MSI is the most powerful installation technology in Windows and the most popular installation technology in the industry, but it is a very complicated problem, and no tool can protect you 100%. Google for WiX (open source) or InstallShield as a starting point for MSI tools, but of course there are more.
For example, some tools have been integrated or integrated in Visual Studio.
The Selfextracting tool is a starting point, But the following tools provide more, and are a good intermediate path between extreme points SFX and MSI:
InnoSetup
(There is also a home in SO).
< p>Nullsoft on SourceForge Scriptable Install System (NSIS)
A self-extracting program in Windows I want to mention, because it is not widely known, “IEXPRESS.exe” is already included in the operating system.
Regarding the special question of the navigation installation wizard:
Each mentioned tool has a method to save the installation settings, of course it is to decide which settings can be changed by the user part created by 1*1 settings. Using these tools, you can according to your needs Design the required installation dialog.
I hope I understand what you mean.
P.S. Although most tools include scripting languages or similar things, you can usually use Your own operations written in almost any programming language to extend the installation process.
How to create an automatic installer for a program with a regular installer, which contains the following questions:
>installation directory,
>accept permission,
>create icon on the desktop
>etc…
Assuming I can separate for each program Build an automatic installer, or I want to put the files into a self-extracting archive and run the installer after unpacking.
Do I need a third-party program? Should I use the command prompt? Do I need to learn Lua? (I am learning C#)
Edit:
To clarify I will use an example:
>Suppose I wrote a program, but the program has a Requirement, such as
DirectX, or Adobe Air, or Maxthon browser.
>I wrote my program in this way, I have to make sure it is
a very specific drive installed on the PC / Folder or some
specific preferences/parameters.
>I include the installer of this program, but I want to specify the location
it is installed on the PC and what parameters it carries.
>The most Fortunately, install this requirement after or during
install/extract my own program.
I am looking for a way to run the installer of any given program and navigate its installation wizard, and The user must/can change the settings I need (with the user’s foresight and permission of course).
It does not need to be a silent installation or anything.
p>
I rewrote my answer.
For the installer (settings) category, the setup requirements I mentioned seem to be common to me, and there is no abnormality at all.
Usually, you have two choices:
You can write everything yourself, create installation dialogs, save settings, etc. Then you can use C# (or any other Language).
This is very rare because it is time consuming and you are reinventing a problem that has been solved multiple times in a standard way. Also, if you use tools, you will fall into the common trap of setting errors, these The error trap may have been caught (or at least documented).
If you want to use a tool, if you want an MSI (Windows Installer) based tool, then this is your first decision . MSI is the most powerful installation technology in Windows and most welcome in the industry, but it is a very complicated problem, no tool can protect you 100%. Google for WiX (open source) or InstallShield as the starting point for MSI tools , But of course there are more.
For example, some tools have been integrated or integrated in Visual Studio.
The Selfextracting tool is a starting point, but the following tools provide more and are extreme points A good intermediate path between SFX and MSI:
InnoSetup
(There is also a home on SO).
Nullsoft Scriptable Install System (NSIS) on SourceForge
A self-extracting program in Windows I want to mention because it Not widely known, “IEXPRESS.exe” has been included in the operating system.
Special questions about the navigation installation wizard:
Each mentioned tool has a method to save the installation settings, of course it is Decide which settings can be changed by the user part created by 1*1 settings. Using these tools, you can design the required installation dialogs according to your needs.
I hope I understand what you mean.
Attachment: Although most tools include scripting languages or similar things, you can usually use your own operations written in almost any programming language to extend the installation process.
< /p>