Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
840f4484
Commit
840f4484
authored
Feb 04, 2016
by
Nate Weibley
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update NSIS installer to modern UI
parent
7d4452f0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
11 deletions
+18
-11
qgroundcontrol_installer.nsi
deploy/qgroundcontrol_installer.nsi
+18
-11
installheader.bmp
installheader.bmp
+0
-0
No files found.
deploy/qgroundcontrol_installer.nsi
View file @
840f4484
!include "MUI2.nsh"
Name "QGroundcontrol"
Name "QGroundcontrol"
Var StartMenuFolder
InstallDir $PROGRAMFILES\qgroundcontrol
InstallDir $PROGRAMFILES\qgroundcontrol
Page license
!define MUI_HEADERIMAGE
Page directory
!define MUI_HEADERIMAGE_BITMAP "installheader.bmp";
Page components
Page instfiles
!insertmacro MUI_PAGE_LICENSE "license.txt"
UninstPage uninstConfirm
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder
UninstPage instfiles
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
LicenseData license.txt
!insertmacro MUI_LANGUAGE "English"
Section
Section
SetOutPath $INSTDIR
SetOutPath $INSTDIR
...
@@ -50,10 +57,10 @@ done:
...
@@ -50,10 +57,10 @@ done:
SectionEnd
SectionEnd
Section "Uninstall"
Section "Uninstall"
!insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
SetShellVarContext all
SetShellVarContext all
Delete $INSTDIR\QGroundControl_uninstall.exe
RMDir /r /REBOOTOK $INSTDIR
RMDir /r /REBOOTOK $INSTDIR
RMDir /r /REBOOTOK "$SMPROGRAMS\
QGroundControl
\"
RMDir /r /REBOOTOK "$SMPROGRAMS\
$StartMenuFolder
\"
SetShellVarContext current
SetShellVarContext current
RMDir /r /REBOOTOK "$APPDATA\QGROUNDCONTROL.ORG\"
RMDir /r /REBOOTOK "$APPDATA\QGROUNDCONTROL.ORG\"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QGroundControl"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QGroundControl"
...
@@ -61,8 +68,8 @@ SectionEnd
...
@@ -61,8 +68,8 @@ SectionEnd
Section "create Start Menu Shortcuts"
Section "create Start Menu Shortcuts"
SetShellVarContext all
SetShellVarContext all
CreateDirectory "$SMPROGRAMS\
QGroundControl
"
CreateDirectory "$SMPROGRAMS\
$StartMenuFolder
"
CreateShortCut "$SMPROGRAMS\
QGroundControl
\QGroundControl.lnk" "$INSTDIR\qgroundcontrol.exe" "" "$INSTDIR\qgroundcontrol.exe" 0
CreateShortCut "$SMPROGRAMS\
$StartMenuFolder
\QGroundControl.lnk" "$INSTDIR\qgroundcontrol.exe" "" "$INSTDIR\qgroundcontrol.exe" 0
SectionEnd
SectionEnd
Function .onInit
Function .onInit
...
...
installheader.bmp
0 → 100644
View file @
840f4484
25.2 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment