Updating ADSM - NAVADMC/ADSM GitHub Wiki

Updating ADSM As An End User

ADSM has a bundled update program which can handle updating and fixing corrupted installations of the program.
This update process works in both Production and Beta releases.

Updating From Within ADSM

You can update ADSM from within the frontend GUI.

  1. Launch the application.
  2. Open the "Settings Panel" with the cog button on the right.
  3. Your current version will be listed as
    "You are running...
    x.x.x.x"
  4. Below your current version, one of the following messages will be visible:
    1. "No updates are available."
    2. "A newer version of ADSM is available.
      x.x.x.x"
    3. "A newer version of ADSM is available.
      Integrity Error!"
    4. "A newer version of ADSM is available.
      New Update Client"
  5. If there are no updates, no button will appear.
  6. If there is a newer version or there us a new Update Client, a button will appear that says "update ADSM".
    1. Pushing this button will launch the Update Client in a new Terminal Window and automatically close down ADSM.
    2. This Terminal Window may have prompts which you need to answer by typing 'y' or 'n' and pressing Enter.
    3. If your User does not have write access to the folder ADSM is installed in, the Update Client may fail. At this point, you will need to follow the instructions for Updating Manually.
  7. If there is an Integirty Error, a button will appear that says "repair installation".
    1. An Integrity Error may occur if the Update Client detects any of the files that are part of the ADSM program are missing or corrupt.
      NOTE: The Update Client cannot recover from a missing or corrupt ADSM or NPU executable.
    2. Pushing this button will launch the Update Client in a new Terminal Window and automatically close down ADSM.
    3. This Terminal Window may have prompts which you need to answer by typing 'y' or 'n' and pressing Enter.
    4. If your User does not have write access to the folder ADSM is installed in, the Update Client may fail. At this point, you will need to follow the instructions for Updating Manually.

Updating Manually (if Administrator Rights required)

You can run the Update Client manually outside of the ADSM application.
This can be useful if you need to run the update process with elevated rights as an Admin.

  1. Run 'npu.exe' or 'npu' in the ADSM installation folder.
    1. On Windows, Right-Click and "Run As Administrator" if required.
    2. On Linux, use 'sudo' or run as the root user if required.
  2. The Update Client will either launch in a new Terminal Window or run in the active terminal.
  3. This Terminal Window may have prompts which you need to answer by typing 'y' or 'n' and pressing Enter.