tnodir / fort

Fort Firewall for Windows
GNU General Public License v3.0
1.1k stars 96 forks source link

[Bug?] Automatic update is not available #257

Closed zk637 closed 1 month ago

zk637 commented 1 month ago

The "Install" button as shown below does not seem to work and the version number does not change after opening and There is no more information in the log

https://github.com/tnodir/fort/assets/78423939/632f0eca-cea4-4a32-a2cd-280fbfec5e08

I compressed the video to meet the file size requirements, if there is anything unclear you are welcome to ask and I will try to answer

zk637 commented 1 month ago

supplementary instruction : My Options setting image

zk637 commented 1 month ago

When I click "Install" button console debug information

image

zk637 commented 1 month ago

The log provides some information

Looks like something to do with regional time tasks? I don't know. image

image

GUI faked his death

image

tnodir commented 1 month ago

Please run as Admin in Terminal: FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG.

And show "%TEMP%/SetupLog*.log" file.

zk637 commented 1 month ago

Below is information I found in windows Event Management that might be helpful


zk637 commented 1 month ago

Please run as Admin in Terminal: FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG.

And show "%TEMP%/SetupLog*.log" file.

Nothing

image image

tnodir commented 1 month ago

Please run dir %TEMP% as Admin in Terminal. And find some "Setup*" file.

tnodir commented 1 month ago

Or just run again as Admin in Terminal: FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG="C:\SetupFort.log". And show the "C:\SetupFort.log".

zk637 commented 1 month ago

Or just run again as Admin in Terminal: FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG="C:\SetupFort.log". And show the "C:\SetupFort.log".或者只是在终端中以管理员身份再次运行: FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG="C:\SetupFort.log" 。并显示“C:\SetupFort.log”。

This application does not work on your computer image

tnodir commented 1 month ago

Can you just run the FortFirewall-3.12.12-windows10-x86_64.exe and install as usually by hand?

zk637 commented 1 month ago

Can you just run the FortFirewall-3.12.12-windows10-x86_64.exe and install as usually by hand?您可以像平常一样手动运行 FortFirewall-3.12.12-windows10-x86_64.exe 并安装吗?

Yes, it works

image

image

tnodir commented 1 month ago

Try to install v3.12.11, then run FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG="C:\Windows\Temp\SetupFort.log".

zk637 commented 1 month ago

Try to install v3.12.11, then run FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG="C:\Windows\Temp\SetupFort.log".尝试安装 v3.12.11,然后运行 ​​ FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG="C:\Windows\Temp\SetupFort.log"

I think I need to execute here? Is this command silent installation?

image

tnodir commented 1 month ago

I think I need to execute here? Is this command silent installation?

Yes, you have to run from that folder as Admin.

zk637 commented 1 month ago

FortFirewall-3.12.12-windows10-x86_64.exe /VERYSILENT /LOG="C:\Windows\Temp\SetupFort.log

Did something go wrong there?

It is not an internal or external command, nor is it a runnable program

Or batch file.

image

tnodir commented 1 month ago

Run D: before cd ..:

zk637 commented 1 month ago
  • C:\Windows\Temp\SetupFort.log. I think the cause of the problem is the default installation path

I think the cause of the problem is the default installation path, I installed the path is D:\Softwere green\Fort Firewall\FortFirewall.exe ,Silent installation is C:\Program Files\Fort Firewall\FortFirewall.exe

SetupFort.log The information is as follows
2024-05-28 01:17:15.988 Log opened. (Time zone: UTC+08:00) 2024-05-28 01:17:15.988 Setup version: Inno Setup version 5.6.1 (u) 2024-05-28 01:17:15.988 Original Setup EXE: D:\Setup\FortFirewall-3.12.12-windows10-x86_64.exe 2024-05-28 01:17:15.988 Setup command line: /SL5="$D51056,5814823,283136,D:\Setup\FortFirewall-3.12.12-windows10-x86_64.exe" /VERYSILENT /LOG="C:\Windows\Temp\SetupFort.log 2024-05-28 01:17:15.988 Windows version: 10.0.18362 (NT platform: Yes) 2024-05-28 01:17:15.988 64-bit Windows: Yes 2024-05-28 01:17:15.988 Processor architecture: x64 2024-05-28 01:17:15.988 User privileges: Administrative 2024-05-28 01:17:15.989 64-bit install mode: Yes 2024-05-28 01:17:15.993 Created temporary directory: C:\Users\zk\AppData\Local\Temp\is-QU2NF.tmp 2024-05-28 01:17:16.004 -- DLL function import -- 2024-05-28 01:17:16.004 Function name: IsProcessorFeaturePresent 2024-05-28 01:17:16.004 DLL name: kernel32.dll 2024-05-28 01:17:16.004 Dest DLL name: kernel32.dll 2024-05-28 01:17:16.004 Importing the DLL function. 2024-05-28 01:17:16.004 Successfully imported the DLL function. Delay loaded? No 2024-05-28 01:17:16.541 Starting the installation process. 2024-05-28 01:17:16.549 Directory for uninstall files: C:\Program Files\Fort Firewall\uninst 2024-05-28 01:17:16.549 Will append to existing uninstall log: C:\Program Files\Fort Firewall\uninst\unins000.dat 2024-05-28 01:17:16.551 -- File entry -- 2024-05-28 01:17:16.551 Dest filename: C:\Program Files\Fort Firewall\uninst\unins000.exe 2024-05-28 01:17:16.551 Non-default bitness: 32-bit 2024-05-28 01:17:16.552 Time stamp of our file: 2024-05-28 01:17:15.692 2024-05-28 01:17:16.552 Dest file exists. 2024-05-28 01:17:16.553 Time stamp of existing file: 2024-05-28 01:16:26.554 2024-05-28 01:17:16.553 Version of our file: 51.1052.0.0 2024-05-28 01:17:16.553 Version of existing file: 51.1052.0.0 2024-05-28 01:17:16.553 Installing the file. 2024-05-28 01:17:16.556 Uninstaller requires administrator: Yes 2024-05-28 01:17:16.556 Leaving temporary file in place for now. 2024-05-28 01:17:16.556 -- File entry -- 2024-05-28 01:17:16.556 Dest filename: C:\Program Files\Fort Firewall\FortFirewall.exe 2024-05-28 01:17:16.556 Time stamp of our file: 2024-05-26 09:10:18.000 2024-05-28 01:17:16.556 Dest file exists. 2024-05-28 01:17:16.556 Time stamp of existing file: 2024-05-26 09:10:18.000 2024-05-28 01:17:16.556 Installing the file. 2024-05-28 01:17:17.318 Successfully installed the file. 2024-05-28 01:17:17.318 -- File entry -- 2024-05-28 01:17:17.318 Dest filename: C:\Program Files\Fort Firewall\driver\scripts\check-reinstall.bat 2024-05-28 01:17:17.318 Time stamp of our file: 2024-04-30 13:21:56.000 2024-05-28 01:17:17.318 Installing the file. 2024-05-28 01:17:17.319 Creating directory: C:\Program Files\Fort Firewall\driver 2024-05-28 01:17:17.319 Creating directory: C:\Program Files\Fort Firewall\driver\scripts 2024-05-28 01:17:17.320 Successfully installed the file. 2024-05-28 01:17:17.320 -- File entry -- 2024-05-28 01:17:17.320 Dest filename: C:\Program Files\Fort Firewall\driver\scripts\execute-cmd.bat 2024-05-28 01:17:17.320 Time stamp of our file: 2024-01-13 12:24:30.000 2024-05-28 01:17:17.320 Installing the file. 2024-05-28 01:17:17.321 Successfully installed the file. 2024-05-28 01:17:17.321 -- File entry -- 2024-05-28 01:17:17.321 Dest filename: C:\Program Files\Fort Firewall\driver\scripts\install.bat 2024-05-28 01:17:17.321 Time stamp of our file: 2024-05-23 10:13:10.000 2024-05-28 01:17:17.321 Installing the file. 2024-05-28 01:17:17.322 Successfully installed the file. 2024-05-28 01:17:17.322 -- File entry -- 2024-05-28 01:17:17.322 Dest filename: C:\Program Files\Fort Firewall\driver\scripts\reinstall.bat 2024-05-28 01:17:17.323 Time stamp of our file: 2024-05-12 15:01:34.000 2024-05-28 01:17:17.323 Installing the file. 2024-05-28 01:17:17.326 Successfully installed the file. 2024-05-28 01:17:17.326 -- File entry -- 2024-05-28 01:17:17.326 Dest filename: C:\Program Files\Fort Firewall\driver\scripts\setup-vars.bat 2024-05-28 01:17:17.326 Time stamp of our file: 2024-05-23 12:35:02.000 2024-05-28 01:17:17.326 Installing the file. 2024-05-28 01:17:17.327 Successfully installed the file. 2024-05-28 01:17:17.327 -- File entry -- 2024-05-28 01:17:17.327 Dest filename: C:\Program Files\Fort Firewall\driver\scripts\uninstall.bat 2024-05-28 01:17:17.328 Time stamp of our file: 2024-04-30 16:01:58.000 2024-05-28 01:17:17.328 Installing the file. 2024-05-28 01:17:17.331 Successfully installed the file. 2024-05-28 01:17:17.331 -- File entry -- 2024-05-28 01:17:17.331 Dest filename: C:\Program Files\Fort Firewall\driver\x86_64\fortfw.sys 2024-05-28 01:17:17.331 Time stamp of our file: 2024-04-27 12:02:36.000 2024-05-28 01:17:17.331 Installing the file. 2024-05-28 01:17:17.331 Creating directory: C:\Program Files\Fort Firewall\driver\x86_64 2024-05-28 01:17:17.337 Successfully installed the file. 2024-05-28 01:17:17.337 -- File entry -- 2024-05-28 01:17:17.337 Dest filename: C:\Program Files\Fort Firewall\driver\x86_64_old\fortfw.sys 2024-05-28 01:17:17.337 Time stamp of our file: 2024-04-27 12:02:24.000 2024-05-28 01:17:17.337 Installing the file. 2024-05-28 01:17:17.337 Creating directory: C:\Program Files\Fort Firewall\driver\x86_64_old 2024-05-28 01:17:17.340 Successfully installed the file. 2024-05-28 01:17:17.340 -- File entry -- 2024-05-28 01:17:17.340 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_ar.qm 2024-05-28 01:17:17.340 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.340 Installing the file. 2024-05-28 01:17:17.340 Creating directory: C:\Program Files\Fort Firewall\i18n 2024-05-28 01:17:17.343 Successfully installed the file. 2024-05-28 01:17:17.343 -- File entry -- 2024-05-28 01:17:17.343 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_de.qm 2024-05-28 01:17:17.343 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.343 Installing the file. 2024-05-28 01:17:17.345 Successfully installed the file. 2024-05-28 01:17:17.345 -- File entry -- 2024-05-28 01:17:17.345 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_fr.qm 2024-05-28 01:17:17.346 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.346 Installing the file. 2024-05-28 01:17:17.348 Successfully installed the file. 2024-05-28 01:17:17.348 -- File entry -- 2024-05-28 01:17:17.348 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_it.qm 2024-05-28 01:17:17.348 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.348 Installing the file. 2024-05-28 01:17:17.350 Successfully installed the file. 2024-05-28 01:17:17.350 -- File entry -- 2024-05-28 01:17:17.350 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_ko.qm 2024-05-28 01:17:17.350 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.350 Installing the file. 2024-05-28 01:17:17.352 Successfully installed the file. 2024-05-28 01:17:17.352 -- File entry -- 2024-05-28 01:17:17.352 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_pl.qm 2024-05-28 01:17:17.352 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.352 Installing the file. 2024-05-28 01:17:17.354 Successfully installed the file. 2024-05-28 01:17:17.354 -- File entry -- 2024-05-28 01:17:17.354 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_pt_BR.qm 2024-05-28 01:17:17.354 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.354 Installing the file. 2024-05-28 01:17:17.356 Successfully installed the file. 2024-05-28 01:17:17.356 -- File entry -- 2024-05-28 01:17:17.356 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_ru.qm 2024-05-28 01:17:17.357 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.357 Installing the file. 2024-05-28 01:17:17.359 Successfully installed the file. 2024-05-28 01:17:17.359 -- File entry -- 2024-05-28 01:17:17.359 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_sl.qm 2024-05-28 01:17:17.359 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.359 Installing the file. 2024-05-28 01:17:17.361 Successfully installed the file. 2024-05-28 01:17:17.361 -- File entry -- 2024-05-28 01:17:17.361 Dest filename: C:\Program Files\Fort Firewall\i18n\i18n_zh_CN.qm 2024-05-28 01:17:17.361 Time stamp of our file: 2024-05-26 08:32:12.000 2024-05-28 01:17:17.361 Installing the file. 2024-05-28 01:17:17.363 Successfully installed the file. 2024-05-28 01:17:17.363 -- File entry -- 2024-05-28 01:17:17.363 Dest filename: C:\Program Files\Fort Firewall\FortFirewall.exe.example.ini 2024-05-28 01:17:17.363 Time stamp of our file: 2024-04-26 12:42:40.000 2024-05-28 01:17:17.363 Dest file exists. 2024-05-28 01:17:17.363 Time stamp of existing file: 2024-04-26 12:42:40.000 2024-05-28 01:17:17.363 Installing the file. 2024-05-28 01:17:17.365 Successfully installed the file. 2024-05-28 01:17:17.365 -- File entry -- 2024-05-28 01:17:17.365 Dest filename: C:\Program Files\Fort Firewall\qt.conf 2024-05-28 01:17:17.365 Time stamp of our file: 2024-02-26 15:51:28.000 2024-05-28 01:17:17.365 Installing the file. 2024-05-28 01:17:17.366 Successfully installed the file. 2024-05-28 01:17:17.366 -- File entry -- 2024-05-28 01:17:17.366 Dest filename: C:\Program Files\Fort Firewall\inst.tmp 2024-05-28 01:17:17.366 Time stamp of our file: 2024-05-22 10:32:26.000 2024-05-28 01:17:17.366 Dest file exists. 2024-05-28 01:17:17.366 Time stamp of existing file: 2024-05-28 01:17:16.352 2024-05-28 01:17:17.366 Installing the file. 2024-05-28 01:17:17.367 Successfully installed the file. 2024-05-28 01:17:17.367 -- Icon entry -- 2024-05-28 01:17:17.367 Dest filename: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Fort Firewall\Fort Firewall.lnk 2024-05-28 01:17:17.368 Creating the icon. 2024-05-28 01:17:17.408 Successfully created the icon. 2024-05-28 01:17:17.419 -- Icon entry -- 2024-05-28 01:17:17.419 Dest filename: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Fort Firewall\卸载 Fort Firewall.lnk 2024-05-28 01:17:17.420 Creating the icon. 2024-05-28 01:17:17.422 Successfully created the icon. 2024-05-28 01:17:17.435 -- Icon entry -- 2024-05-28 01:17:17.435 Dest filename: C:\Users\Public\Desktop\Fort Firewall.lnk 2024-05-28 01:17:17.435 Creating the icon. 2024-05-28 01:17:17.440 Successfully created the icon. 2024-05-28 01:17:17.463 -- Registry entry -- 2024-05-28 01:17:17.463 Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\System\fortfw 2024-05-28 01:17:17.463 Creating or opening the key. 2024-05-28 01:17:17.463 Successfully created the key. 2024-05-28 01:17:17.463 -- Registry entry -- 2024-05-28 01:17:17.463 Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\System\fortfw 2024-05-28 01:17:17.463 Value name: EventMessageFile 2024-05-28 01:17:17.464 Creating or opening the key. 2024-05-28 01:17:17.464 Creating or setting the value. 2024-05-28 01:17:17.464 Successfully created or set the value. 2024-05-28 01:17:17.464 -- Registry entry -- 2024-05-28 01:17:17.464 Key: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\EventLog\System\fortfw 2024-05-28 01:17:17.464 Value name: TypesSupported 2024-05-28 01:17:17.464 Creating or opening the key. 2024-05-28 01:17:17.464 Creating or setting the value. 2024-05-28 01:17:17.464 Successfully created or set the value. 2024-05-28 01:17:17.464 -- Registry entry -- 2024-05-28 01:17:17.464 Key: HKEY_LOCAL_MACHINE\SOFTWARE\Fort Firewall 2024-05-28 01:17:17.464 Not creating the key or a value, skipping the key and only updating uninstall log. 2024-05-28 01:17:17.464 -- Registry entry -- 2024-05-28 01:17:17.464 Key: HKEY_LOCAL_MACHINE\SOFTWARE\Fort Firewall 2024-05-28 01:17:17.464 Value name: passwordHash 2024-05-28 01:17:17.464 Not creating the key or a value, skipping the key and only updating uninstall log. 2024-05-28 01:17:17.464 Saving uninstall information. 2024-05-28 01:17:17.464 Renaming uninstaller. 2024-05-28 01:17:17.465 Deleting any uninstall keys left over from previous installs 2024-05-28 01:17:17.465 Creating new uninstall key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Fort Firewall_is1 2024-05-28 01:17:17.466 Writing uninstall key values. 2024-05-28 01:17:17.469 Installation process succeeded. 2024-05-28 01:17:17.477 -- Run entry -- 2024-05-28 01:17:17.477 Run as: Current user 2024-05-28 01:17:17.477 Type: Exec 2024-05-28 01:17:17.477 Filename: C:\Program Files\Fort Firewall\FortFirewall.exe 2024-05-28 01:17:17.477 Parameters: -u most 2024-05-28 01:17:17.771 Process exit code: 0 2024-05-28 01:17:17.771 -- Run entry -- 2024-05-28 01:17:17.771 Run as: Current user 2024-05-28 01:17:17.771 Type: Exec 2024-05-28 01:17:17.771 Filename: C:\Program Files\Fort Firewall\driver\scripts\reinstall.bat 2024-05-28 01:17:17.771 Parameters: /SILENT 2024-05-28 01:17:18.517 Process exit code: 0 2024-05-28 01:17:18.517 -- Run entry -- 2024-05-28 01:17:18.517 Run as: Current user 2024-05-28 01:17:18.517 Type: Exec 2024-05-28 01:17:18.517 Filename: C:\Program Files\Fort Firewall\FortFirewall.exe 2024-05-28 01:17:18.517 Parameters: -i service 2024-05-28 01:17:19.010 Process exit code: 0 2024-05-28 01:17:19.010 -- Run entry -- 2024-05-28 01:17:19.010 Run as: Original user 2024-05-28 01:17:19.010 Type: Exec 2024-05-28 01:17:19.010 Filename: C:\Program Files\Fort Firewall\FortFirewall.exe 2024-05-28 01:17:19.010 Parameters: -i explorer 2024-05-28 01:17:19.157 Process exit code: 0 2024-05-28 01:17:19.157 -- Run entry -- 2024-05-28 01:17:19.157 Run as: Current user 2024-05-28 01:17:19.157 Type: Exec 2024-05-28 01:17:19.157 Filename: sc.exe 2024-05-28 01:17:19.157 Parameters: start FortFirewallSvc 2024-05-28 01:17:19.170 Need to restart Windows? No 2024-05-28 01:17:19.183 Deinitializing Setup. 2024-05-28 01:17:19.191 Log closed.

image

tnodir commented 1 month ago

I think the cause of the problem is the default installation path, I installed the path is D:\Softwere green\Fort Firewall\FortFirewall.exe ,Silent installation is C:\Program Files\Fort Firewall\FortFirewall.exe

How is it possible?

Silent installation should install to same old installation folder..

Have you moved the installed Fort's folder to other place by hand?

zk637 commented 1 month ago

I think the cause of the problem is the default installation path, I installed the path is D:\Softwere green\Fort Firewall\FortFirewall.exe ,Silent installation is C:\Program Files\Fort Firewall\FortFirewall.exe我认为问题的原因是默认安装路径,我安装的路径是 D:\Softwere green\Fort Firewall\FortFirewall.exe ,静默安装是 C:\Program Files\Fort Firewall\FortFirewall.exe

How is it possible?这怎么可能?

Silent installation should install to same old installation folder..静默安装应安装到相同的旧安装文件夹中。

Have you moved the installed Fort's folder to other place by hand?您是否手动将安装的Fort文件夹移动到其他地方?

I tried to recover the problematic situation by backing up the config files but not using the vbs script and didn't encounter problems updating, is it possible that if these files are occupied when updating there is a failure to update successfully?

#252

Hard links location

https://github.com/tnodir/fort/discussions/252#discussioncomment-9510642

VBS logic location:

https://github.com/tnodir/fort/discussions/252#discussioncomment-9516564

image

image

zk637 commented 1 month ago

I think the cause of the problem is the default installation path, I installed the path is D:\Softwere green\Fort Firewall\FortFirewall.exe ,Silent installation is C:\Program Files\Fort Firewall\FortFirewall.exe我认为问题的原因是默认安装路径,我安装的路径是 D:\Softwere green\Fort Firewall\FortFirewall.exe ,静默安装是 C:\Program Files\Fort Firewall\FortFirewall.exe

How is it possible?这怎么可能?

Silent installation should install to same old installation folder..静默安装应安装到相同的旧安装文件夹中。

Have you moved the installed Fort's folder to other place by hand?您是否手动将安装的Fort文件夹移动到其他地方?

Yes, you are right, my incorrect installation resulted in an incorrect path

zk637 commented 1 month ago

I found that the Options settings change causes hard links to fail, and I don't know if this is relevant

https://github.com/tnodir/fort/assets/78423939/d6704834-9de4-4ec7-8e61-da9029378c76

tnodir commented 1 month ago

I found that the Options settings change causes hard links to fail

Please do not use hard links and do not touch Fort's SQLite files.

You can backup the whole profile folder by doing:

zk637 commented 1 month ago

I found that the Options settings change causes hard links to fail我发现选项设置更改导致硬链接失败

Please do not use hard links and do not touch Fort's SQLite files.请不要使用硬链接,也不要碰 Fort 的 SQLite 文件。

You can backup the whole profile folder by doing:您可以通过执行以下操作来备份整个配置文件文件夹:

  • Quit from UI 从用户界面退出
  • Stop the service by command: sc.exe stop FortFirewallSvc通过命令停止服务: sc.exe stop FortFirewallSvc
  • Check that no -wal or -shm files exist in the folder检查文件夹中是否存在 -wal-shm 文件
  • Copy the folder 复制文件夹
  • Start the service by command: sc.exe start FortFirewallSvc通过命令启动服务: sc.exe start FortFirewallSvc

I see what you mean, but such backups need to be done manually and can only be created when the program is functioning properly. What I want is a mirror backup of the disaster recovery mechanism. Will you consider compatible with hard links or better mirroring solutions? Thank you very much

zk637 commented 1 month ago

Part of the problem should be solved, I wrote a bat script using the "Command Line Shell For SQLite" and to my surprise it didn't appear that resources could not be freed, now I just need to implement a scheduled backup using windows task planning. However, the resource cannot be safely released because the rest of the configuration files are not databases. "FortFirewall.ini","FortFirewall.user.ini","FortFirewall.config"Is it possible to use hardlink access?

image

image

image

image

The operation cannot be completed because the file is already open in "Fortfirewall" Please close the file and try again: image

tnodir commented 1 month ago

@zk637 .ini files are not SQLite database files. You can just copy them.

zk637 commented 1 month ago

@zk637 .ini files are not SQLite database files. You can just copy them. .ini 文件不是 SQLite 数据库文件。您只需复制它们即可。

Ok, I think the problem is solved, the database and ordinary files can be safely accessed