Skip to content
Permalink
Browse files
fix nsis installer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15643 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 30, 2011
1 parent 3bd539e commit 597a601f45e9c0da638478b53c070ce873efa400
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 597a601

Please sign in to comment.