aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/installer/vcxsrv.nsi
diff options
context:
space:
mode:
authorMike DePaulo <mikedep333@gmail.com>2015-05-03 20:10:38 -0400
committerMike DePaulo <mikedep333@gmail.com>2015-05-03 20:10:38 -0400
commit803a88995f061ac4d39ab9da84855aa241f38956 (patch)
treee481028b5005b9477a8eead2c583066446512674 /xorg-server/installer/vcxsrv.nsi
parent48f4bf187e958a13d57eea3f41eeab7c26c66806 (diff)
downloadvcxsrv-803a88995f061ac4d39ab9da84855aa241f38956.tar.gz
vcxsrv-803a88995f061ac4d39ab9da84855aa241f38956.tar.bz2
vcxsrv-803a88995f061ac4d39ab9da84855aa241f38956.zip
Add extra info to installer and change name
Diffstat (limited to 'xorg-server/installer/vcxsrv.nsi')
-rw-r--r--xorg-server/installer/vcxsrv.nsi19
1 files changed, 15 insertions, 4 deletions
diff --git a/xorg-server/installer/vcxsrv.nsi b/xorg-server/installer/vcxsrv.nsi
index 8ee07ca54..b948a11af 100644
--- a/xorg-server/installer/vcxsrv.nsi
+++ b/xorg-server/installer/vcxsrv.nsi
@@ -17,11 +17,16 @@
*/
;--------------------------------
+!define NAME_STRING "VcXsrv (X2Go/Arctica Builds)"
+!define VERSION "1.15.2.5"
+!define UNINSTALL_PUBLISHER "X2Go & Arctica Projects"
+!define UNINSTALL_URL "https://github.com/ArcticaProject/vcxsrv"
+
; The name of the installer
-Name "VcXsrv (X2Go/Arctica Builds)"
+Name "${NAME_STRING}"
; The file to write
-OutFile "vcxsrv.1.15.2.5.x2go+arctica.installer.exe"
+OutFile "vcxsrv.${VERSION}.x2go+arctica.installer.exe"
; The default installation directory
InstallDir $PROGRAMFILES32\VcXsrv
@@ -123,8 +128,14 @@ Section "VcXsrv (required)"
WriteRegStr HKLM SOFTWARE\VcXsrv "Install_Dir" "$INSTDIR"
; Write the uninstall keys for Windows
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "DisplayName" "VcXsrv"
- WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "UninstallString" '"$INSTDIR\uninstall.exe"'
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "DisplayIcon" "$INSTDIR\vcxsrv.exe"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "DisplayName" "${NAME_STRING}"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "DisplayVersion" "${VERSION}"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "Publisher" "${UNINSTALL_PUBLISHER}}"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "UninstallString" "$INSTDIR\uninstall.exe"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "HelpLink" "${UNINSTALL_URL}"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "URLInfoAbout" "${UNINSTALL_URL}"
+ WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "URLUpdateInfo" "${UNINSTALL_URL}"
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "NoModify" 1
WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\VcXsrv" "NoRepair" 1
WriteUninstaller "uninstall.exe"