MUSINGS

How to automate the uninstall of Java from Windows PC’s

How to automate the uninstall of Java from Windows PC’s

The following script will identify all versions of Java installed on a Windows computer (it may have several different versions installed) and then proceed to silently remove them. This script can be setup as part of a group policy to run at either Windows Startup or Shutdown. By using a group policy Java can be mass uninstalled across a large number of Windows computers at once. Read more about How to automate the uninstall of Java from Windows PC’s

Windows Installer fails to install msi package with “This installation package could not be opened” error

Windows Installer fails to install msi package with “This installation package could not be opened” error

A windows 7 laptop was dropped off in the office with an unusual problem.  Any applications which were downloaded onto the PC would fail to install if they relied on Windows Installer, such as the Australian Tax Offices (ATO) E-tax application . The error tended to indicate that the installation was corrupt. However I knew this wasn’t the case as the very same msi package would install without issue on another PC. In fact through the process of elimination I could get Windows Installer to install the msi package if the run from the command prompt using msiexec.exe.  Read more about Windows Installer fails to install msi package with “This installation package could not be opened” error

Problem installing iTunes on Windows 7 – Apple Mobile Device Service ‘Rolling back action’

Problem installing iTunes on Windows 7 – Apple Mobile Device Service ‘Rolling back action’

I recently came across a problem on a Windows 7 64bit laptop where Apple’s iTunes was failing to recognise a connected iPhone. It was giving a error that the wrong version of iTunes was installed and I should install the 64bit version of iTunes. As I had no idea how what had been performed up until this point I performed a full uninstall of iTunes. I then downloaded the latest version of iTunes 10.5.1 and ran through the installer. At one point during the install I noticed the install gave the message ‘Rolling back action’ and thought to myself this cannot be good.

At the end iTunes indicated it had a problem installing and I should try again. The weird thing is if you didn’t pay attention to the message you could quite easily click on ok and iTunes will work except it’ll fail to recognise any iPod, iPhone or iPad device. To help identify what actually failed to install I checked the windows services management console and found the Apple Mobile Device Service was missing. This makes sense because it’s that service which communicates with the iPhone. The question is why was the Apple Mobile Device Service (AMDS) failing to install?
Read more about Problem installing iTunes on Windows 7 – Apple Mobile Device Service ‘Rolling back action’