[qet] [4106] Nsis Installers : QET.nsi fix icons path if 32 bits package is installed on Windows 64 bits

[ Thread Index | Date Index | More lists.tuxfamily.org/qet Archives ]


Revision: 4106
Author:   scorpio810
Date:     2015-08-12 17:44:13 +0200 (Wed, 12 Aug 2015)
Log Message:
-----------
Nsis Installers : QET.nsi fix icons path if 32 bits package is installed on Windows 64 bits

Modified Paths:
--------------
    trunk/packaging/windows/QET.nsi

Modified: trunk/packaging/windows/QET.nsi
===================================================================
--- trunk/packaging/windows/QET.nsi	2015-08-12 02:57:17 UTC (rev 4105)
+++ trunk/packaging/windows/QET.nsi	2015-08-12 15:44:13 UTC (rev 4106)
@@ -188,9 +188,9 @@
 	Var /GLOBAL final_titleblock_ico
 
 	StrCpy $final_qet_exe     "$INSTDIR\Lancer QET.bat"
-	StrCpy $final_project_ico "$INSTDIR\ico\application-x-qet-project.ico"
-	StrCpy $final_element_ico "$INSTDIR\ico\application-x-qet-element.ico"
-	StrCpy $final_titleblock_ico "$INSTDIR\ico\application-x-qet-titleblock.ico"
+	StrCpy $final_project_ico "$INSTDIR\\ico\application-x-qet-project.ico"
+	StrCpy $final_element_ico "$INSTDIR\\ico\application-x-qet-element.ico"
+	StrCpy $final_titleblock_ico "$INSTDIR\\ico\application-x-qet-titleblock.ico"
 	
 	; write file associations registry keys
 	WriteRegStr   HKEY_CLASSES_ROOT "Applications\qelectrotech.exe\shell\open\command" ""             "$\"$final_qet_exe$\" $\"%1$\""
@@ -212,7 +212,7 @@
 	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}\QElectroTech.lnk"           "$INSTDIR\Lancer QET.bat" 0 "$INSTDIR\\ico\qelectrotech.ico"
 	CreateShortCut  "$SMPROGRAMS\${SOFT_NAME}\Uninstall QElectroTech.lnk" "$INSTDIR\Uninstall.exe"
 	
 	; shortcut on the desktop


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/