E1 Command Line Install
I hate installing “fat” clients. That’s right hate. With our E1 installations, I have between 6-9 fat clients that need to be updated when deploying a full package. Of those, 1 is my eGen PC that gets every package installed to it. Ok, that’s not a very big amount, but it’s still a pain.
It’s not that the package install process is hard, but just time consuming. I mean what the heck takes so long when the screen shows those disks flying around?
Anyway, we did simplify the process a little by virtualizing the development PCs using VMWare. It’s really slick.
That made it a little easier because it wasn’t the developer’s PCs and they didn’t have to do the actual install (complaints from developers about install times was starting to get tiring).
Then, I decided to try and make it easier on myself and research some command line options. I found a great solution on Oracles support site (ID: 626265.1). Below is the syntax and parameters:
[sourcecode]Usage: Setup.exe -d -p [-v|-s] [-e] [-t] [-r]No args Starts the interactive gui installation
-v verbose installation – installation is shown on the screen
-s silent installation – installation is not shown on the screen.
-d the drive and path for the installation
-p package to install
-t install type: -t Typical or -t Compact
Typical to install development objects or Compact to install
production objects only. If not specified, development
objects are installed.
-r remove the previous installation
-e to generate error log.
H – All
I – Informational
W – Warnings
E – Errors[/sourcecode]
I have a BAT file that I use so all I have to do is give it the package name. I think I commented it fairly well below. Please note that this copies some files just so that I make sure I get all the right ones:
[sourcecode]@ECHO off
GOTO :GETPKG
:GETPKG
: Prompt the user for a package name
ECHO Enter package name:
SET /P pkg=
:If the package is blank, ask again
IF “%pkg%”==”” GOTO :GETPKG
GOTO :GETTYPE
:GETTYPE
ECHO Is this a FULL package (y/n):
SET /P t=
SET typ=””
IF “%t%”==”” GOTO :GETTYPE
IF “%t%”==”y” SET typ=Typical
IF “%t%”==”Y” SET typ=Typical
IF “%t%”==”n” SET typ=Compact
IF “%t%”==”N” SET typ=Compact
GOTO :INSTALL
:INSTALL
ECHO Begining Install of %pkg%…
“\\
ECHO Completed %typ% Install of %pkg%
IF “%s%”==”y” GOTO :COPYFILES
IF “%s%”==”Y” GOTO :COPYFILES
GOTO :END
:END
PAUSE[/sourcecode]
I get prompted for the package name and that’s it. It usually takes between 15-20 minutes per install, but I can connect and get them started and leave them alone until they are done.
This could be made even easier. You could use something like psexec from MS Sysinternals and run another BAT file to run this on those PCs remotely.
Well, fairly basic stuff but pretty handy.
Have fun!
Can you post the complete script?
Actually, that is the complete script. Was there something that I missed?
This is pretty similar to what I was doing with E810.
However, we just moved to E900, and changed from MSDE to OEE, and I’m having trouble finding the correct way to install OEE via command line. Do you have any advice or any way that I can install it that is automated?
Mike, unfortunately, I haven’t been able to get this to work for E900 either. If you come up with anything, please let me know.