E
E
etozhe_on2018-05-18 15:25:29
Automation
etozhe_on, 2018-05-18 15:25:29

How to solve the problem of automatically installing two programs and adding one certificate to the registry?

Essence of a question - there are two programs and one certificate. It is necessary, if possible, to create a package or an installer that will install both programs in a certain order, and then add a certificate to the system. Without rebooting and additional actions on the part of the user, except for launching the package itself.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Artem @Jump, 2018-05-18
curated by the

Use any program for creating installation packages, either native Microsoft or something third-party like InnoSetup
If your programs already have a convenient installer that can be controlled from the command line, you can get by with one batch file - Run the installers of the necessary programs in "silent" mode, and install the certificate .
You can install a certificate from the command line using the Certmgr.exe utility.
Sometimes, if the programs are not very complicated, a banal winrar or 7z is enough to create a full-fledged installer.
In general, installing any program is

  • Unpacking the right files to the right places (easily solved with the help of an archiver)
  • Registering libraries - this can be done from the command line.
  • Making entries in the registry if necessary - again, the batch file will help
  • Create Shortcuts
  • Performing some additional actions - for example, in your case, importing a certificate.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question