You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
0 B
35 lines
0 B
15 years ago
|
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
|