Skip to content

Commit

Permalink
Added Windows icon and NSIS script from Hendrik
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzMeier committed May 8, 2010
1 parent 8556a2a commit b16faf1
Show file tree
Hide file tree
Showing 13 changed files with 232 additions and 0 deletions.
35 changes: 35 additions & 0 deletions deploy/qgroundcontrol_installer.nsi
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Name "QGroundcontrol"

OutFile "qgroundcontrol-installer-win32.exe"

InstallDir $PROGRAMFILES\qgroundcontrol

Page license
Page directory
Page components
Page instfiles
UninstPage uninstConfirm
UninstPage instfiles

LicenseData ..\license.txt

Section ""

SetOutPath $INSTDIR
File qgroundcontrol\*.*
WriteUninstaller $INSTDIR\QGroundcontrol_uninstall.exe
SectionEnd

Section "Uninstall"
Delete $INSTDIR\QGroundcontrol_uninstall.exe
Delete $INSTDIR\*.*
RMDir $INSTDIR
Delete "$SMPROGRAMS\QGroundcontrol\*.*"
RMDir "$SMPROGRAMS\QGroundcontrol\"
SectionEnd

Section "create Start Menu Shortcuts"
CreateDirectory "$SMPROGRAMS\QGroundcontrol"
CreateShortCut "$SMPROGRAMS\QGroundcontrol\uninstall.lnk" "$INSTDIR\QGroundcontrol_uninstall.exe" "" "$INSTDIR\QGroundcontrol_uninstall.exe" 0
CreateShortCut "$SMPROGRAMS\QGroundcontrol\QGroundcontrol.lnk" "$INSTDIR\qgroundcontrol.exe" "" "$INSTDIR\qgroundcontrol.exe" 0
SectionEnd
Binary file added images/icons/qgroundcontrol.ico
Binary file not shown.
Binary file added images/icons/v2/t.ico
Binary file not shown.
Binary file added images/icons/v2/t128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/v2/t16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/v2/t24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/v2/t256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/v2/t32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/v2/t48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/icons/v2/t64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
195 changes: 195 additions & 0 deletions license.txt

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions qgroundcontrol.pri
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ win32 {
DESTDIR = $$BASEDIR/bin
}

RC_FILE = $$BASEDIR/qgroundcontrol.rc
}


Expand Down
1 change: 1 addition & 0 deletions qgroundcontrol.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IDI_ICON1 ICON DISCARDABLE "images/icons/qgroundcontrol.ico"

0 comments on commit b16faf1

Please sign in to comment.