Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
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
Merge pull request #8299 from DonLakeFlyer/Drivers
Windows: Driver update
parents
9505896d
513ab1ed
Changes
3
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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