[WIP] Fix winodws service installer
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user