Giter Site home page Giter Site logo

deyda / neverred Goto Github PK

View Code? Open in Web Editor NEW
30.0 3.0 5.0 3.55 MB

NeverRed's focus is to provide a simple solution to keep standard software up to date without having to package it or search and compare versions on vendor sites. https://www.deyda.net/index.php/en/neverred/

PowerShell 100.00%
euc evergreen powershell powershell-script evergreen-script

neverred's Introduction

neverred's People

Contributors

anbohm avatar deyda avatar sredlin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

neverred's Issues

Add MS FSLogix Apps RuleEditor

When I choose Microsoft FSLogix I only get installed Microsft FSLogix Apps and missing Apps RuleEditor.
Possible to add this as a new software?When I choose Microsoft FSLogix I only get installed Microsft FSLogix Apps and missing Apps RuleEditor.
Possible to add this as a new software?

Kein Problem, aber eine Frage zu einem Feature :D

Hallo,

gäbe es die Möglichkeit, eine E-Mail Benachrichtigung zu implementieren? Denn wenn man viele Maschinen hat, wäre es cool benachrichtigt zu werden, was er aktualisiert hat und dass er natürlich überhaupt was getan hat.

Liebe Grüße
Marko

Option to turn of Citrix regkeys for Teams installation

Hi there!
Would it be possible to add the option to not add the citrix specific regkeys when installing Microsoft Teams?
We recently deployed an Azure Virtual Desktop environment using the neverred script to install the host software for the most part and wondered, why we didn't get the AVD optimisation in Teams to work. Turns out that Teams first checks for the Citrix specific regkeys and tries to set up the HDX optimisation. AVD optimisation gets ignored after this. It's happening in line 26677 in the nverred script.
Further I want to ask, if you could even implement the registry key needed for AVD as an option? This is the link where the regkey is described: https://learn.microsoft.com/en-us/azure/virtual-desktop/teams-on-avd#enable-media-optimization-for-teams
Greetings and thank you!

Version 2.10.06 - Zoom does not download.

Steps to reproduce:

launch powershell 7 as an admin. Run the NeverRed Script.
Select Zoom VDI. Click Start.
Watch as the script creates a folder and version related text files, but does not download the executable.

Screenshot 2023-03-07 at 2 41 57 PM

Script will download packages that are not required if download, install, and installer cleanup options enabled.

If you have download, install and installer cleanup enabled and run the script, it will not check the currently installed versions of software prior to starting a download.

So you can be in a situation where you have multiple packages selected and know only one needs an update, but the script will download every package before validating if it needs them or not. Example screenshots attached.

Screenshot 2023-03-02 at 12 15 27 PM

Screenshot 2023-03-02 at 12 18 40 PM

Zoom VDI

Zoom VDI will show that it's downloading.
Starting download of Zoom VDI version 5.11.2.21530
Download of the new version 5.11.2.21530 version finished!

Starting download of Zoom VDI ADMX files version 5.11.3
Download of the new ADMX files version 5.11.3 finished!

But it only download version .tx file and a Zoom VDI.log file.
In the Log file it returns this
Starting download of Zoom VDI version 5.11.2.21530
PS>TerminatingError(Invoke-WebRequest): "The remote server returned an error: (403) Forbidden."

I have tried it on 2 different networks to ensure no Firewall issues are occurring.

Adopt Open JDK is outdated. No current openJDK release available in neverred

Announcement from adoptopenjdk website:

24th July 2021: AdoptOpenJDK is moving to the Eclipse Foundation and rebranding.
Our July 2021 and future releases will come from Adoptium.net

And indeed you can't download JDK 17 from their website nor their github repo. Latest released binary in their repo is from 2020:
https://github.com/AdoptOpenJDK/openjdk11-binaries/releases

You should instead refer to their new brand:

Get-EvergreenApp -Name AdoptiumTemurin8
Get-EvergreenApp -Name AdoptiumTemurin11
Get-EvergreenApp -Name AdoptiumTemurin17

https://github.com/adoptium/temurin17-binaries/releases/
https://github.com/adoptium/temurin11-binaries/releases/
https://github.com/adoptium/temurin8-binaries/releases/

It would also be nice to include Amazon's widely used distribution of JDK:
Get-EvergreenApp -Name AmazonCorretto
https://github.com/corretto/corretto-17/releases
https://github.com/corretto/corretto-11/releases
https://github.com/corretto/corretto-8/releases

Add Bis-F Additional Tools

Add the Option to download an copy the following tools:

  • Citrix Optimizer
  • CCcleaner
  • SDelete
  • DelProf2
  • CMTrace

Download of FileZilla failing

Download of FileZilla failing with NeverRed version 2.10.10.

**********************
Windows PowerShell transcript start
Start time: 20230412160104
Username: XXXX
RunAs User: XXXX
Configuration Name: 
Machine: XXXXXXXX00 (Microsoft Windows NT 10.0.20348.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Process ID: 5516
PSVersion: 5.1.20348.1366
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.20348.1366
BuildVersion: 10.0.20348.1366
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************

Starting download of Filezilla version 3.63.2.1
PS>TerminatingError(Invoke-WebRequest): "<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>403 Forbidden</title>
</head><body>
<h1>Forbidden</h1>
<p>You don't have permission to access this resource.</p>
</body></html>
"
**********************
Windows PowerShell transcript end
End time: 20230412160105
**********************

Evergreen sourceforge download source issue

Hi Deyda,

Just wanted to make you aware of a current issue with the download URI returned by Evergreen for sourceforge hosted downloads:
aaronparker/evergreen#483

Should Aaron implement his suggested workaround, it may mean updates are needed in NeverRed to support different installer types i.e. KeePass installer would be .exe, not the .msi you currently use.

Thanks.

Foxit Reader - script struggles to install when older versions are present

Install of newer versions seems to fail when there's an older version present, seeing it in particular when there's a version 8 there, but also believe when it's just one version out too. The script could probably do with an uninstall routine for Foxit prior to the new version being installed.

Add OpenWebStart

As AdoptOpenJDK does not include IcedTea-Web (whereas the outdated OpenJDK build from #37 did), it might be a good idea to add OpenWebStart in order to keep the Java WebStart functionality after removing the outdated OpenJDK build.

Error Writing to Logfile

I encounter the following error when running your script:
PS>TerminatingError(Add-Content): "Cannot process argument transformation on parameter 'Encoding'. 'ASCI' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. (Parameter 'name')"

It look like this command is not correct in code:
Line 16222
Get-Content $AdobeProLog | Add-Content $LogFile -Encoding ASCI

P.S. Thanks for your great work!

Citrix WorkspaceApp

Hi,
there's a problem with the WorspaceApp. It's already the newest version installed and the Scipt shows it wrong for download.
grafik

At the install part the script shows the current version correct but install the older version.
grafik

Intune support welcome

Thanks to all contributors of this great script that eases the life of a terminal server admin a lot!

I'm not sure if you ever thought about an extension to finally support an option to export the resulting installer wrapped as a Win32 app (.intunewin) that can be used for Microsoft Endpoint Manager/Intune?

Prepare Win32 app content for upload

Add, assign, and monitor a Win32 app in Microsoft Intune

App creation in Intune can also be automated.

Create win32LobApp

Especially Windows 365 would benefit from this as it integrates fully with Intune app management.

No new version available in the internet. Seems to be occurring for a majority of apps.

Running NeverRed with Whatif and Report shows a lot of software that has No New Versions available in the internet however there are new versions available.

Citrix WorkspaceApp Current
Internet Version:
Downloaded Version:
Installed Version: 23.03.0.55
No new version available in the internet

Microsoft Azure CLI
Internet Version:
Downloaded Version:
Installed Version: 2.37.0
No new version available in the internet

Microsoft Azure Data Studio Insider x64 Per Machine
Internet Version:
Downloaded Version:
Installed Version: 1.35.0
No new version available in the internet

Git for Windows x64
Internet Version:
Downloaded Version:
Installed Version: 2.37.0
No new version available in the internet

Adobe Reader DC English x64
Internet Version:
Downloaded Version:
Installed Version: 23.001.20174
No new version available in the internet

WinSCP
Internet Version:
Downloaded Version:
Installed Version: 5.21.8
No new version available in the internet

Firefox ESR de-de is not downloading

The script shows that there is a new version of Firefox but the download don't start.


Starting download of Mozilla Firefox ESR German x64 version 102.4.0
INFO: @{TotalSize=0,00 Bytes; Time=00:00:00}


grafik

Cannot select Microsoft 365 Apps Version

There is no option to select a different MS 365 Apps version. Providing a custom XML file for Office to download the preferred version does not seem to affect the script.

Supported Versions

<Configuration> <Info Description="TEST" /> <Add OfficeClientEdition="32" Channel="SemiAnnual" OfficeMgmtCOM="TRUE" Version="16.0.13127.21820"> <Product ID="O365ProPlusRetail"> <Language ID="en-us" /> <ExcludeApp ID="Groove" /> <ExcludeApp ID="OneDrive" /> <ExcludeApp ID="Lync" /> <ExcludeApp ID="Teams" /> <ExcludeApp ID="Bing" /> </Product> </Add> <Property Name="SharedComputerLicensing" Value="1" /> <Property Name="PinIconsToTaskbar" Value="FALSE" /> <Property Name="SCLCacheOverride" Value="0" /> <Property Name="AUTOACTIVATE" Value="0" /> <Property Name="FORCEAPPSHUTDOWN" Value="TRUE" /> <Property Name="DeviceBasedLicensing" Value="0" /> <RemoveMSI /> <AppSettings> <Setup Name="Company" Value="TEST" /> </AppSettings> <Display Level="Full" AcceptEULA="TRUE" /> <Logging Level="Standard" Path="%programdata%\Appdeploy\Office2016" /> </Configuration>

Add option for 'No Desktop Shortcut' creation

Suggestion for adding a script parameter to prevent creation of the NeverRed Desktop Shortcut when running in GUI mode.
Rationale being, SentinelOne AV software detected creation of Desktop Shortcut and granting it Admin rights as potentially malicious behaviour and removed the NeverRed.lnk file.
Thanks.

VMware Tools

VMware tools are recognized as download version 18828794 and installed version as 11.3.5 so he is always trying update it even to its the current version installed.

Appears to be a version number tracking issue with currently installed software.

Steps to reproduce.

Have latest version of NeverRed.
Use NeverRed to Install latest version of teams machine based install. It reports as version 1.6.00.1381

Rerun the NeverRed script. Watch as it identifies the downloadable version as 1.6.00.01381 (adding a leading zero to last octet) and so decides the available version is newer, downloads, uninstalls, installs the "new" release.

Screenshot 2023-03-07 at 1 10 10 PM

Power BI Desktop incorrect version comparison forcing install

Downloaded version 2.116.0966.0 is not matching current version 2.116.996.0 which is unnecessarily forcing install when there is no valid update.

Install Microsoft Power BI Desktop  x64
Download Version: 2.116.0966.0
Current Version:  2.116.966.0
Update available
Starting install of Microsoft Power BI Desktop x64 version 2.116.0966.0
Install of the new version 2.116.0966.0 finished!

Mozilla Fehler

Hallo,

neuerdings kommt beim Download vom Mozilla folgender Fehler

siehe unten -

Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0 Argument(en):
"Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33

  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest
      Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0
      Argument(en): "Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
      In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33
  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest

Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0 Argument(en):
"Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33

  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest
      Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0
      Argument(en): "Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
      In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33
  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest

Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0 Argument(en):
"Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33

  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest
      Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0
      Argument(en): "Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
      In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33
  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest

Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0 Argument(en):
"Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33

  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest
      Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0
      Argument(en): "Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
      In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33
  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest

Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0 Argument(en):
"Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33

  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest
      Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0
      Argument(en): "Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
      In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33
  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest

Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0 Argument(en):
"Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33

  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest
      Resolve-SystemNetWebRequest : Resolve-SystemNetWebRequest: Ausnahme beim Aufrufen von "GetResponse" mit 0
      Argument(en): "Der Remoteserver hat einen Fehler zurückgegeben: (404) Nicht gefunden.".
      In C:\Program Files\WindowsPowerShell\Modules\Evergreen\2208.618\Apps\Get-MozillaFirefox.ps1:37 Zeichen:33
  •                 $response = Resolve-SystemNetWebRequest @params
    
  •                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (:) [Write-Error], WriteErrorException
    • FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Resolve-SystemNetWebRequest

Zoom Download Error

Hallo, ich bekomme immer folgenden Fehler wenn ich das "Zoom Citrix Media Plugin" installieren möchte.

Die Einstellungen im Script bei General sind:
grafik

Die Einstellungen im Script bei Detail sind:
grafik

Dann kommt leider dieser Fehler:
grafik

Was mache ich falsch?

Danke und viele Grüße

FileZilla fails te download

FileZilla fails to download and install

Filezilla Version: 3.65.0
Neverred version: 2.10.17


Windows PowerShell transcript start
Start time: 20230721174224
Username: XXX
RunAs User: XXXX
Configuration Name:
Machine: XXXX (Microsoft Windows NT 10.0.17763.0)
Host Application: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -ExecutionPolicy Bypass -file C:\Program Files\XXXXX\NeverRed\NeverRed.ps1
Process ID: 10284
PSVersion: 5.1.17763.3770
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.17763.3770
BuildVersion: 10.0.17763.3770
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1


Starting download of Filezilla version 3.65.0
PS>TerminatingError(Invoke-WebRequest): "Forbidden
You don't have permission to access this resource."


Windows PowerShell transcript end
End time: 20230721174225


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.