[qet] [4104] Nsis Installers : minor improvements |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/qet Archives
]
Revision: 4104
Author: scorpio810
Date: 2015-08-12 02:39:02 +0200 (Wed, 12 Aug 2015)
Log Message:
-----------
Nsis Installers : minor improvements
Modified Paths:
--------------
trunk/packaging/windows/QET.nsi
trunk/packaging/windows/QET64.nsi
Modified: trunk/packaging/windows/QET.nsi
===================================================================
--- trunk/packaging/windows/QET.nsi 2015-08-11 18:19:03 UTC (rev 4103)
+++ trunk/packaging/windows/QET.nsi 2015-08-12 00:39:02 UTC (rev 4104)
@@ -5,6 +5,7 @@
;--------------------------------
;Include Modern UI
+
;!include "UMUI.nsh"
!include "MUI2.nsh"
!include "FileFunc.nsh"
@@ -20,7 +21,7 @@
;General
; General Product Description Definitions
!define SOFT_NAME "QElectroTech"
- !define SOFT_VERSION "0.5-dev+4094"
+ !define SOFT_VERSION "0.5-dev+4103"
!define SOFT_WEB_SITE "http://qelectrotech.org/"
!define SOFT_BUILD "1"
@@ -210,17 +211,18 @@
; shortcuts in the start menu
CreateDirectory "$SMPROGRAMS\${SOFT_NAME}"
CreateDirectory "$SMPROGRAMS\${SOFT_NAME}\Manual"
+ CreateDirectory "$SMPROGRAMS\${SOFT_NAME}\Upgrade"
CreateShortCut "$SMPROGRAMS\${SOFT_NAME}\QElectroTech.lnk" "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\ico\qelectrotech.ico"
CreateShortCut "$SMPROGRAMS\${SOFT_NAME}\Uninstall QElectroTech.lnk" "$INSTDIR\Uninstall.exe"
- ; TODO : add the QuickStart Guide (or any other documentation) when available
; shortcut on the desktop
CreateShortCut "$DESKTOP\QElectroTech.lnk" "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\ico\qelectrotech.ico"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_English.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/joshua/html/QET.html"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_Russian.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/joshua/html/QET_ru.html"
- WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Download.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/builds/"
+ WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Upgrade\Download.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/builds/"
;changing $INSTDIR\elements\ *.elmt to read-only attribute
+
${Locate} "$INSTDIR\elements\" "/L=FD /M=*.elmt" "LocateCallback"
IfErrors 0 +2
MessageBox MB_OK "Error"
Modified: trunk/packaging/windows/QET64.nsi
===================================================================
--- trunk/packaging/windows/QET64.nsi 2015-08-11 18:19:03 UTC (rev 4103)
+++ trunk/packaging/windows/QET64.nsi 2015-08-12 00:39:02 UTC (rev 4104)
@@ -221,6 +221,7 @@
; shortcuts in the start menu
CreateDirectory "$SMPROGRAMS\${SOFT_NAME}"
CreateDirectory "$SMPROGRAMS\${SOFT_NAME}\Manual"
+ CreateDirectory "$SMPROGRAMS\${SOFT_NAME}\Upgrade"
CreateShortCut "$SMPROGRAMS\${SOFT_NAME}\QElectroTech.lnk" "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\ico\qelectrotech.ico"
CreateShortCut "$SMPROGRAMS\${SOFT_NAME}\Uninstall QElectroTech.lnk" "$INSTDIR\Uninstall.exe"
; TODO : add the QuickStart Guide (or any other documentation) when available
@@ -229,9 +230,10 @@
CreateShortCut "$DESKTOP\QElectroTech.lnk" "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\ico\qelectrotech.ico"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_English.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/joshua/html/QET.html"
WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Manual\Manual_Russian.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/joshua/html/QET_ru.html"
- WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Download.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/builds/"
+ WriteINIStr "$SMPROGRAMS\${SOFT_NAME}\Upgrade\Download.url" "InternetShortcut" "URL" "http://download.tuxfamily.org/qet/builds/"
;changing $INSTDIR\elements\ *.elmt to read-only attribute
+
${Locate} "$INSTDIR\elements\" "/L=FD /M=*.elmt" "LocateCallback"
IfErrors 0 +2
MessageBox MB_OK "Error"