lokinet/win32-setup/extra_install.nsis

13 lines
594 B
Plaintext
Raw Normal View History

ExecWait '$INSTDIR\bin\lokinet.exe --install'
ExecWait '$INSTDIR\bin\lokinet.exe -g C:\ProgramData\lokinet\lokinet.ini'
CopyFiles '$INSTDIR\share\bootstrap.signed' C:\ProgramData\lokinet\bootstrap.signed
ifFileExists $INSTDIR\share\conf.d 0 +3
CreateDirectory C:\ProgramData\lokinet\conf.d
CopyFiles '$INSTDIR\share\conf.d\*.ini' C:\ProgramData\lokinet\conf.d
IfFileExists $INSTDIR\bin\WinDivert64.sys +2 0
CopyFiles '$INSTDIR\lib\WinDivert64.sys' '$INSTDIR\bin\WinDivert64.sys'
IfFileExists $INSTDIR\bin\WinDivert.sys +2 0
CopyFiles '$INSTDIR\lib\WinDivert.sys' '$INSTDIR\bin\WinDivert.sys'