Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Using pcsi to install silently?

 
SOLVED
Go to solution

Using pcsi to install silently?

I'm trying to install ssl silently but I just cannot ge it to work.
As I've understood it the switch /options=noconfirm would supress any input.

I've also created a pcf file using /configuratio=output but still no luck..

Is it even possible to install silently?
7 REPLIES
Karl Rohwedder
Honored Contributor

Re: Using pcsi to install silently?

This is possible, we are distributing our own PCSI kits this way (a batch job talks to the remote nodes via task-to-task, and the remote side then submits a batchjob to do the work).

The actual commandline in the remote batchjob goes like this:
$ Product Install /option=NoConfirm 'Kit_Name' 'Dest' /Version="''Kit_Vers'" /Source='P3' /Remark="''Remark'"

I've attached the run log of such an installation, so you can see the real commands.

regards Kalle

Re: Using pcsi to install silently?

Still no luck.

i've extracted the ssl package and repackaged it but no. I still get this.

"* This product does not have any configuration options.

Do you want to review the options? [NO]"

Even with the switch /option=noconfirm

Any more ideas? Any switch I've left out while packaging it?
Karl Rohwedder
Honored Contributor

Re: Using pcsi to install silently?

Have you tried creating a temp. command procedure:

$ ass /user sys$input sys$command
$ prod ins ssl/opt=noconfirm/con=curr
NO

regards Kalle

Re: Using pcsi to install silently?

" Have you tried creating a temp. command procedure:

$ ass /user sys$input sys$command
$ prod ins ssl/opt=noconfirm/con=curr
NO"

I've tried using a configuration file but the same thing happens.

What do you mean with the NO ?
Karl Rohwedder
Honored Contributor
Solution

Re: Using pcsi to install silently?

PRODUCT asks the question 'Do you want to review the options?' and the NO answers this question (because sys$command is defined as being sys$input (the commandfile)).

regards Kalle

Re: Using pcsi to install silently?

Sorry didn't read your reply carefully enough.

The com file works like a charm.

Thanks alot,

regards,

Andreas
Thomas Ritter
Respected Contributor

Re: Using pcsi to install silently?

Here is an example of installing a patch in batch mode.

$ username = f$edit(f$getjpi("","USERNAME"),"COLLAPSE")
$ if username .nes. "SYSTEM"
$ then
$ write sys$output "Use the SYSTEM account."
$ exit 1
$ endif
$ saved_directory = f$environment("DEFAULT")
$ set default kits73:[vms731_ecos]
$ DEFINE/SYS NO_ASK$BACKUP TRUE
$ DEFINE/SYS NO_ASK$REBOOT TRUE
$ DEFINE/JOB ARCHIVE_OLD NO
$!
$ PROD INSTALL VMS731_SHADOWING/PRODUCER=DEC/BASE=AXPVMS-
/VER=V2.0/SAVE_RECOVERY_DATA
$!
$ DEASSIGN/SYS NO_ASK$BACKUP
$ DEASSIGN/SYS NO_ASK$REBOOT
$!
$ set def 'saved_directory'
$ prod show history
$ exit 1