Some checks failed
farmcontrol/farmcontrol-server/pipeline/head There was a failure building this commit
- Added a new NSIS installer script (farmcontrol-server.nsi) for packaging the Farm Control Server on Windows, replacing the previous MSI approach. - Updated the build process to utilize the new NSIS script, including changes in the finalize-desktop-artifacts.mjs to reflect the new installer format. - Removed the obsolete MSI build script (build-windows-msi.ps1) and related files to streamline the packaging process. - Updated the README to reflect changes in the post-package process for Windows installers.
15 lines
600 B
NSIS
15 lines
600 B
NSIS
!macro customInstall
|
|
DetailPrint "Register farmcontrolserver URI Handler"
|
|
DeleteRegKey HKCR "farmcontrolserver"
|
|
WriteRegStr HKCR "farmcontrolserver" "" "URL:farmcontrolserver"
|
|
WriteRegStr HKCR "farmcontrolserver" "URL Protocol" ""
|
|
WriteRegStr HKCR "farmcontrolserver\DefaultIcon" "" "$INSTDIR\launcher.exe"
|
|
WriteRegStr HKCR "farmcontrolserver\shell" "" ""
|
|
WriteRegStr HKCR "farmcontrolserver\shell\Open" "" ""
|
|
WriteRegStr HKCR "farmcontrolserver\shell\Open\command" "" '"$INSTDIR\launcher.exe" "%1"'
|
|
!macroend
|
|
|
|
!macro customUnInstall
|
|
DeleteRegKey HKCR "farmcontrolserver"
|
|
!macroend
|