altosui: Correct windows hardware IDs for nsis installer file
authorKeith Packard <keithp@keithp.com>
Sun, 28 Nov 2010 00:30:29 +0000 (16:30 -0800)
committerKeith Packard <keithp@keithp.com>
Sun, 28 Nov 2010 00:30:29 +0000 (16:30 -0800)
Need real hardware IDs (encoded USB ids) to get windows to
auto-install the driver?

Signed-off-by: Keith Packard <keithp@keithp.com>
altosui/altos-windows.nsi

index d7c4b32a4b20a5031516217cf4bd61da32a71dcb..7cf51212175fe32b09e981daebbbdcdeb9844362 100644 (file)
@@ -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