Posts Tagged ‘msi’

Using WMIC to review installed software

Friday, April 23rd, 2010

I found another way to see installed software from the command line (provided it’s been installed using a .msi installer).

From:

http://stackoverflow.com/questions/1482739/batch-script-to-get-specific-installed-software-along-with-version

List all installed Microsoft products:

  wmic product where "Vendor like '%Microsoft%'" get Name, Version

*

  List installed products that have Office in their names:

  wmic product where "Name like '%Office%'" get Name, Version

Updating Acrobat using msiexec and psexec

Tuesday, March 31st, 2009

Most of the software in our lab is managed via group policy through our active directory server, which means I can patch software by applying the .msp file (if it exists) to the network installation or by simplying adding a new network install point and having it upgrade the previous version of the software.

However, some software pacakges, for licensing or performance reasons, have to be installed on individual machines.  Our licenses for Adobe Acrobat mean that we have different versions installed on different machines throughout the lab.  Every computer has reader, but some also have Acrobat 7 or 8.  To patch these machines, I did the following:

Downloaded the updates from the adobe site:

http://www.adobe.com/support/downloads/product.jsp?product=1&platform=Windows

Use the ADMIN$ share on machines with Acrobat installed to store the patches, and run psexec from a control machine to install them.

For Acrobat 7, I only to install 2 updates on a couple of machines and I used the command line options I found on AppDeploy to run them.

msiexec /p c:\windows\temp\AcPr710.msp;c:\windows\temp\ AcroUpd711_all_incr.msp REINSTALLMODE=OMUS RINSTALL=All REBOOT=ReallySuppress /qn

For 8, I wrote a batch file to apply several updates in order, with the following format:

msiexec /p c:\windows\temp\AcrobatUpd814_all_incr.msp /q

AppDeploy Acrobat Pages:

http://www.appdeploy.com/packages/detail.asp?id=545

http://www.appdeploy.com/packages/detail.asp?id=431

http://www.appdeploy.com/packages/detail.asp?id=937

Maya 3DS Max Auto install

Tuesday, July 29th, 2008

I think I’ve figured out why my autoinstallers for 3DS Max 9 and Maya 2008 didn’t work – they required the directx redistributable package to run, specifically d3dx9_34.dll for Maya and some earlier version for 3DS Max.  In addition to the isscript autoIt install (required because the installshield msi file will break all other versions of isscript.msi if installed via group policy), a directx silent install will be required to ensure the installation can roll out on lab machines.