Skip to content

Add a label for AppsAnywhere#2631

Merged
acodega merged 3 commits intoInstallomator:mainfrom
JonathanBlasingame:appsanywhere
Nov 23, 2025
Merged

Add a label for AppsAnywhere#2631
acodega merged 3 commits intoInstallomator:mainfrom
JonathanBlasingame:appsanywhere

Conversation

@JonathanBlasingame
Copy link
Contributor

All questions must be filled out or your Pull Request will be closed for lack of information. The first three questions should be answered Yes before submitting the pull request.

Have you confirmed this pull request is not a duplicate?
Yes.

Is this pull request creating or modifying a label in the fragments/labels folder, and not Installomator.sh itself?
Yes.

Did you use our editorconfig file?
Yes.

Additional context Add any other context about the label or fix here.
This adds an AppsAnywhere generic label that can be used in conjunction with a config profile to provide a working AppsAnywhere application to the client computer.

Installomator log At the bottom of this pull request, provide a log of a label run by running Installomator in Terminal and saving the output. DEBUG=1 can be enabled but do not enable Debug logging level and please format the log using a code block!
2025-11-05 10:26:50 : INFO : appsanywhere : Total items in argumentsArray: 0 2025-11-05 10:26:50 : INFO : appsanywhere : argumentsArray: 2025-11-05 10:26:50 : REQ : appsanywhere : ################## Start Installomator v. 10.9beta, date 2025-11-05 2025-11-05 10:26:50 : INFO : appsanywhere : ################## Version: 10.9beta 2025-11-05 10:26:50 : INFO : appsanywhere : ################## Date: 2025-11-05 2025-11-05 10:26:50 : INFO : appsanywhere : ################## appsanywhere 2025-11-05 10:26:50 : DEBUG : appsanywhere : DEBUG mode 1 enabled. 2025-11-05 10:26:51 : INFO : appsanywhere : Reading arguments again: 2025-11-05 10:26:51 : DEBUG : appsanywhere : name=AppsAnywhere Client (macOS) 2025-11-05 10:26:51 : DEBUG : appsanywhere : appName= 2025-11-05 10:26:51 : DEBUG : appsanywhere : type=pkg 2025-11-05 10:26:51 : DEBUG : appsanywhere : archiveName= 2025-11-05 10:26:51 : DEBUG : appsanywhere : downloadURL=https://files.appsanywhere.com/clients/appsanywhere/mac/2.2.1/apps-anywhere-setup-InstitutionId-2.2.1.pkg 2025-11-05 10:26:51 : DEBUG : appsanywhere : curlOptions= 2025-11-05 10:26:51 : DEBUG : appsanywhere : appNewVersion=2.2.1 2025-11-05 10:26:51 : DEBUG : appsanywhere : appCustomVersion function: Defined. 2025-11-05 10:26:51 : DEBUG : appsanywhere : versionKey=CFBundleShortVersionString 2025-11-05 10:26:51 : DEBUG : appsanywhere : packageID= 2025-11-05 10:26:51 : DEBUG : appsanywhere : pkgName=apps-anywhere-setup-InstitutionId-2.2.1.pkg 2025-11-05 10:26:51 : DEBUG : appsanywhere : choiceChangesXML= 2025-11-05 10:26:51 : DEBUG : appsanywhere : expectedTeamID=9ZNX23CMVD 2025-11-05 10:26:51 : DEBUG : appsanywhere : blockingProcesses=AppsAnywhere AppsAnywhere Updater Cloudpaging Player 2025-11-05 10:26:51 : DEBUG : appsanywhere : installerTool= 2025-11-05 10:26:51 : DEBUG : appsanywhere : CLIInstaller= 2025-11-05 10:26:51 : DEBUG : appsanywhere : CLIArguments= 2025-11-05 10:26:51 : DEBUG : appsanywhere : updateTool=/Applications/AppsAnywhere/AppsAnywhere Updater.app/Contents/MacOS/AppsAnywhere Updater 2025-11-05 10:26:51 : DEBUG : appsanywhere : updateToolArguments= 2025-11-05 10:26:51 : DEBUG : appsanywhere : updateToolRunAsCurrentUser= 2025-11-05 10:26:51 : INFO : appsanywhere : BLOCKING_PROCESS_ACTION=tell_user 2025-11-05 10:26:51 : INFO : appsanywhere : NOTIFY=success 2025-11-05 10:26:51 : INFO : appsanywhere : LOGGING=DEBUG 2025-11-05 10:26:51 : INFO : appsanywhere : LOGO=/System/Applications/App Store.app/Contents/Resources/AppIcon.icns 2025-11-05 10:26:51 : INFO : appsanywhere : Label type: pkg 2025-11-05 10:26:51 : INFO : appsanywhere : archiveName: AppsAnywhere Client (macOS).pkg 2025-11-05 10:26:51 : DEBUG : appsanywhere : Changing directory to /Users/{my username}/Code/Installomator/build 2025-11-05 10:26:51 : INFO : appsanywhere : Custom App Version detection is used, found 2.2.1 2025-11-05 10:26:51 : INFO : appsanywhere : appversion: 2.2.1 2025-11-05 10:26:51 : INFO : appsanywhere : Latest version of AppsAnywhere Client (macOS) is 2.2.1 2025-11-05 10:26:51 : WARN : appsanywhere : DEBUG mode 1 enabled, not exiting, but there is no new version of app. 2025-11-05 10:26:51 : INFO : appsanywhere : App needs to be updated and uses /Applications/AppsAnywhere/AppsAnywhere Updater.app/Contents/MacOS/AppsAnywhere Updater. Ignoring BLOCKING_PROCESS_ACTION and running updateTool now. 2025-11-05 10:26:51 : WARN : appsanywhere : DEBUG mode 1 enabled, not running update tool 2025-11-05 10:26:51 : INFO : appsanywhere : AppsAnywhere Client (macOS).pkg exists and DEBUG mode 1 enabled, skipping download 2025-11-05 10:26:51 : DEBUG : appsanywhere : DEBUG mode 1, not checking for blocking processes 2025-11-05 10:26:52 : REQ : appsanywhere : Installing AppsAnywhere Client (macOS) 2025-11-05 10:26:52 : INFO : appsanywhere : Verifying: AppsAnywhere Client (macOS).pkg 2025-11-05 10:26:52 : DEBUG : appsanywhere : File list: -rw-r--r-- 1 {my username} staff 3.3M Nov 5 10:26 AppsAnywhere Client (macOS).pkg 2025-11-05 10:26:52 : DEBUG : appsanywhere : File type: AppsAnywhere Client (macOS).pkg: xar archive compressed TOC: 4496, SHA-1 checksum 2025-11-05 10:26:52 : DEBUG : appsanywhere : spctlOut is AppsAnywhere Client (macOS).pkg: accepted 2025-11-05 10:26:52 : DEBUG : appsanywhere : source=Notarized Developer ID 2025-11-05 10:26:52 : DEBUG : appsanywhere : origin=Developer ID Installer: AppsAnywhere Limited (9ZNX23CMVD) 2025-11-05 10:26:52 : INFO : appsanywhere : Team ID: 9ZNX23CMVD (expected: 9ZNX23CMVD ) 2025-11-05 10:26:52 : DEBUG : appsanywhere : DEBUG enabled, skipping installation 2025-11-05 10:26:52 : INFO : appsanywhere : Finishing... 2025-11-05 10:26:55 : INFO : appsanywhere : Custom App Version detection is used, found 2.2.1 2025-11-05 10:26:55 : REQ : appsanywhere : Installed AppsAnywhere Client (macOS), version 2.2.1 2025-11-05 10:26:55 : INFO : appsanywhere : notifying 2025-11-05 10:26:55 : DEBUG : appsanywhere : DEBUG mode 1, not reopening anything 2025-11-05 10:26:55 : REQ : appsanywhere : All done! 2025-11-05 10:26:55 : REQ : appsanywhere : ################## End Installomator, exit code 0
Please identify any issues fixed by your pull request by including the issue number. (Example: "Fixes #XXXX")

@acodega acodega added the application adds or improves an application label label Nov 9, 2025
@acodega
Copy link
Collaborator

acodega commented Nov 12, 2025

So a couple things going on here..

  • Installomator has defined exit codes. You'll want to use the appropriate existing exit code, or use a number that's not defined. However, URL validity usually isn't something that's normally checked and exited upon, you can let Installomator fail and exit it by itself.
  • Also, if you need to exit you should use cleanupAndExit, as Installomator needs to perform clean up before it physically exits. See libreofficelanguagepack_intl as an example.
  • If a label uses updateTool, you do not need to specify blocking processes. (See docs) If the app is installed, we will run updateTool without checking for blocking processes, regardless of what BLOCKING_PROCESS_ACTION is set to when Installomator runs.
  • appCustomVersionComparison seems to not be used but it's being defined?

Feel free to edit your commit and resubmit it, or let us know if you have follow up questions.

@JonathanBlasingame
Copy link
Contributor Author

Changes made. Thanks for the input @acodega!

@acodega acodega merged commit dc3a695 into Installomator:main Nov 23, 2025
1 check passed
@acodega acodega added this to the v10.9 milestone Nov 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

application adds or improves an application label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants