Evergreen Script – Update your Software, the lazy way

GitHub Download Link Evergreen Script – Update your Software, the lazy way

Download Version 1.51

Important! Since version 1.41, the Evergreen script automatically detects if it has a new version. If there is a new version, the GUI startup will ask the user if he wants to update it. When starting with the -File parameter this is done automatically.

GUI method

Download the Evergreen script and run it in an administrative PowerShell console.

Evergreen Script PowerShell
Evergreen Script GUI

In the following window, you can choose whether you want to download the selected software only, install it only (if it was already downloaded in advance by Evergreen Script), or do both steps at once.

Evergreen Script Select Mode

For different software the update channel, ring or version can be selected directly. All settings are saved locally in the LastSetting.txt file and automatically selected again at the next start. By clicking on Save the LastSetting.txt will be created without starting an installation.

Evergreen Script GUI

Furthermore, the language, the preferred architecture and the machine type can be selected. This is taken into account when the program provides this selection in the installer or downloader.

As a machine type, a distinction is made here between Physical (laptop, PC, etc.) and Virtual (Citrix Worker, etc.). This means that, for example, Teams is installed if Physical is selected, User Based, and if Virtual is selected, Machine Based.

Evergreen Script Architecture Language Machine Type

A new folder is created for each individual package, along with a version file and a log file.

Evergreen Script Files

When a new version is available, the script checks the version number and updates the package.

Evergreen Script

Parameter method

Download the Evergreen script and run it in an administrative PowerShell console.

Evergreen Script -List

The following parameters can be used:

-List

If the -List parameter is used, no GUI appears and the variables from the code are used. I will go into this in more detail below. If no other parameter is used, the software selected in the script is downloaded and installed.

-File

The -File parameter does not use the hardcoded software list in the script but can be used to refer to a file that was previously created via the GUI Method (LastSetting.txt). It must be used together with the -List parameter.

-File -List Parameter Evergreen Script

-Download

If in addition to the -List parameter, the -Download parameter is used, the selected software will only be downloaded, but not automatically installed as well.

-Install

If in addition to the -List parameter, the -Install parameter is used, the selected software will be installed only if it has already been downloaded in advance by Evergreen Script. However, it will not be downloaded in this run if it is not present.

To update or download a software package, simply switch from 0 to 1 in the “Select Software” section (starting at line 1008).


Don’t forget to set the software version, update ring, architecture, etc. (from line 1616).

Evergreen Script
Evergreen Script
Evergreen Script

If you want to use the parameter -File, just start the script without parameters and select your settings and software in the GUI (here Citrix Hypervisor Tools, Microsoft FSLogix mRemoteNG and TeamViewer / Download and Install in German / x64 / Physical) to get a software selection file.

Evergreen Script GUI

Click Save and then cancel the script. You can use the LastSetting.txt file now created in the Evergreen folder for your parameter -File start.

A new folder is created for each individual package, along with a version file and a log file.

When a new version is available, the script checks the version number and updates the package.

Purpose/Change:

Example

.\Evergreen.ps1 -list -download

Download the selected Software out of the list.

.\Evergreen.ps1 -list -install

Install the selected Software out of the list.

.\Evergreen.ps1 -list

Download and install the selected Software out of the list.

.\Evergreen.ps1 -list -file LastSetting.txt

Download and install the selected software from the LastSetting.txt file.

.\Evergreen.ps1

Starts the GUI to select the mode (Install and/or Download) and the software (Release, Update Ring, Language, etc.).

Evergreen Script

Notes

Evergreen PowerShell Module

If Download is selected, the module is checked each time the script is run and reinstalled if a new version is available.

7-ZIP

For 7-ZIP this is an exe file.

Adobe Pro DC

For Adobe Pro DC this is the update package (msp file).

Only update @ the moment, no installer!

After the update, the Adobe service and scheduled task will be stopped and disabled.

Adobe Reader DC

Selectable are the Language and the Architecture.

The architecture can only be changed to x64 for the English package at the moment.

After the installation, the Adobe service and scheduled task will be stopped and disabled.

BIS-F

For BIS-F this is the msi file.

After the installation, the scripts will be adjusted regarding task offload, RSS activation and DEP deactivation.

Citrix Hypervisor Tools

Selectable is the Architecture.

For Citrix Hypervisor Tools this is a msi file (LTSR Path).

For Windows 7, Windows Server 2008 SP2 and Windows Server 2008 R2 SP1, you can change to version 7.2.0.1555.

Citrix WorkspaceApp

Selectable Releases are LTSR or CR.

Before the installation of the new receiver, the old one is uninstalled via the Receiver Cleanup Tool.

The installation is executed with the following parameters:

After the installation, various registry keys are set.

As always, after installing the new WorkspaceApp, the system should be rebooted.

deviceTRUST

Selectable is the Architecture and the Installer Packages. Packages are Only Client, Only Host, Only Console, Client and Host or Host and Console.

The deviceTrust admx and adml files are stored in the folder ADMX.

For deviceTRUST Client this is an exe file and for the Console / Host this is a msi file.

Filezilla

For Filezilla this is the exe file.

Foxit Reader

Selectable is the Language.

For Foxit Reader this is a msi file.

GIMP

For GIMP this is an exe file.

Google Chrome

Selectable is the Architecture.

For Google Chrome this is the msi file.

After the installation the Chrome services and scheduled tasks will be stopped and disabled.

Greenshot

For Greenshot this is an exe file.

ImageGlass

Selectable is the Architecture.

For ImageGlass this is a msi file.

IrfanView

Selectable is the Architecture.

For IrfanView this is an exe file.

KeePass

For KeePass this is the msi file.

Microsoft .Net Framework

Selectable is the Architecture and the Channel. Channels are Long Term Support or Current.

For Microsoft .Net Framework this is an exe file.

Microsoft 365 Apps

Selectable are the Language, the Architecture and the Channel. Channels are Current (Preview), Current, Monthly Enterprise, Semi-Annual Enterprise (Preview) or Semi-Annual Enterprise.

For Microsoft 365 Apps this is the exe setup file.

During the download only the setup.exe is downloaded and the following xml files are created, if they are not already present in the folder:

remove.xml

install.xml

Afterwards the install.xml is used in the install phase to download the required install files.

Before installing the new Microsoft 365 Apps version, the previous installation is removed (remove.xml).

After that the reinstall of the software starts (install.xml).

An install.xml with the special features of the own installation can be stored and used in advance (e.g. Languages, App Exclusion or Inclusion (Visio & Project)).

By default, the selected is defined in install.xml (here 64Bit / Match OS Language / Semi Annual Channel):

Microsoft Azure Data Studio

Selectable are the Installation Modus (Per User or Per Machine) and the Channel (Insider or Stable).

For Microsoft Azure Data Studio this is a exe file.

Microsoft Edge

Selectable is the Architecture and the Channel. Channels are Developer, Beta or Stable.

For Microsoft Edge this is the msi file.

Microsoft Edge is installed with the parameter that don’t create icons (Desktop and Quickstart).

After the installation, the scheduled tasks of Microsoft Edge are disabled and the Citrix API Hooks are set in the registry.

Microsoft FSLogix

Selectable are the Architecture and the Channel. Channels are Preview or Production.

For FSLogix this is the zip package.

With FSLogix installation, the old installation, if present, is uninstalled first and a restart is requested.

Then the script must be started again, so that the new version is installed cleanly.

The Microsoft FSLogix admx and adml files are stored in the folder ADMX.

Not only the FSLogix Agent is installed, but also the FSLogix AppRule Editor.

Microsoft Office 2019

Selectable are the Language and the Architecture.

For Microsoft Office 2019 this is the exe setup file for Office 2019 Enterprise.

During the download not only the setup.exe is downloaded, but also the following xml files are created, if they are not already present in the folder:

remove.xml

install.xml

Afterwards in the install phase the install.xml is used to download the required install files.

Before installing the new Microsoft Office 2019 version, the previous installation is removed (remove.xml).

After that the reinstall of the software starts (install.xml).

An install.xml with the special features of the own installation can be stored and used in advance (e.g. Languages or architecture).

By default, the selected Architecture and Language are defined in install.xml (here 64Bit / Match OS Language):

Microsoft OneDrive

Selectable are the Architecture and the Update Ring. The Rings are Insider, Production or Enterprise.

For Microsoft OneDrive this is an exe file.

Microsoft OneDrive is installed with the Machine Based Install parameter (Machine Type Virtual) or without it for the Physical Machine Type.

Microsoft PowerShell

Selectable are the Architecture and the Release. Releases are LTSR or CR.

For Microsoft PowerShell this is a msi file.

Microsoft PowerToys

For Microsoft PowerToys this is an exe file.

Microsoft Teams

Selectable are the Machine Type, the Architecture and the Update Ring. The Rings are Developer, Exploration, Preview and General.

For Microsoft Teams this is a msi file (Machine Based) or an exe file (User Based).

Microsoft Teams is installed with the Machine Based Install parameters and the Machine Based installer (Machine Type Virtual) or with the User Based installer (Machine Type Physical).

Also selectable is the Option, to kill the Autostart Registry entry out of the System.

Microsoft Visual Studio 2019

Selectable Editions are Enterprise, Professional or Community.

For Microsoft Visual Studio 2019 this is an exe file.

Microsoft Visual Studio Code

Selectable are the Architecture, the Installation Modus (Per User or Per Machine) and the Channel. The Channels are Insider or Stable.

For Microsoft Visual Studio Code this is an exe file.

Mozilla Firefox

Selectable are the Architecture, the Language and the Version. Versions are Current or ESR.

For Firefox this is the msi file.

Firefox is installed with the parameter that disables the creation of the icons and the the maintenance service.

mRemoteNG

For mRemoteNG this is the msi file.

NotePad++

Selectable is the Architecture.

For Notepad++ this is an exe file.

OpenJDK

Selectable is the Architecture.

For OpenJDK this is the msi file.

Oracle Java 8

Selectable is the Architecture.

For Oracle Java 8 this is the msi file.

Paint.Net

For Paint.Net this is a zip file.

PuTTY

Selectable are the Architecture and the Release. Releases are Stable or Pre-Release.

For PuTTY this is a msi file.

Remote Desktop Manager

Selectable Versions are Enterprise or Free.

For Remote Desktop Manager this is a msi file.

ShareX

For ShareX this is an exe file.

Slack

Selectable are the Architecture and the Installation Modus (Per User or Per Machine).

For Slack this is a msi file.

TeamViewer

For TeamViewer this is an exe file.

TreeSize

Selectable Versions are Professional or Free.

For TreeSize this is the exe file.

uberAgent

The uberAgent admx and adml files are stored in the folder ADMX.

For uberAgent this is an zip file.

VLC Player

Selectable is the Architecture.

For VLC Player this is a msi file.

VMWare Tools

Selectable is the Architecture.

For VMWare Tools this is the exe file.

With VMWare Tools installation, the old installation, if present, is uninstalled first and a restart is requested.

Then the script must be started again, so that the new version is installed cleanly.

WinSCP

For WinSCP this is the exe file.

Wireshark

Selectable is the Architecture.

For Wireshark this is the exe file.

Zoom

Selectable Packages are Installer or Installer with Citrix Plugin.

For Zoom this is the exe file.

Shortcut

The script automatically detects if there is an Evergreen script icon on the desktop and creates it if there is not.

In GitHub I have placed a sample lnk file under shortcut, as well as the Evergreen Script logo as an icon file.

Change the path after the -file parameter to the location of your Evergreen Script folder.

Leave a Reply

Your email address will not be published. Required fields are marked *

*