Skip to content

Commit ab93815

Browse files
author
jef
committedAug 13, 2010
include windows installer updates
git-svn-id: http://svn.osgeo.org/qgis/branches/Release-1_5_0@14076 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent bab2337 commit ab93815

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed
 

‎ms-windows/QGIS-Installer.nsi

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RequestExecutionLevel admin
3838

3939
;NSIS Includes
4040

41-
!include "MUI2.nsh"
41+
!include "MUI.nsh"
4242
!include "LogicLib.nsh"
4343

4444
;----------------------------------------------------------------------------------------------------------------------------
@@ -89,6 +89,7 @@ RequestExecutionLevel admin
8989
!define INSTALLER_DISPLAYED_NAME "${DISPLAYED_NAME}"
9090

9191
!addplugindir osgeo4w/untgz
92+
!addplugindir osgeo4w/nsis
9293
!endif
9394

9495
;----------------------------------------------------------------------------------------------------------------------------
@@ -282,6 +283,7 @@ FunctionEnd
282283

283284
;Installer Pages
284285

286+
!define MUI_WELCOMEPAGE_TITLE_3LINES
285287
!insertmacro MUI_PAGE_WELCOME
286288
!insertmacro MUI_PAGE_LICENSE ".\Installer-Files\LICENSE.txt"
287289

@@ -295,6 +297,7 @@ FunctionEnd
295297
!insertmacro MUI_UNPAGE_WELCOME
296298
!insertmacro MUI_UNPAGE_CONFIRM
297299
!insertmacro MUI_UNPAGE_INSTFILES
300+
!define MUI_FINISHPAGE_TITLE_3LINES
298301
!insertmacro MUI_UNPAGE_FINISH
299302

300303
;----------------------------------------------------------------------------------------------------------------------------
@@ -400,7 +403,7 @@ Section "Quantum GIS" SecQGIS
400403
SetShellVarContext current
401404

402405
!if ${INSTALLER_TYPE} == "OSGeo4W"
403-
CreateShortCut "$DESKTOP\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\nircmd.exe" 'exec hide "$INSTALL_DIR\bin\qgis-dev.bat"' \
406+
CreateShortCut "$DESKTOP\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\nircmd.exe" 'exec hide "$INSTALL_DIR\bin\qgis.bat"' \
404407
"$INSTALL_DIR\icons\QGIS.ico" "" SW_SHOWNORMAL "" "Launch ${COMPLETE_NAME}"
405408
!else
406409
CreateShortCut "$DESKTOP\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\qgis.exe" ""\
@@ -413,7 +416,7 @@ Section "Quantum GIS" SecQGIS
413416
CreateDirectory "$SMPROGRAMS\${QGIS_BASE}"
414417

415418
!if ${INSTALLER_TYPE} == "OSGeo4W"
416-
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\nircmd.exe" 'exec hide "$INSTALL_DIR\bin\qgis-dev.bat"' \
419+
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\nircmd.exe" 'exec hide "$INSTALL_DIR\bin\qgis.bat"' \
417420
"$INSTALL_DIR\icons\QGIS.ico" "" SW_SHOWNORMAL "" "Launch ${COMPLETE_NAME}"
418421
!else
419422
CreateShortCut "$SMPROGRAMS\${QGIS_BASE}\${QGIS_BASE}.lnk" "$INSTALL_DIR\bin\qgis.exe" ""\

‎ms-windows/osgeo4w/creatensis.pl

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ sub getDeps {
5252
}
5353
}
5454

55-
getDeps("qgis-dev");
55+
getDeps("qgis-full");
5656

5757
if(-f "../addons/bin/NCSEcw.dll") {
5858
print "Enabling ECW support...\n";
@@ -64,9 +64,6 @@ sub getDeps {
6464
getDeps("gdal16-mrsid")
6565
}
6666

67-
delete $pkgs{"qgis-dev"};
68-
69-
7067
foreach my $p ( keys %pkgs ) {
7168
$f = "$root/$file{$p}";
7269
$f =~ s/\/\.\//\//g;
@@ -106,7 +103,7 @@ sub getDeps {
106103

107104
system "cd apps/nircmd; unzip ../../../packages/nircmd.zip && mv nircmd.exe ../../bin";
108105

109-
system "tar -C ../addons -cf . | tar -xf -" if -d "../addons";
106+
system "tar -C ../addons -cf - . | tar -xf -" if -d "../addons";
110107

111108
chdir "..";
112109
}
@@ -195,6 +192,8 @@ sub getDeps {
195192
$revision =~ s/\D+$//g;
196193
close F;
197194

195+
system "unzip packages/Untgz.zip" unless -d "untgz";
196+
198197
chdir "..";
199198

200199
my $cmd = "makensis";

‎ms-windows/osgeo4w/package.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ set PACKAGE=%2
1414
set PACKAGENAME=%3
1515
if "%VERSION%"=="" goto error
1616
if "%PACKAGE%"=="" goto error
17-
if "%PACKAGENAME%"=="" set PACKAGENAME=qgis-dev
17+
if "%PACKAGENAME%"=="" set PACKAGENAME=qgis
1818

1919
path %SYSTEMROOT%\system32;%SYSTEMROOT%;%SYSTEMROOT%\System32\Wbem;%PROGRAMFILES%\CMake 2.6\bin
2020
set PYTHONPATH=

0 commit comments

Comments
 (0)
Please sign in to comment.