I had a customer in need of truly instant gratification related to a small software component. This trick will work in OpsMgr 2007 as well, but is not something I encourage.
Scenario:
Support engineer is required to uninstall and reinstall a small software component prone to failure on demand. In the past, this required the engineer to login as local administrator (users do not have local admin rights), uninstall, reinstall and logoff with the user waiting on the phone.
Given this has to be performed on demand, several times a week, using the normal software deployment functionality with the wuauclt /detectnow task really just did not meet support the need for instant gratification.
Workaround:
Create uninstall and installation tasks using the Windows Installer (msiexec), which provides well known command line parameters to silently install uninstall. This can can easily be accomplished using the msiexec -x (uninstall) and /qn (silent) flags.
As long as the package does not run beyond the task timeout limit specified when creating the task, it works well, and reports success or failure in the task window.
The Uninstall Task
Here's how you'd configure the task. Notice the software package is located on a network share with Everyone READ permissions. FYI- This was not the point from which the package was originally installed.
The Install Task
This looks much like the Uninstall Task, just minus the -x flag.
Hope you find this tip useful! Please post feedback via comments on this post
|
|
|
|
Thank you for your rating!
|
Share This |
Views: 247 :: Rank: (120) |
Filed In: Blog, Operations Manager, Essentials (SCE) |
221 days ago |
|
|
|
|
|
|
|
|