I need to know how to install a software using a batch file or windows command line.
Or explain how to do these steps.
Let's say I have the file software.exe
I need to run the software and then
click the Next button
Tick the Agreement
and then click the Finish button.
How to do these?
I know the first step...
start software.exe (then the software interface appears)
what are the commands to use the Next button and tick the Agreement and other buttons?
Please explain.
Thanks in advanceHow to install a software using batch file or windows command line?You cannot do this via batch scripting. You have three choices: 1. use an unattended installation of the software, 2. repackage the application, or 3. use AutoIt to automate the installation.
1. It depends on the installer. If it is a MSI file for example, /quiet /norestart will do the job, if it is a Nullsoft installer, they have standard switches as well, et cetera. This will not work for custom installers, but those are fairly rare nowadays.
2. Create an installer yourself. There are various solutions for this and you could even use a standard installer such as Nullsoft for it if you please. You could also create a self extracting archive which runs a batch script for example to create folders, copy files, create registry settings, et cetera.
3. Download AutoIt and create a script which presses the right buttons as you please.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment