Commit 74605d66 authored by f4eyq's avatar f4eyq

update 24/3/2019 - 2

parent 9a5248e5
Pipeline #14 failed with stages
;--------------------------------
; CRX QSO Agent
;--------------------------------
; The name of the installer
Name "crx-agent"
; The file to write
OutFile "crx-agent.exe"
; The default installation directory
InstallDir $PROGRAMFILES\crx-agent
; Registry key to check for directory (so if you install again, it will
; overwrite the old one automatically)
InstallDirRegKey HKLM "Software\NSIS_crx_agent" "Install_Dir"
; Request application privileges for Windows Vista
RequestExecutionLevel admin
;--------------------------------
; Pages
Page components
Page directory
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles
;--------------------------------
; The stuff to install
Section "crx-agent (required)"
SectionIn RO
; Set output path to the installation directory.
SetOutPath $INSTDIR
; Put file there
;File "D:\DEV\CrxAgent.nsi"
File "D:\DEV\CrxAgent\CrxAgent\bin\userConf\CrxAgent.exe"
File "D:\DEV\CrxAgent\CrxAgent\bin\userConf\CrxAgent.exe.config"
File "D:\DEV\CrxAgent\CrxAgent\bin\userConf\agent.ico"
File "D:\DEV\CrxAgent\CrxAgent\License.txt"
File "D:\DEV\CrxAgent\CrxAgent\bin\userConf\CrxAgent.application"
File "D:\DEV\CrxAgent\CrxAgent\bin\userConf\CrxAgent.exe.manifest"
File "D:\DEV\CrxAgent\CrxAgent\bin\userConf\Newtonsoft.Json.dll"
File "D:\DEV\CrxAgent\CrxAgent\bin\userConf\Newtonsoft.Json.pdb"
File "D:\DEV\CrxAgent\CrxAgent\bin\userConf\Newtonsoft.Json.xml"
; Write the installation path into the registry
WriteRegStr HKLM SOFTWARE\NSIS_crx_agent "Install_Dir" "$INSTDIR"
; Write the uninstall keys for Windows
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\crx-agent" "DisplayName" "CrxAgent"
WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\crx-agent" "UninstallString" '"$INSTDIR\uninstall.exe"'
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\crx-agent" "NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\crx-agent" "NoRepair" 1
WriteUninstaller "$INSTDIR\uninstall.exe"
SectionEnd
; Optional section (can be disabled by the user)
Section "Start Menu Shortcuts"
CreateDirectory "$SMPROGRAMS\crx-agent"
CreateShortcut "$SMPROGRAMS\crx-agent\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
CreateShortcut "$SMPROGRAMS\crx-agent\crx-agent (MakeNSISW).lnk" "$INSTDIR\CrxAgent.exe" "" "$INSTDIR\CrxAgent.exe" 0
SectionEnd
;--------------------------------
; Uninstaller
Section "Uninstall"
; Remove registry keys
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\crx-agent"
DeleteRegKey HKLM SOFTWARE\NSIS_crx_agent
; Remove files and uninstaller
Delete $INSTDIR\CrxAgent.exe
Delete $INSTDIR\CrxAgent.exe.config
Delete $INSTDIR\agent.ico
Delete $INSTDIR\License.txt
Delete $INSTDIR\CrxAgent.application
Delete $INSTDIR\CrxAgent.exe.manifest
Delete $INSTDIR\Newtonsoft.Json.dll
Delete $INSTDIR\Newtonsoft.Json.pdb
Delete $INSTDIR\Newtonsoft.Json.xml
Delete $INSTDIR\uninstall.exe
; Remove shortcuts, if any
Delete "$SMPROGRAMS\crx-agent\*.*"
; Remove directories used
RMDir "$SMPROGRAMS\crx-agent"
RMDir "$INSTDIR"
SectionEnd
# crx-qso-agent
CRX-AGENT, is a small program who relay UDP ADIF QSO to the online app CRX-LOGBOOK.
The app can work online/offline and store QSO in TXT files before send it online.
The online part, is a JSON WEBSERVICE, and ADIF PARSOR and MYSQL QSO DB.
\ No newline at end of file
The online part, is a JSON WEBSERVICE, and ADIF PARSOR and MYSQL QSO DB.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment