is it possible to manually install the opsmgr (scom) agent with patches?

the answer is yes and no.  the bottom line is, you can’t do it from a single command line execution as you can generally with other MSI installations.

for example, if you wanted to run the momagent.msi and use the patch switch as shown in this example, it simply will not work.

msiexec /i MOMAgent.msi PATCH=Q954049-x86.msp;Q954903-x86.msp;Q956689-x86.msp USE_SETTINGS_FROM_AD=0 MANAGEMENT_GROUP=mytestgroup MANAGEMENT_SERVER_DNS=mytestserver.mydomain.com SECURE_PORT=5723 ACTIONS_USE_COMPUTER_ACCOUNT=1 /l opsmgr_install.log

 

instead, you’d have to run the previous installation without specifying the PATCH= switch.  once completed, then you can roll in the additional patches by running msiexec in update mode.  it would look something like this:

msiexec /update Q954049-x86.msp;Q954903-x86.msp;Q956689-x86.msp REINSTALL=ALL REINSTALLMODE=omus /L*v opsmgr_install.log /qn

 

thanks clive!

Comments

  1. I didn't count the characters, but are you exceeding the command line maximum (255, right?)? Maybe if you could move some of the other parameters off the command line and into a config file or elsewhere, it would work?

    ReplyDelete
  2. it's a limitation of this particular msi.

    ReplyDelete
  3. Marcus, you could try creating an administrative installation for the SCOM Agent. And then patch the administrative install.

    This could be interesting if there would be like 20 patches for the latest SCOM RTM version Agent. Maybe I'll give this a shot when i find some spare time ;)

    http://michielw.blogspot.com

    ReplyDelete
  4. i'm not sure what kind of semi-supported position that would put me in. :| sorry for the late response!

    ReplyDelete
  5. We are looking into doing an Administrative Install Point for this. Right it would include the base agent for SCOMR2 plus CU1. Ever consider this option?

    ReplyDelete

Post a Comment