26 October 2012

OpenLM Agent Silent Install

Installing OpenLM Agent is a relatively straight-forward process. There are no settings required for the msi installer. In order to make it a silent install, you first need to install it on your own machine. Once installed, the  first time it runs, there will be a configuration window appear. Input the server name and any other pertinent data and then click apply. Now, go to the %ProgramFiles%\OpenLM\OpenLM Agent\ and copy the OpenLM_Agent.exe.config file to your installation directory. In your installation script, copy this file to the %ProgramFiles%\OpenLM\OpenLM Agent\ directory once the app is installed. That is all that needs to be done to automate the silent install.

You can download the script from here

Here is the tasks in file I named install.cmd:
 msiexec.exe /i %~dp0\openlm_utilizer_agent_win_1713.msi /qb- /norestart  
 timeout 2  
 taskkill.exe /IM OpenLM_Agent.exe /t /f  
 timeout 2  
 copy %~dp0\OpenLM_Agent.exe.config "C:\Program Files (x86)\OpenLM\OpenLM Agent\OpenLM_Agent.exe.config" /v /y /z  
 "C:\Program Files (x86)\OpenLM\OpenLM Agent\OpenLM_Agent.exe"  

Related Posts:

  • Add/Remove Program entries Sometimes it is necessary to add an add/remove programs entry. There are instances where an application is independent and requires not installation and you want to make sure it is copied to the system, or you use add/remov… Read More
  • Disable Windows Media Center If you are needing to disable Windows Media Center in Windows 7 by command line, here is a script that will do just that. This script will not only disable it, but it will also add an add/remove programs and HKCR entry so t… Read More
  • Verify applications were installed during build process As many of you have probably experienced, SCCM and MDT do not always install all of the applications that are in the task sequence list, even if it returned an error code 0. This can be rather annoying, especially when it h… Read More
  • Dell Client System Update for the SCCM & MDT Build The DCSU is a great utility that Dell has made available to update the drivers and driver applications on Dell systems. The industry I work in requires specific drivers for specific applications, which makes the DCSU not a… Read More
  • Autodesk 2014 Building Design Suite Ultimate Uninstaller The Autodesk suite is not the easiest to uninstall because of all the components that the built in uninstaller does not uninstall. I went in and extracted all of the GUIDs for each components and created the powershell scr… Read More

4 comments:

  1. Are you installing as the user or the system? This method causes the OpenLM agent to run as system when installed as system.

    ReplyDelete
  2. This was being installed as the user. This took place in my last position where all users had local administrator privs.

    ReplyDelete
  3. Yeah, that is an issue for us. Not all of our users have admin rights. Do you know of a way around this?

    ReplyDelete
  4. You may need to add to the script to temporarily give the user local admin privs and then take them back away after the installation is complete. I would manually try that first and if it works, you could create a powershell script to do the sequence of processes. I wish I could be of more help, but I am now working in a completely different industry that doesn't have OpenLM.

    ReplyDelete