refs #468 remove some whitespace
This is a pretty much dumb commit just to make a ref to the ticket #468, because the changes proposed to fix #464 also work on linux.pull/4/head
parent
10fab7839e
commit
833a0dc412
|
|
@ -114,13 +114,13 @@ Section -post SEC0001
|
||||||
ExecWait '"$INSTDIR\VC_redist.x64.exe" /passive /norestart'
|
ExecWait '"$INSTDIR\VC_redist.x64.exe" /passive /norestart'
|
||||||
# Add the application to the firewall exception list - All Networks - All IP Version - Enabled
|
# Add the application to the firewall exception list - All Networks - All IP Version - Enabled
|
||||||
# SimpleFC::AddApplication "OpenGnsys Agent Service" "$INSTDIR\OGAgentService.exe" 0 2 "" 1
|
# SimpleFC::AddApplication "OpenGnsys Agent Service" "$INSTDIR\OGAgentService.exe" 0 2 "" 1
|
||||||
# SimpleFC::AdvAddRule [name] [description] [protocol] [direction]
|
# SimpleFC::AdvAddRule [name] [description] [protocol] [direction]
|
||||||
# [status] [profile] [action] [application] [service_name] [icmp_types_and_codes]
|
# [status] [profile] [action] [application] [service_name] [icmp_types_and_codes]
|
||||||
# [group] [local_ports] [remote_ports] [local_address] [remote_address]
|
# [group] [local_ports] [remote_ports] [local_address] [remote_address]
|
||||||
#
|
#
|
||||||
SimpleFC::AdvAddRule "OpenGnsys Agent Firewall rules" "Firewall rules for OpenGnsys Agent interaction with broker." "6" "1" \
|
SimpleFC::AdvAddRule "OpenGnsys Agent Firewall rules" "Firewall rules for OpenGnsys Agent interaction with broker." "6" "1" \
|
||||||
"1" "7" "1" "$INSTDIR\OGAgentService.exe" "" "" \
|
"1" "7" "1" "$INSTDIR\OGAgentService.exe" "" "" \
|
||||||
"" "" "" "" ""
|
"" "" "" "" ""
|
||||||
Pop $0 ; return error(1)/success(0)
|
Pop $0 ; return error(1)/success(0)
|
||||||
# Disable fast boot on Windows 10, if registry key exists.
|
# Disable fast boot on Windows 10, if registry key exists.
|
||||||
ReadRegDWORD $0 HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Power" HiberbootEnabled
|
ReadRegDWORD $0 HKLM "SYSTEM\CurrentControlSet\Control\Session Manager\Power" HiberbootEnabled
|
||||||
|
|
@ -149,7 +149,7 @@ done${UNSECTION_ID}:
|
||||||
Section /o -un.Main UNSEC0000
|
Section /o -un.Main UNSEC0000
|
||||||
nsExec::Exec "taskkill /F /IM OGAgentUser.exe /T"
|
nsExec::Exec "taskkill /F /IM OGAgentUser.exe /T"
|
||||||
nsExec::Exec /OEM "$INSTDIR\OGAgentService.exe stop" # Stops the service prior uninstall
|
nsExec::Exec /OEM "$INSTDIR\OGAgentService.exe stop" # Stops the service prior uninstall
|
||||||
nsExec::Exec /OEM "$INSTDIR\OGAgentService.exe remove" # Removes the service prior uninstall
|
nsExec::Exec /OEM "$INSTDIR\OGAgentService.exe remove" # Removes the service prior uninstall
|
||||||
nsExec::Exec "taskkill /F /IM OGAgentService.exe /T"
|
nsExec::Exec "taskkill /F /IM OGAgentService.exe /T"
|
||||||
Delete /REBOOTOK "$INSTDIR\*.*"
|
Delete /REBOOTOK "$INSTDIR\*.*"
|
||||||
DeleteRegValue HKLM "${REGKEY}\Components" Main
|
DeleteRegValue HKLM "${REGKEY}\Components" Main
|
||||||
|
|
@ -180,7 +180,7 @@ Function .onInit
|
||||||
InitPluginsDir
|
InitPluginsDir
|
||||||
Call GetParameters
|
Call GetParameters
|
||||||
StrCpy $StartMenuGroup "OpenGnsys Agent"
|
StrCpy $StartMenuGroup "OpenGnsys Agent"
|
||||||
|
|
||||||
!insertmacro MUI_LANGDLL_DISPLAY
|
!insertmacro MUI_LANGDLL_DISPLAY
|
||||||
!insertmacro MULTIUSER_INIT
|
!insertmacro MULTIUSER_INIT
|
||||||
FunctionEnd
|
FunctionEnd
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue