Mac dropbox installer not opening7/2/2023 ![]() ![]() ![]() # If current version is lower than latest version run function "CheckRunning" else end script successfull If thenĮcho "INFO - Application installed, checking versions."ĭropboxCurrentVersion=$(defaults read "/Applications/Dropbox.app/Contents/ist" CFBundleShortVersionString | sed -e 's/.//g')Įcho "INFO - Current version is: $DropboxCurrentVersion"ĭropboxLatestVersion=$(defaults read "/Volumes/Dropbox Offline Installer/Dropbox.app/Contents/ist" CFBundleShortVersionString | sed -e 's/.//g')Įcho "INFO - Latest version is: $DropboxLatestVersion" # Function to check if application is installed # If Dropbox kill successfull function "CopyApp" will run else script will stop with errorĮcho "INFO - Application kill confirmed!"Įcho "ERROR - Could not kill application"Įcho "INFO - Application is not running. # If Dropbox is running kill its processesĮcho "INFO - Application is currently running, trying to kill application processes" # Function to check if application is running # Function to copy application from mounted DMG to local Applications folderĬopy=$(cp -R "/Volumes/Dropbox Offline Installer/Dropbox.app" "/Applications/Dropbox.app")Įcho "INFO - Application copied to local Applications folder"Įcho "ERROR- Could not copy files from mounted DMG to local Applications folder" MountPath="/var/tmp/DropBox Installer.dmg" # - v1.2 Martin Kretz, : Added StableVersion variable to populate the new download URLĬurrentUser=$(scutil ]*>//g' | sed 's/^ *//g') Try it and come back to me if there are any issues. It should work on both Intel and M1 processors. I've changed the script to make it work, how I get the latest stable version number is not pretty but it works. Hi and checked the script again and the reason that it doesn't work is because of how Dropbox publishes the dmg, the URL has changed. Hdiutil detach /Volumes/Dropbox Offline Installer/ -force # Change to other directory than installer to prevent unmount to failĮcho "INFO - Changing to other directory than installer to prevent unmount to fail" # Check if application is already installedĮcho "INFO - Checking if application is installed" # - v1.1 Martin Kretz, : Changed download URL, unmount behavior and added functions and checks # Description: Installs or updates Dropbox The script works as an Dropbox updater too (if the built in updater doesn't work)! #!/bin/bash I changed download URL, unmount behavior and added functions and checks I tried the script too and it didn't work. Step 8: Your Dropbox Client should now be linked with your ASU Dropbox Account.įor more information on ASU Dropbox for Education see. Step 7: Follow the remaining prompts to finish setting up your Dropbox Client. Step 6: Return to Dropbox Client window select the Paste button to enter the Link code into the Link Code box and then select Submit. Step 5: A new website page will open with your unique link code. Step 4: You will be taken to the mASU Authentication page where you will enter your ASURITE User ID and ASURITE Password to authenticate. In the email field enter your email address in the following format: you enter your email address the options will change to Single sign-on enabled and you will then select the Get your link code button. Step 3: Once the Dropbox Client is installed you will be prompted with a Dropbox login window. Are you sure you want to open it?", select Open. Step 2: If you receive "Dropbox is an app downloaded from the Internet. Step 1: Download Dropbox Client here. Select the DropboxInstaller.dmg once the download is completed, Double-click the icon to run the installer. Once you have an ASU Dropbox account activated, you can download and install the Dropbox Client. ![]() If you do not have a ASU Dropbox for Education account you will need to first request an account fill out the request form. Installing the Dropbox Desktop Client (Mac) ![]()
0 Comments
Leave a Reply. |