Hi Guys
I'm trying to make a batch file that makes a long install process, a lot more streamlined. Basically I want the batch to call a silent installer, then copy a xml file to save GUI config, the set folder permissions, and finally copy documentation.
Most of this is done but I'm stuck on the silent installer part. At the end it comes up with a "Click Close" dialogue box which stops the batch running until it's pressed. I've tried sleeping the batch for minutes then calling another batch to "kill" the installer.exe process and continue, but this adds too much time and also isn't reliable.
I was hoping for perhaps a better way of doing this. Any ideas greatly appreciated....thanks!
Batch to kill installer process to move on with the script..
Moderator: DosItHelp
-
- Posts: 10
- Joined: 02 Jun 2011 06:22
Re: Batch to kill installer process to move on with the scri
A silent installer performs a silent install, which is the installation of a software program that requires no user interaction: If you have to click "Ok." at the end it is no silent installer.
Maybe it is an installer that supports a silent install if you use the appropriate command line argument (but who could say this without knowing the installer).
penpen
Maybe it is an installer that supports a silent install if you use the appropriate command line argument (but who could say this without knowing the installer).
penpen
-
- Posts: 20
- Joined: 25 May 2012 12:34
Re: Batch to kill installer process to move on with the scri
I did this several times when a program has a switch for silent install, then I learned to make a shortcut to the program and put the switches in the shortcut.
Re: Batch to kill installer process to move on with the scri
Programs are packed using installers like MSI or NSIS installer. Try to figure out what installer you are dealing with. Most of the time you can visually identify it. CMenu.EXE, can identify some installers too. If that fails write a script to have it click the buttons you want clicked. Google >> yourProgram+Silent+Install+Switchestechnotika wrote:Hi Guys
I'm trying to make a batch file that makes a long install process, a lot more streamlined. Basically I want the batch to call a silent installer, then copy a xml file to save GUI config, the set folder permissions, and finally copy documentation.
Most of this is done but I'm stuck on the silent installer part. At the end it comes up with a "Click Close" dialogue box which stops the batch running until it's pressed. I've tried sleeping the batch for minutes then calling another batch to "kill" the installer.exe process and continue, but this adds too much time and also isn't reliable.
I was hoping for perhaps a better way of doing this. Any ideas greatly appreciated....thanks!