EvlWatcher icon indicating copy to clipboard operation
EvlWatcher copied to clipboard

Update management

Open shimuldn opened this issue 4 years ago • 4 comments

Future plan: Auto-update the software or an option to check the update available, click to download and install or something similar for a better user experience.

shimuldn avatar Jan 28 '21 08:01 shimuldn

auto updates: i would rather not do that. right now, the service runs a localservice (not as localnetwork), meaning it can guarantee every admin, that it will never, under no circumstances communicate (external or internal) over the network.

maybe updating via the console app, that could be an option. - for example, when you open the console app, it tells you that there are update available an so on ... then replace the signed dlls with other signed dlls, directly from github. that, we could do

however, not in the close future - but lets keep it a feature request. - who knows 😁

devnulli avatar Jan 28 '21 10:01 devnulli

Auto-updates: Good point, I agree.

Yeah, who knows. Let's where the apps go!

shimuldn avatar Jan 28 '21 10:01 shimuldn

sql server port 1433 would be great if supported

peyman47 avatar Sep 19 '21 09:09 peyman47

@shimuldn This is how I am managing updates for EvlWatcher. (Also how I install it initially across my domain) I put this script on my GPO->Computer Config->Windows Settings->Scripts->Startup and it checks if EvlWatcher is installed, and if it's out of date. To update EvlWatcher, I put the exe in the correct spot, then update the $version -eq 2.1.5.0 to be the correct version

$DefaultLogLocation = "C:\Windows\Logs\EvlWatcher.txt"
Start-Transcript -Path $DefaultLogLocation

Write-Host "Starting EvlWatcher Install"

If( -not(Test-Path "C:\Program Files (x86)\EvlWatcher" )) {
    Write-Host "EvlWatcher not installed, starting install process..."
    $params = @(
        '/S'
    )
    $p = Start-Process 'MYDOMAINSYSVOL\Software\EvlWatcher\EvlWatcher-v2.1.5-setup.exe' -ArgumentList $params -NoNewWindow -Wait -PassThru
    $p.ExitCode
    Write-Host "Done Installing EvlWatcher $($p.ExitCode)"
} else {
    Write-Host "EvlWatcher already installed, checking version"
    $version = (Get-ItemProperty "C:\Program Files (x86)\EvlWatcher\EvlWatcher.exe").VersionInfo.ProductVersion
    If( $version -eq 2.1.5.0) {
        Write-Host "The latest version of EvlWatcher is already installed, no changes have been made."
    } else {
        Write-Host "An outdated version of EvlWatcher is installed, updating..."
        $params = @(
            '/S'
        )
        $p = Start-Process '\\MYDOMAINSYSVOL\Software\EvlWatcher\EvlWatcher-v2.1.5-setup.exe' -ArgumentList $params -NoNewWindow -Wait -PassThru
        $p.ExitCode
        Write-Host "Done Updating EvlWatcher $($p.ExitCode)"
    }
}

Stop-Transcript

EDIT: That's powershell btw

Sparticuz avatar Apr 20 '22 14:04 Sparticuz