Skip to content

Broken app label: privileges #2030

@KUSU2

Description

@KUSU2

What's wrong with the app label?
Label file type was originally "zip" but the app has been updated to use "pkg" instead.

Installomator version
Installomator v. 10.7beta September 2, 2024

Additional context
A simple type switch fixes the label.

Installomator log

2024-11-20 12:09:40 : REQ   : privileges : ################## Start Installomator v. 10.7beta, date 2024-09-02
2024-11-20 12:09:40 : INFO  : privileges : ################## Version: 10.7beta
2024-11-20 12:09:40 : INFO  : privileges : ################## Date: 2024-09-02
2024-11-20 12:09:40 : INFO  : privileges : ################## privileges
2024-11-20 12:09:42 : INFO  : privileges : setting variable from argument DEBUG=0
2024-11-20 12:09:42 : INFO  : privileges : setting variable from argument INSTALL=force
2024-11-20 12:09:42 : INFO  : privileges : setting variable from argument SYSTEMOWNER=1
2024-11-20 12:09:42 : INFO  : privileges : setting variable from argument NOTIFY=silent
2024-11-20 12:09:43 : INFO  : privileges : BLOCKING_PROCESS_ACTION=tell_user
2024-11-20 12:09:43 : INFO  : privileges : NOTIFY=silent
2024-11-20 12:09:43 : INFO  : privileges : LOGGING=INFO
2024-11-20 12:09:43 : INFO  : privileges : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-11-20 12:09:43 : INFO  : privileges : Label type: zip
2024-11-20 12:09:43 : INFO  : privileges : archiveName: Privileges.zip
2024-11-20 12:09:43 : INFO  : privileges : no blocking processes defined, using Privileges as default
2024-11-20 12:09:43 : INFO  : privileges : name: Privileges, appName: Privileges.app
2024-11-20 12:09:43.186 mdfind[13574:78247] [UserQueryParser] Loading keywords and predicates for locale "en_US"
2024-11-20 12:09:43.186 mdfind[13574:78247] [UserQueryParser] Loading keywords and predicates for locale "en"
2024-11-20 12:09:43.327 mdfind[13574:78247] Couldn't determine the mapping between prefab keywords and predicates.
2024-11-20 12:09:43 : WARN  : privileges : No previous app found
2024-11-20 12:09:43 : WARN  : privileges : could not find Privileges.app
2024-11-20 12:09:43 : INFO  : privileges : appversion: 
2024-11-20 12:09:43 : INFO  : privileges : Label is not of type “updateronly”, and it’s set to use force to install or ignoring app store apps, so not using updateTool.
2024-11-20 12:09:43 : INFO  : privileges : Latest version of Privileges is 2.0.0
2024-11-20 12:09:43 : REQ   : privileges : Downloading https://github.com to Privileges.zip
2024-11-20 12:09:44 : REQ   : privileges : no more blocking processes, continue with update
2024-11-20 12:09:44 : REQ   : privileges : Installing Privileges
2024-11-20 12:09:44 : INFO  : privileges : Unzipping Privileges.zip
ditto: Couldn't read PKZip signature
2024-11-20 12:09:44 : INFO  : privileges : Installomator did not close any apps, so no need to reopen any apps.
2024-11-20 12:09:44 : ERROR : privileges : ERROR: could not find: /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.JUNvXzP9jU/Privileges.app
2024-11-20 12:09:44 : REQ   : privileges : ################## End Installomator, exit code 8 
Error running script: return code was 8.

Fix
Switch to "pkg".

privileges)
# credit: Erik Stam (@erikstam)
name="Privileges"
type="zip""pkg"
downloadURL=$(downloadURLFromGit sap macOS-enterprise-privileges )
appNewVersion=$(versionFromGit sap macOS-enterprise-privileges )
expectedTeamID="7R5ZEU67FQ"
;;

2024-11-21 15:30:52 : REQ   : privileges : ################## Start Installomator v. 10.7beta, date 2024-09-02
2024-11-21 15:30:52 : INFO  : privileges : ################## Version: 10.7beta
2024-11-21 15:30:52 : INFO  : privileges : ################## Date: 2024-09-02
2024-11-21 15:30:52 : INFO  : privileges : ################## privileges
2024-11-21 15:30:52 : DEBUG : privileges : DEBUG mode 1 enabled.
2024-11-21 15:30:53 : INFO  : privileges : setting variable from argument DEBUG=0
2024-11-21 15:30:53 : INFO  : privileges : setting variable from argument INSTALL=force
2024-11-21 15:30:53 : INFO  : privileges : setting variable from argument SYSTEMOWNER=1
2024-11-21 15:30:53 : INFO  : privileges : setting variable from argument NOTIFY=silent
2024-11-21 15:30:53 : DEBUG : privileges : name=Privileges
2024-11-21 15:30:53 : DEBUG : privileges : appName=
2024-11-21 15:30:53 : DEBUG : privileges : type=pkg
2024-11-21 15:30:53 : DEBUG : privileges : archiveName=
2024-11-21 15:30:53 : DEBUG : privileges : downloadURL=https://github.com/SAP/macOS-enterprise-privileges/releases/download/2.0.0/Privileges_2.0.0.pkg
2024-11-21 15:30:53 : DEBUG : privileges : curlOptions=
2024-11-21 15:30:53 : DEBUG : privileges : appNewVersion=2.0.0
2024-11-21 15:30:53 : DEBUG : privileges : appCustomVersion function: Not defined
2024-11-21 15:30:53 : DEBUG : privileges : versionKey=CFBundleShortVersionString
2024-11-21 15:30:53 : DEBUG : privileges : packageID=
2024-11-21 15:30:53 : DEBUG : privileges : pkgName=
2024-11-21 15:30:53 : DEBUG : privileges : choiceChangesXML=
2024-11-21 15:30:53 : DEBUG : privileges : expectedTeamID=7R5ZEU67FQ
2024-11-21 15:30:53 : DEBUG : privileges : blockingProcesses=
2024-11-21 15:30:53 : DEBUG : privileges : installerTool=
2024-11-21 15:30:53 : DEBUG : privileges : CLIInstaller=
2024-11-21 15:30:53 : DEBUG : privileges : CLIArguments=
2024-11-21 15:30:53 : DEBUG : privileges : updateTool=
2024-11-21 15:30:53 : DEBUG : privileges : updateToolArguments=
2024-11-21 15:30:53 : DEBUG : privileges : updateToolRunAsCurrentUser=
2024-11-21 15:30:53 : INFO  : privileges : BLOCKING_PROCESS_ACTION=tell_user
2024-11-21 15:30:53 : INFO  : privileges : NOTIFY=silent
2024-11-21 15:30:53 : INFO  : privileges : LOGGING=DEBUG
2024-11-21 15:30:53 : INFO  : privileges : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2024-11-21 15:30:53 : INFO  : privileges : Label type: pkg
2024-11-21 15:30:53 : INFO  : privileges : archiveName: Privileges.pkg
2024-11-21 15:30:53 : INFO  : privileges : no blocking processes defined, using Privileges as default
2024-11-21 15:30:53 : DEBUG : privileges : Changing directory to /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.vGtE9Cgexm
2024-11-21 15:30:53 : INFO  : privileges : name: Privileges, appName: Privileges.app
2024-11-21 15:30:53.804 mdfind[1748:10483] [UserQueryParser] Loading keywords and predicates for locale "en_US"
2024-11-21 15:30:53.805 mdfind[1748:10483] [UserQueryParser] Loading keywords and predicates for locale "en"
2024-11-21 15:30:53.941 mdfind[1748:10483] Couldn't determine the mapping between prefab keywords and predicates.
2024-11-21 15:30:53 : WARN  : privileges : No previous app found
2024-11-21 15:30:53 : WARN  : privileges : could not find Privileges.app
2024-11-21 15:30:53 : INFO  : privileges : appversion: 
2024-11-21 15:30:53 : INFO  : privileges : Label is not of type “updateronly”, and it’s set to use force to install or ignoring app store apps, so not using updateTool.
2024-11-21 15:30:54 : INFO  : privileges : Latest version of Privileges is 2.0.0
2024-11-21 15:30:54 : REQ   : privileges : Downloading https://github.com/SAP/macOS-enterprise-privileges/releases/download/2.0.0/Privileges_2.0.0.pkg to Privileges.pkg
2024-11-21 15:30:54 : DEBUG : privileges : No Dialog connection, just download
2024-11-21 15:30:54 : DEBUG : privileges : File list: -rw-r--r--  1 root  wheel   1.5M Nov 21 15:30 Privileges.pkg
2024-11-21 15:30:54 : DEBUG : privileges : File type: Privileges.pkg: xar archive compressed TOC: 5490, SHA-1 checksum
2024-11-21 15:30:54 : DEBUG : privileges : curl output was:
--
2024-11-21 15:30:55 : REQ   : privileges : no more blocking processes, continue with update
2024-11-21 15:30:55 : REQ   : privileges : Installing Privileges
2024-11-21 15:30:55 : INFO  : privileges : Verifying: Privileges.pkg
2024-11-21 15:30:55 : DEBUG : privileges : File list: -rw-r--r--  1 root  wheel   1.5M Nov 21 15:30 Privileges.pkg
2024-11-21 15:30:55 : DEBUG : privileges : File type: Privileges.pkg: xar archive compressed TOC: 5490, SHA-1 checksum
2024-11-21 15:30:55 : DEBUG : privileges : spctlOut is Privileges.pkg: accepted
2024-11-21 15:30:55 : DEBUG : privileges : source=Notarized Developer ID
2024-11-21 15:30:55 : DEBUG : privileges : origin=Developer ID Installer: SAP SE (7R5ZEU67FQ)
2024-11-21 15:30:55 : INFO  : privileges : Team ID: 7R5ZEU67FQ (expected: 7R5ZEU67FQ )
2024-11-21 15:30:55 : INFO  : privileges : Installing Privileges.pkg to /
2024-11-21 15:31:03 : DEBUG : privileges : Debugging enabled, installer output was:
Nov 21 15:30:55  installer[1873] <Debug>: Product archive /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.vGtE9Cgexm/Privileges.pkg trustLevel=350
Nov 21 15:30:55  installer[1873] <Debug>: External component packages (1) trustLevel=350
Nov 21 15:30:55  installer[1873] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: location = file://localhost
Nov 21 15:30:55  installer[1873] <Debug>: -[IFDInstallController(Private) _buildInstallPlanReturningError:]: file://localhost/private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.vGtE9Cgexm/Privileges.pkg#Privileges.pkg
Nov 21 15:30:55  installer[1873] <Info>: Set authorization level to root for session
Nov 21 15:30:55  installer[1873] <Info>: Authorization is being checked, waiting until authorization arrives.
Nov 21 15:30:55  installer[1873] <Info>: Administrator authorization granted.
Nov 21 15:30:55  installer[1873] <Info>: Packages have been authorized for installation.
Nov 21 15:30:55  installer[1873] <Debug>: Will use PK session
Nov 21 15:30:55  installer[1873] <Debug>: Using authorization level of root for IFPKInstallElement
Nov 21 15:30:55  installer[1873] <Info>: Starting installation:
Nov 21 15:30:55  installer[1873] <Notice>: Configuring volume "Macintosh HD"
Nov 21 15:30:55  installer[1873] <Info>: Preparing disk for local booted install.
Nov 21 15:30:55  installer[1873] <Notice>: Free space on "Macintosh HD": 184.76 GB (184760647680 bytes).
Nov 21 15:30:55  installer[1873] <Notice>: Create temporary directory "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T//Install.1873jdF6g1"
Nov 21 15:30:55  installer[1873] <Notice>: IFPKInstallElement (1 packages)
Nov 21 15:30:56  installer[1873] <Info>: Current Path: /usr/sbin/installer
Nov 21 15:30:56  installer[1873] <Info>: Current Path: /bin/zsh
Nov 21 15:30:56  installer[1873] <Info>: Current Path: /bin/bash
Nov 21 15:30:56  installer[1873] <Info>: Current Path: /usr/local/jamf/bin/jamf
Nov 21 15:30:56  installer[1873] <Notice>: PackageKit: Enqueuing install with framework-specified quality of service (utility)
installer: Package name is Privileges
installer: Installing at base path /
installer: Preparing for installation….....
installer: Preparing the disk….....
installer: Preparing Privileges….....
installer: Waiting for other installations to complete….....
installer: Configuring the installation….....
installer:
---
installer: 	Running installer actions…
installer:
installer: Finishing the Installation….....
installer:
#
installer: The software was successfully installed......
installer: The install was successful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    application-issueApp label issue that's not an Installomator bug. Vendor changed their installer, their website, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions