summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-11-27 16:30:29 -0800
committerKeith Packard <keithp@keithp.com>2010-11-27 16:30:29 -0800
commitcd414e2c04ce5ecbc75f19325a6d6f82cd489fb3 (patch)
tree770925ebdbc703d2ec6d0af8b44939bae5bae3dc
parentf834b22905db87557f729f942607dc363b013694 (diff)
altosui: Correct windows hardware IDs for nsis installer file
Need real hardware IDs (encoded USB ids) to get windows to auto-install the driver? Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--altosui/altos-windows.nsi10
1 files changed, 8 insertions, 2 deletions
diff --git a/altosui/altos-windows.nsi b/altosui/altos-windows.nsi
index d7c4b32a..7cf51212 100644
--- a/altosui/altos-windows.nsi
+++ b/altosui/altos-windows.nsi
@@ -31,7 +31,10 @@ UninstPage instfiles
; And the stuff to install
Section "Install Driver" InstDriver
- InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} "Altus Metrum"
+ InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000A
+ InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000B
+ InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000C
+ InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000D
Pop $0
DetailPrint "InitDriverSetup: $0"
@@ -103,7 +106,10 @@ Section "Uninstall"
RMDir "$INSTDIR"
; Remove devices
- InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} "Altus Metrum"
+ InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000A
+ InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000B
+ InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000C
+ InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000D
InstDrv::DeleteOemInfFiles /NOUNLOAD
InstDrv::RemoveAllDevices