How to script As400 install

does anyone know if its possible to script the installation of IBM Client Acess V5R4
clarkedAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Gary PattersonVP Technology / Senior Consultant Commented:
_b_hCommented:
As Gary's link indicates, you can script a silent installation of Client Access.
While running an install, you record the responses in a file. The file is then referenced by subsequent installs.

Check out how to create tailored install images at the above link as well. It allows you to select which components of Client Access to be installed, include a CA service pack, etc, during your silent install.

Hope this helps!
Barry
clarkedAuthor Commented:
thanks gary,

i creaqted the answer file and placed it into the image directory

if have a share mapped to my machine containing the image directory, i browse to this directory using command prompt, then i call setup -s  it will start the silent install.

prob is that i will be building many machines and dont want to map the share first, what i have tried is using a pushd command wrapped in a batch file

pushd Client Access - Express\Client Access V5R4\IBM Client Acess V5R4 Install\Express\Install\Image
setup -s
i do get the icon in the sys tray saying silent install but it just sits there and nothing happens
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Gary PattersonVP Technology / Senior Consultant Commented:
Rather than wrestle with it, why not just create a little script that temporarily maps a non-persistent drive and then launches silent install?

- Gary Patterson

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
clarkedAuthor Commented:
good call gary, works perfect, is it possible to automate the creation of the sessions next
_b_hCommented:
Check out creating a tailored install image that contains the latest Client Access service pack (which should be installed), and can include the session definitions:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzaij/rzaijcustominstall.htm
Gary PattersonVP Technology / Senior Consultant Commented:
A tailored installation image, as outlined above, is a good way to go.

Sometimes, though, you may find it easier to just create generic sessions and distribute the workstation session files via script.  Sessions are pretty basic (open one in a text editor and you'll see what I mean), and as long as they have the correct extension, and Client Access properly registers the extension, then is is no more complicated to distribute them than distributing any other document.

If you use generated workstation names, or workstation names based on the computer name, you can just create one set of "master" session files, and and copy them to each workstation as part of your installation process.

Bear in mind that if you customize the keyboard, or use custom macros, etc., you'll need to distribute those files, too.

- Gary Patterson

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.