Posted on 05-06-2022 03:50 PM
Has anyone been able to install 1password 8?
I have tried installing it on my build Mac and bundling it with Composer. The installer seems to finish, but is doesn't show up under Applications.
I have tried pushing the installer to the computer and then running it with a script. the first time I tried the below script, it will download the program and then it asks for admin login.
open /path/to/app.app &
so I tried this scrip, but it just spins forever.
su <admin user - not root> open /path/to/app.app &
I know it can be installed via the Mac apps (at least 1Password 7 can), but that links to the App store and I have that locked out so the users are unable to access it.
BTW, I'm wanting the app to be available in the SelfService portal.
Posted on 05-06-2022 07:48 PM
@SirDewalt There was a post from 1Password on Twitter indicating that they would be releasing a standard .pkg installer for 1Password 8, but I don't recall a timeframe being mentioned, so it's probably with contacting their support to add your voice to those asking for a deployable installer.
Posted on 05-08-2022 01:01 AM
for M1...
curl -sLO "https://downloads.1password.com/mac/1Password-latest-aarch64.zip"
or
curl -sLO "https://downloads.1password.com/mac/1Password-latest.zip"
for Intel
Posted on 05-09-2022 12:36 PM
I get the below when trying to use these commands
[STEP 1 of 4] |
Executing Policy test script |
[STEP 2 of 4] |
Running script 1password... |
Script exit code: 23 |
Script result: |
Error running script: return code was 23. |
[STEP 3 of 4] |
[STEP 4 of 4] |
Posted on 05-09-2022 04:58 PM
Run the commands in Terminal
Posted on 07-28-2022 09:22 PM
They worked like a charm and built two policies to go with them.
Posted on 05-09-2022 12:37 PM
I have reached out to 1password support to see if they have a installer that I can use. I will reply here if/when I hear back.
Posted on 08-04-2022 01:57 PM
I used the curl commands above to download the 1Password.app on my local client, then used Packages.app to create a distribution package. Upload the pkg to Jamf, create policy to install app, scope, victory! Hope this helps!
Posted on 05-10-2022 05:31 PM
You should be able to assign free licenses in apple business manager for 1password for the apple store version and make that appstore app available in self service. Users should not have to open appstore or log into it.
05-17-2022 07:52 AM - edited 05-17-2022 07:55 AM
Thanks MikeyK 1Password 8 is not available in the Mac App Store yet - that is version 7.
I think this is their way of releasing version 8 to consumers and not enterprise just yet.
No VPP or PKG installs as of this date... frustrating. If they had an enterprise release date, that would feel better than us IT guys wondering how to proceed - should we wait for version 8 VPP / PKG (if they ever even release?), or go ahead and write our own custom install script? We have our users on the VPP App Store version 7. We are not sure how to proceed in the short term as version 7 will not be receiving security updates.
Posted on 08-11-2022 11:33 AM
I made a simple script using the curl above
#!/bin/bash
cd /tmp
# M1 ARM Download
# curl -sLO "https://downloads.1password.com/mac/1Password-latest-aarch64.zip"
# Intel Download 1password 8
curl -sLO "https://downloads.1password.com/mac/1Password-latest.zip"
unzip 1Password-latest.zip
cp -Rf 1password.app /Applications/1password.app
rm -rf 1password.app
rm -f 1Password-latest.zip
exit 0
Posted on 08-11-2022 11:55 AM
@nstrauss got tired of waiting for the 1Password folks to release an installer for 1Password8 and created a set of autopkg recipes to generate one: https://github.com/autopkg/nstrauss-recipes/tree/master/1Password
Posted on 09-08-2022 07:06 AM
I'm completely new to most of this so is there a how to article somewhere?
09-08-2022 08:45 AM - edited 09-08-2022 08:46 AM
@davidmundt There is a Wiki page for AutoPkg: https://github.com/autopkg/autopkg/wiki
You'll want to get AutoPkg installed before installing AutoPkgr which has its own Wiki page: https://github.com/lindegroup/autopkgr/wiki
This video from JNUC 2021 should provide an overview of what the AutoPkg/AutoPkgr combo can do for you: https://www.youtube.com/watch?v=CPFSA4OOuOQ
Posted on 08-11-2022 02:32 PM
Here's a snippet of my script...
#!/bin/sh
URL="https://downloads.1password.com/mac"
case "$(arch)" in
arm64)
FILE="1Password-latest-aarch64.zip"
;;
i386)
FILE="1Password-latest.zip"
;;
esac
/usr/bin/curl -Ls "${URL}/${FILE}" -o /tmp/"${FILE}"
/usr/bin/ditto -xk /tmp/"${FILE}" /Applications/.
/usr/bin/xattr -r -d com.apple.quarantine "/Applications/1Password.app"
/bin/rm /tmp/"${FILE}"
exit 0
Posted on 09-21-2022 11:13 AM
Thanks for the script! I was having some errors with the ditto command on some user's machines so I update my script with some of your script's magic and that seems to be working well for me now.
#!/bin/sh
URL="https://downloads.1password.com/mac"
case "$(arch)" in
arm64)
FILE="1Password-latest-aarch64.zip"
;;
i386)
FILE="1Password-latest.zip"
;;
esac
cd /tmp
sudo killall -m '1Pass.*'
curl -sLO "${URL}/${FILE}"
unzip "${FILE}"
rm -rf /Applications/1Password.app
cp -Rf 1Password.app /Applications/1Password.app
rm -rf 1Password.app
rm -f "${FILE}"
exit 0