managed_uninstalls of items not installed by Munki

36 views
Skip to first unread message

Samuel Keeley

unread,
Feb 29, 2012, 12:41:11 PM2/29/12
to munk...@googlegroups.com
I have Cisco Movi 4.2 installed on my machines, but it was not installed with Munki.  Cisco has released a new version, 4.3, but has renamed it to Jabber Video.

I imported Jabber Video 4.3 as a new package, and it installs fine, but putting Movi and managed_uninstalls.  Jabber Video installs fine, but Movi is not removed.  These are .apps in DMGs, not packages.

Is there any way for Munki to remove things that it didn't install itself via managed_uninstalls?  I'd like to do a similar thing by uninstalling Microsoft Communicator since we recently upgraded to Lync 2011.

--
Samuel Keeley

Greg Neagle

unread,
Feb 29, 2012, 12:47:31 PM2/29/12
to munk...@googlegroups.com

On Feb 29, 2012, at 9:41 AM, Samuel Keeley wrote:

> I have Cisco Movi 4.2 installed on my machines, but it was not installed with Munki. Cisco has released a new version, 4.3, but has renamed it to Jabber Video.
>
> I imported Jabber Video 4.3 as a new package, and it installs fine, but putting Movi and managed_uninstalls.
> Jabber Video installs fine, but Movi is not removed. These are .apps in DMGs, not packages.

Did you import Movi into your Munki repo? If not, how would Munki know what to remove?

> Is there any way for Munki to remove things that it didn't install itself via managed_uninstalls?

Yes, but it still needs uninstall information for the item. The easiest way to get that is to munkiimport the item.

> I'd like to do a similar thing by uninstalling Microsoft Communicator since we recently upgraded to Lync 2011.

An alternate approach (if the uninstall is trivial, like `rm -r /Applications/Foo.app`) is to specify the uninstall as a preinstall_script for the item that is replacing the item to be removed.

>
> --
> Samuel Keeley

Reply all
Reply to author
Forward
0 new messages