batch file for unattended application install

N

needlove

I have googled but can't seem to find an example of a batch file that would
automate the process of clicking the "Next" and "Finish" radio buttons of
an application's setup installation wizard. The application is being
installed from a batch file.

The Application's setup wizard cannot be bypassed by installing from the
cmd line with any switches, ie; /VERYSILENT /SUPPRESSMSGBOXES, do not work
and they are the correct switches for the installer.

The wizard is embedded pascal code in the setup.exe and I would rather not
mess with the scripting.

The application's install wizard defaults are what I want. I just need to
click two "next" buttons and a "finish" button with no user present.

Is this possible? If so, do you have some advice or links?

Thank you
 
M

Mark V

I have googled but can't seem to find an example of a batch file
that would automate the process of clicking the "Next" and
"Finish" radio buttons of an application's setup installation
wizard. The application is being installed from a batch file.

The Application's setup wizard cannot be bypassed by installing
from the cmd line with any switches, ie; /VERYSILENT
/SUPPRESSMSGBOXES, do not work and they are the correct switches
for the installer.

The wizard is embedded pascal code in the setup.exe and I would
rather not mess with the scripting.

The application's install wizard defaults are what I want. I
just need to click two "next" buttons and a "finish" button with
no user present.

You need a SendKeys() capability.
One solution that may fit is AutoIt3 (Free)
www.autoitscript.com/autoit3/
 
N

needlove

Thanks. I just downloaded autoit and I'll google the "SendKeys()" thing.


| In microsoft.public.win2000.cmdprompt.admin, needlove wrote:
|
| > I have googled but can't seem to find an example of a batch file
| > that would automate the process of clicking the "Next" and
| > "Finish" radio buttons of an application's setup installation
| > wizard. The application is being installed from a batch file.
| >
| > The Application's setup wizard cannot be bypassed by installing
| > from the cmd line with any switches, ie; /VERYSILENT
| > /SUPPRESSMSGBOXES, do not work and they are the correct switches
| > for the installer.
| >
| > The wizard is embedded pascal code in the setup.exe and I would
| > rather not mess with the scripting.
| >
| > The application's install wizard defaults are what I want. I
| > just need to click two "next" buttons and a "finish" button with
| > no user present.
|
| You need a SendKeys() capability.
| One solution that may fit is AutoIt3 (Free)
| www.autoitscript.com/autoit3/
|
 
N

Neil Pike

SendKeys() is the function/api you'd use if you wrote code to do it yourself.

AutoIT will do the trick. Another tool worth looking at is WinBatch - that's
not free but it's even more powerful than AutoIT.

For what you need either will do, but I know some companies have a policy
against allowing the use of anything that's "freeware" without an official
support policy.
Thanks. I just downloaded autoit and I'll google the "SendKeys()" thing.

Neil Pike. Protech Computing Ltd
 
M

Mark V

SendKeys() is the function/api you'd use if you wrote code to
do it yourself.

AutoIT will do the trick. Another tool worth looking at is
WinBatch - that's
not free but it's even more powerful than AutoIT.

For what you need either will do, but I know some companies
have a policy
against allowing the use of anything that's "freeware" without
an official support policy.
[ ]

In that event perhaps VBS will be a solution.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top