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
0fd4d7b0
Unverified
Commit
0fd4d7b0
authored
Feb 09, 2020
by
Don Gagne
Committed by
GitHub
Feb 09, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8299 from DonLakeFlyer/Drivers
Windows: Driver update
parents
9505896d
513ab1ed
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
driver-msi-README.md
deploy/driver-msi-README.md
+1
-0
driver.msi
deploy/driver.msi
+0
-0
qgroundcontrol_installer.nsi
deploy/qgroundcontrol_installer.nsi
+3
-3
No files found.
deploy/driver-msi-README.md
0 → 100644
View file @
0fd4d7b0
The driver.msi file is pulled from https://firmware.ardupilot.org/Tools/MissionPlanner/driver.msi
\ No newline at end of file
deploy/driver.msi
View file @
0fd4d7b0
No preview for this file type
deploy/qgroundcontrol_installer.nsi
View file @
0fd4d7b0
...
...
@@ -98,7 +98,7 @@ doInstall:
; QGC stores its own driver version key to prevent installation if already up to date
; This prevents running the driver install a second time which will start up in repair mode which is confusing
!define QGCDRIVERVERSIONKEY "SOFTWARE\QGroundControlUAVDrivers"
!define QGCCURRENTDRIVERVERSION
1
!define QGCCURRENTDRIVERVERSION
2
; If the drivers are already installed the key "HKCU/SOFTWARE\MichaelOborne\driver\installed" will be present and set to 1
SetRegView 64
...
...
@@ -109,7 +109,7 @@ doInstall:
driversInstalled:
DetailPrint "UAV Drivers already installed. Checking version..."
; Check if the installed drivers are out of date.
;
Latest version is tagged as 1.
Missing key also indicates out of date driver install.
; Missing key also indicates out of date driver install.
ReadRegDWORD $0 HKCU "${QGCDRIVERVERSIONKEY}" "version"
IntCmp $0 ${QGCCURRENTDRIVERVERSION} done driversOutOfDate done
...
...
@@ -126,7 +126,7 @@ installDrivers:
DetailPrint "Installing UAV Drivers..."
ExecWait '"msiexec" /i "driver.msi"'
; Set current driver version value
WriteRegDWORD HKCU "${QGCDRIVERVERSIONKEY}" "version"
1
WriteRegDWORD HKCU "${QGCDRIVERVERSIONKEY}" "version"
${QGCCURRENTDRIVERVERSION}
goto done
done:
...
...
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