autopkg/hjuutilainen-recipes

TeamViewer recipes cause install loop with Munki

Closed this issue · 1 comments

At my org, TeamViewer checks the present pkgs as installation condition. Apparently however, not all pkgs are installed for every new TeamViewer release (as this is not always necessary). This seems to cause an infinite loop in which Munki constantly tried to re-install TeamViewer.

The solution for us was to add the app 'path' key into the 'installs' key in the TeamViewer pkginfo after having imported it into Munki using the current recipes.
I will be making a PR which will automatically add the 'path' key into the 'installs' key in the TeamViewer pkginfo.
Here's an excerpt from our modified pkginfo:
installer_item_location
apps/TeamViewer/TeamViewer-15.15.5.pkg
installer_item_size
82464
installs


CFBundleIdentifier
com.teamviewer.TeamViewer
CFBundleName
TeamViewer
CFBundleShortVersionString
15.15.5
CFBundleVersion
1
minosversion
10.13.6
path
/Applications/TeamViewer.app
type
application

version_comparison_key
CFBundleShortVersionString


minimum_os_version
10.13.6
name

@tboyko Thank you for your PR #180
This seems to have fixed the issue for me!