Fixes
This commit is contained in:
parent
28eb12c9d7
commit
1c12a0a516
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
v1.8.6/*
|
v1.8.6/*
|
||||||
|
build/*.intunewin
|
||||||
|
11
apps/FortigateVPN/chectk.ps1
Normal file
11
apps/FortigateVPN/chectk.ps1
Normal 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!"
|
||||||
|
}
|
Binary file not shown.
4
apps/FortigateVPN/config/vpnSettings.reg
Normal file
4
apps/FortigateVPN/config/vpnSettings.reg
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Fortinet\FortiClient\Sslvpn]
|
||||||
|
"WinDnsCacheService"=dword:00000002
|
0
apps/FortigateVPN/uninstall.ps1
Normal file
0
apps/FortigateVPN/uninstall.ps1
Normal file
Loading…
Reference in New Issue
Block a user