Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packaging/windows/install_script.nsis
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Section "install"
${EndIf}

# Preemptively stop the existing service if it's running.
nsExec::ExecToLog 'sc stop "Alloy"'
nsExec::ExecToLog 'net stop "Alloy" /y'
Pop $0

# Configure the out path and copy files to it.
Expand Down Expand Up @@ -282,7 +282,7 @@ Section "uninstall"
DetailPrint "Starting uninstaller."

# Stop and remove service.
nsExec::ExecToLog 'sc stop "Alloy"'
nsExec::ExecToLog 'net stop "Alloy" /y'
Pop $0
nsExec::ExecToLog 'sc delete "Alloy"'
Pop $0
Expand Down
Loading