In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
This article mainly introduces "what are the methods of BAT batch automatic installation software". In daily operation, I believe many people have doubts about the methods of BAT batch automatic installation software. Xiaobian consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful to answer the questions of "what methods are there for BAT batch automatic installation software?" Next, please follow the editor to study!
Using batch processing to install common software, we need to master the following knowledge points:
one。 Encapsulation types of common application software:
1. Installshield type:
Installshield is a commercial-grade installer encapsulation tool, which is used in many large commercial software. For example: macromedia flash. Pgtoshop et al.
Installation parameters:-R is used to record the installation process
-s for automatic installation of software
-F1 specifies the path to the setup.iss answer file
How to use it:
1)。 First use the-R parameter to install the software under the command line, the installation process is not essentially different from the normal installation, but after the software installation is finished, you can find a file called setup.iss in the c:\ windows (winxp system) or c:\ winnt (win2k system) directory, which is the important answer file that can be installed automatically.
2)。 Put the above setup.iss files in the same directory as your installer and use the-s parameter for automatic installation.
For example: start / wait x:\ phtoshop\ setup.exe-s-F1 "y:\ setup.iss" (if the setup.iss file is in the same directory as the installer, the-F1 parameter can be omitted)
2.Inno setup type:
Inno setup is a completely free installer packaging tool, its function and stability are comparable to commercial packaging tools.
Installation parameters: / silent (/ verysilent) for automatic installation of software
The confirmation interface used by sp- to skip the installer
Usage: start / wait x:\ thunder5.exe / verysilent sp-
Note: this installation parameter is easy to use, but if we write it into a batch file for a large number of software installations, some software will start itself after installation, such as Thunderbolt, in order not to affect system performance, we can terminate its process in combination with other commands, such as:
The code is as follows:
@ echo off
Start / wait x:\ thunder5.exe / verysilent sp-
Echo.
Taskkill.exe / F / IM Thunder5.exe
3.Microsoft Windows Installer technology packaging program
Microsoft's own products, many software manufacturers now choose this packaging method based on Microsoft development.
Parameter: / / QB (/ QN) is used to automatically install the software
/ REBOOT=suppress does not restart after installation
Usage: start / wait x:\ setup.exe / QB REBOOT=Suppress
4.Nullsoft SuperRMP Install System (NSIS) type, for example: winamp
Usage parameter: / S is used to automatically install the software
For example: X:\ winamp\ setup.exe / S
Description: this kind of software installation will give a file association confirmation window, currently can not skip, but I can give you an idea, that is, combined with the Doskey command in the VBS script to imitate the keyboard action to achieve the confirmation process, so far I have not written it, hope the master to help improve
two。 Analysis of test methods and installation types:
1. Test method: it can be tested with a popular virtual machine.
two。 Installation type analysis: most installers can view their wrapper classes by right-clicking on the installer _ select properties _ version
three。 Requirements in batch files
If you plan to repackage the installation CD with the WINXP CD tool and install the application using the winxp answer file, you must understand that the location of the batch file should be there.
At this point, the study on "what are the methods of automatically installing software for BAT batch processing" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.