Skip to content
Permalink
Browse files
fix nsis installer
git-svn-id: http://svn.osgeo.org/qgis/trunk@15643 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 30, 2011
1 parent acff0b1 commit 8e1c0b42c51acd7a34624903c3a05f7fbb05b100
Showing with 6 additions and 1 deletion.
  1. +6 −1 ms-windows/QGIS-Installer.nsi
@@ -427,7 +427,12 @@ Section "Quantum GIS" SecQGIS
nsExec::ExecToLog '"$0" /c "$INSTALL_DIR\postinstall.bat"'

!if ${INSTALLER_TYPE} == "OSGeo4W"
;IfFileExists "$INSTALL_DIR\etc\reboot" SetRebootFlag true
IfFileExists "$INSTALL_DIR\etc\reboot" RebootNecessary NoRebootNecessary

RebootNecessary:
SetRebootFlag true

NoRebootNecessary:

Delete "$DESKTOP\Quantum GIS (${VERSION_NUMBER}).lnk"
CreateShortCut "$DESKTOP\Quantum GIS (${VERSION_NUMBER}).lnk" "$INSTALL_DIR\bin\nircmd.exe" 'exec hide "$INSTALL_DIR\bin\qgis.bat"' \

0 comments on commit 8e1c0b4

Please sign in to comment.