Updating QuickBooks from a Shell App

Summary

In the Deploying QuickBooks from a Shell App post, I showed how to setup a QuickBooks Shell App.
In this post, we cover how to configure QuickBooks Updates.

NOTE: At the time of writing, there are the following limitations: 

  • This currently only supports Enterprise and Premier editions of QuickBooks for the last 3 years 
  • It will ONLY update QuickBooks if it is installed on the session host
    If you need to Install QuickBooks, you will utilize the Deploying QuickBooks from a Shell App post

Prerequisites

  • Reach out to Flow Devs (clientsupport@flowdevs.io) to get the QuickBooks Update script
  • A ShellApps repository must be created at the MSP Level (Settings>Integrations>Unified Application Management>Add>Shell Apps (repository type) 
    NOTE: You’re currently limited to one Shell App repository per MSP Tenant. 
    See UAM Shell Apps for more info 

Instructions

  1. At the MSP level of NMM, expand out Applications and choose Shell Apps 
  2. Click the Add drop-down and choose Add new

Setup the Update Shell App General Settings

  1. Select the General tab
  2. Enter QuickBooks Updater for the Name
  3. Enter a Description of the ShellApp
    i.e. This updates all versions of QuickBooks Enterprise and Premier that are installed on a session host.
  4. Enter FlowDevs.io for the Publisher
  5. Toggle Public to be On 

Upload the Executable

  1. Select the File tab
  2. Toggle Enabled to be set to Yes
  3. Browse to the File
  4. Click Start Upload
  5. Once the file is fully uploaded, you should see Uploading is completed

Setup the Detection Script

  1. Select the Detection tab
  2. Choose Script from the Add detection drop-down
  3. Enter $false in the script

Setup the Install Script

  1. Select the Install tab
  2. Paste in the code below
    $ConfigFile = $Context.GetAttachedBinary()
    $log = start-process "$($ConfigFile)" -wait -nonewwindow
    $Context.Log("$($log)")

Setup the Uninstall Script

  1. Select the Uninstall tab
  2. Enter $null in the script
  3. Click Create

Assign the Shell App to the Account(s) 

After you have Created the Shell App, you’re ready to assign it to the necessary account(s). 

  1. Choose Unified Catalog  
  2. Search for QuickBooks 
    NOTE: Optionally, you can filter by Shell Apps in the Repository drop-down. 
  3. Choose Assign from the drop-down for the App 
  4. Click Add Assignments 
  5. Choose All or the desired account(s) 
  6. Click Confirm 
  7. Choose Apply and close 
  8. Confirm you want to make the assignments when prompted 
     

Schedule the Deployment Policies 

After the Shell App is assigned and you’ve created the variables, you’re ready to schedule the deployment of the shell app. 
See Deploy Applications for more information on creating the deployment policies. 

0

Comments (0 comments)

Please sign in to leave a comment.