Documentation Index

Fetch the complete documentation index at: https://docs.staedean.com/llms.txt

Use this file to discover all available pages before exploring further.

License key

Prev Next

This page describes how to upgrade the Anywhere Portal (running in an on-premise environment) to a new version without interruption.

Separate download

Download the Portal from our STAEDEAN Partner Portal.

This portal has an extended grace period for license support version 1 and an upgrade script to update the Portal without interruption.

Update script

To execute the upgrade:

  1. Download and extract TI.ANY.Portal.LicenseUpdate.zip.

  2. Start the UpdatePortalLean.ps1 script.

    1. The script restarts itself with admin permissions if it initially launches without them.

    2. The first input selects which site to update, the script lists all sites.

    3. Select a website with numbers 1–9. For 10 and above, enter the entire option.

    4. After confirmation, the script determines whether the selected website is an Anywhere website by confirming various files.

    5. When the script detects that the Portal does not require an update, it asks whether to continue. The default answer (No) halts the upgrade.

    6. The script backs up the current Portal to a new folder in the same directory: Workfolder/Backup/.

    7. The script extracts the Portal.zip archive to a different folder in the workfolder. This folder serves as the source files.

    8. The script updates the application settings:

      • When AuthenticationType is missing, the OnPrem authentication type is added.

      • When LicenseWarningDays is missing, the default value of 30 is added.

    9. The script overwrites the vital files:

      • Portal/bin/DAW.dll

      • Portal/bin/DAW.JsonHelper.dll

      • Portal/bin/Newtonsoft.Json.dll

      • Portal/bin/Microsoft.Identity.Client.dll

      • Portal/bin/Microsoft.IdentityModel.Clients.ActiveDirectory.dll

      • Portal/default.aspx

      • Portal/Generic.aspx

      • Portal/GridWorkerService.aspx

      • Portal/LicenseInfo.aspx

    10. After all files are replaced, the update completes.

The script runs in less than a minute. The interruption for users is minimal.