-
Notifications
You must be signed in to change notification settings - Fork 604
Description
What's wrong with the app label?
Installomator expects to install Axure RP 10 but in the log installomator founds the latest version 11 and tries to mount the volume "Axure RP 11". After changing the label from
axurerp10)
name="Axure RP 10"
type="dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://d3uii9pxdigrx1.cloudfront.net/AxureRP-Setup-arm64.dmg"
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://d3uii9pxdigrx1.cloudfront.net/AxureRP-Setup.dmg"
fi
appNewVersion=$( curl -sL https://www.axure.com/release-history | grep -Eo '[0-9]{1,4}.[0-9]{1,4}.[0-9]{1,4}.[0-9]{1,4}' -m 1 )
expectedTeamID="HUMW6UU796"
versionKey="CFBundleVersion"
appName="Axure RP 10.app"
blockingProcesses=( "Axure RP 10" )
;;
to
axurerp10)
name="Axure RP 10"
type="dmg"
if [[ $(arch) == "arm64" ]]; then
downloadURL="https://axure.cachefly.net/versions/10-0/AxureRP-Setup-arm64-3924.dmg"
elif [[ $(arch) == "i386" ]]; then
downloadURL="https://axure.cachefly.net/versions/10-0/AxureRP-Setup-3924.dmg"
fi
appNewVersion=$( curl -sL https://www.axure.com/release-history | grep -Eo '[0-9]{1,4}.[0-9]{1,4}.[0-9]{1,4}.[0-9]{1,4}' -m 1 )
expectedTeamID="HUMW6UU796"
versionKey="CFBundleVersion"
appName="Axure RP 10.app"
blockingProcesses=( "Axure RP 10" )
;;
it works.
Have you confirmed this Issue has not been reported already? (Check open Issues and Pull requests)
Yes
Installomator version
Installomator v. 10.7, date 2025-01-24
Additional context
Using Jamf Pro
Installomator log
Error:
2025-01-27 15:02:27 : REQ : axurerp10 : ################## Start Installomator v. 10.7, date 2025-01-24
2025-01-27 15:02:27 : INFO : axurerp10 : ################## Version: 10.7
2025-01-27 15:02:27 : INFO : axurerp10 : ################## Date: 2025-01-24
2025-01-27 15:02:27 : INFO : axurerp10 : ################## axurerp10
2025-01-27 15:02:29 : INFO : axurerp10 : setting variable from argument NOTIFY=silent
2025-01-27 15:02:29 : INFO : axurerp10 : BLOCKING_PROCESS_ACTION=tell_user
2025-01-27 15:02:29 : INFO : axurerp10 : NOTIFY=silent
2025-01-27 15:02:29 : INFO : axurerp10 : LOGGING=INFO
2025-01-27 15:02:29 : INFO : axurerp10 : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2025-01-27 15:02:29 : INFO : axurerp10 : Label type: dmg
2025-01-27 15:02:29 : INFO : axurerp10 : archiveName: Axure RP 10.dmg
2025-01-27 15:02:29 : INFO : axurerp10 : name: Axure RP 10, appName: Axure RP 10.app
2025-01-27 15:02:30 : WARN : axurerp10 : No previous app found
2025-01-27 15:02:30 : WARN : axurerp10 : could not find Axure RP 10.app
2025-01-27 15:02:30 : INFO : axurerp10 : appversion:
2025-01-27 15:02:30 : INFO : axurerp10 : Latest version of Axure RP 10 is 11.0.0.4122
2025-01-27 15:02:30 : REQ : axurerp10 : Downloading https://d3uii9pxdigrx1.cloudfront.net/AxureRP-Setup-arm64.dmg to Axure RP 10.dmg
2025-01-27 15:02:33 : REQ : axurerp10 : no more blocking processes, continue with update
2025-01-27 15:02:33 : REQ : axurerp10 : Installing Axure RP 10
2025-01-27 15:02:33 : INFO : axurerp10 : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.xZz8tLrcv8/Axure RP 10.dmg
2025-01-27 15:02:37 : INFO : axurerp10 : Mounted: /Volumes/Axure RP 11
2025-01-27 15:02:37 : INFO : axurerp10 : Installomator did not close any apps, so no need to reopen any apps.
2025-01-27 15:02:37 : ERROR : axurerp10 : ERROR: could not find: /Volumes/Axure RP 11/Axure RP 10.app
2025-01-27 15:02:37 : REQ : axurerp10 : ################## End Installomator, exit code 8
Success:
2025-01-27 16:03:47 : REQ : axurerp10 : ################## Start Installomator v. 10.7, date 2025-01-24
2025-01-27 16:03:47 : INFO : axurerp10 : ################## Version: 10.7
2025-01-27 16:03:47 : INFO : axurerp10 : ################## Date: 2025-01-24
2025-01-27 16:03:47 : INFO : axurerp10 : ################## axurerp10
2025-01-27 16:03:48 : INFO : axurerp10 : setting variable from argument NOTIFY=silent
2025-01-27 16:03:48 : INFO : axurerp10 : BLOCKING_PROCESS_ACTION=tell_user
2025-01-27 16:03:48 : INFO : axurerp10 : NOTIFY=silent
2025-01-27 16:03:48 : INFO : axurerp10 : LOGGING=INFO
2025-01-27 16:03:48 : INFO : axurerp10 : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns
2025-01-27 16:03:48 : INFO : axurerp10 : Label type: dmg
2025-01-27 16:03:48 : INFO : axurerp10 : archiveName: Axure RP 10.dmg
2025-01-27 16:03:48 : INFO : axurerp10 : name: Axure RP 10, appName: Axure RP 10.app
2025-01-27 16:03:48 : WARN : axurerp10 : No previous app found
2025-01-27 16:03:49 : WARN : axurerp10 : could not find Axure RP 10.app
2025-01-27 16:03:49 : INFO : axurerp10 : appversion:
2025-01-27 16:03:49 : INFO : axurerp10 : Latest version of Axure RP 10 is 11.0.0.4122
2025-01-27 16:03:49 : REQ : axurerp10 : Downloading https://axure.cachefly.net/versions/10-0/AxureRP-Setup-arm64-3924.dmg to Axure RP 10.dmg
2025-01-27 16:03:52 : REQ : axurerp10 : no more blocking processes, continue with update
2025-01-27 16:03:52 : REQ : axurerp10 : Installing Axure RP 10
2025-01-27 16:03:52 : INFO : axurerp10 : Mounting /var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/tmp.UfTlRU5QLQ/Axure RP 10.dmg
2025-01-27 16:03:54 : INFO : axurerp10 : Mounted: /Volumes/Axure RP 10
2025-01-27 16:03:54 : INFO : axurerp10 : Verifying: /Volumes/Axure RP 10/Axure RP 10.app
2025-01-27 16:03:57 : INFO : axurerp10 : Team ID matching: HUMW6UU796 (expected: HUMW6UU796 )
2025-01-27 16:03:57 : INFO : axurerp10 : Installing Axure RP 10 version 10.0.0.3924 on versionKey CFBundleVersion.
2025-01-27 16:03:57 : INFO : axurerp10 : App has LSMinimumSystemVersion: 10.13.0
2025-01-27 16:03:57 : INFO : axurerp10 : Copy /Volumes/Axure RP 10/Axure RP 10.app to /Applications
2025-01-27 16:03:58 : WARN : axurerp10 : Changing owner to mirko.steinbrecher
2025-01-27 16:03:58 : INFO : axurerp10 : Finishing...
2025-01-27 16:04:01 : INFO : axurerp10 : App(s) found: /Applications/Axure RP 10.app
2025-01-27 16:04:01 : INFO : axurerp10 : found app at /Applications/Axure RP 10.app, version 10.0.0.3924, on versionKey CFBundleVersion
2025-01-27 16:04:01 : REQ : axurerp10 : Installed Axure RP 10, version 10.0.0.3924
2025-01-27 16:04:02 : INFO : axurerp10 : Installomator did not close any apps, so no need to reopen any apps.
2025-01-27 16:04:02 : REQ : axurerp10 : All done!
2025-01-27 16:04:02 : REQ : axurerp10 : ################## End Installomator, exit code 0