Compare commits

...

2 Commits

Author SHA1 Message Date
JonatanRek
f173df46e4 Merge branch 'main' of https://git.steelants.cz/DWS-Prague/INT_PKG_NET_INSTALLER 2025-02-14 07:56:04 +01:00
JonatanRek
1c12a0a516 Fixes 2025-02-14 07:54:54 +01:00
5 changed files with 38 additions and 26 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
v1.8.6/*
build/*.intunewin

View File

@ -0,0 +1,11 @@
$ProgramName = "FortiClientVPN"
#$ProfileName = "DEMO scloud" # Change to your Profilename!
$ProgramVersion_target = '7.4.0.1658' # Set to version from MSI
$ProgramPath = "C:\Program Files\Fortinet\FortiClient\FortiClient.exe"
$ProgramVersion_current = [System.Diagnostics.FileVersionInfo]::GetVersionInfo($ProgramPath).FileVersion
#$RegPath = "HKLM:\SOFTWARE\Fortinet\FortiClient\Sslvpn\Tunnels\$ProfileName"
#$RegContent = Get-ItemProperty -Path $RegPath
if(($ProgramVersion_current -eq $ProgramVersion_target) <#-and ($RegContent)#>){
Write-Host "Found it!"
}

View File