mirror of
https://github.com/safing/portmaster
synced 2025-09-01 18:19:12 +00:00
14 lines
369 B
NSIS
14 lines
369 B
NSIS
!define NSIS_HOOK_POSTINSTALL "NSIS_HOOK_POSTINSTALL_"
|
|
|
|
!macro NSIS_HOOK_POSTINSTALL_
|
|
ExecWait '"$INSTDIR\portmaster-start.exe" install core-service --data="$INSTDIR\data"'
|
|
!macroend
|
|
|
|
|
|
!define NSIS_HOOK_PREUNINSTALL "NSIS_HOOK_PREUNINSTALL_"
|
|
|
|
!macro NSIS_HOOK_PREUNINSTALL_
|
|
ExecWait 'sc.exe stop PortmasterCore'
|
|
ExecWait 'sc.exe delete PortmasterCore'
|
|
!macroend
|
|
|