mirror of
https://github.com/safing/portmaster
synced 2025-09-11 07:24:36 +00:00
[WIP] Fix winodws service installer
This commit is contained in:
parent
b52cde15c5
commit
d15ede9f53
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
!macro NSIS_HOOK_POSTINSTALL
|
!macro NSIS_HOOK_POSTINSTALL
|
||||||
ExecWait 'sc.exe create PortmasterCore binPath= "$INSTDIR\portmaster-core.exe" --data="$COMMONPROGRAMDATA\Portmaster\data"'
|
ExecWait 'sc.exe create PortmasterCore binPath= "$INSTDIR\portmaster-core.exe"'
|
||||||
!macroend
|
!macroend
|
||||||
|
|
||||||
!macro NSIS_HOOK_PREUNINSTALL
|
!macro NSIS_HOOK_PREUNINSTALL
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<CustomAction Id="InstallPortmasterService"
|
<CustomAction Id="InstallPortmasterService"
|
||||||
Directory="INSTALLDIR"
|
Directory="INSTALLDIR"
|
||||||
ExeCommand="sc.exe create PortmasterCore binPath= "[INSTALLDIR]portmaster-core.exe --data [CommonAppDataFolder]Portmaster\data""
|
ExeCommand="sc.exe create PortmasterCore binPath= "[INSTALLDIR]portmaster-core.exe""
|
||||||
Execute="commit"
|
Execute="commit"
|
||||||
Return="check"
|
Return="check"
|
||||||
Impersonate="no"
|
Impersonate="no"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue