diff options
| author | Keith Packard <keithp@keithp.com> | 2010-11-27 22:35:18 -0800 |
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2010-11-27 22:35:18 -0800 |
| commit | 641c5373724d34c3adfcf42420a528d6bba736b9 (patch) | |
| tree | 294668c59064b8fd39d1bde1e46be4de06315a44 /altosui | |
| parent | cd414e2c04ce5ecbc75f19325a6d6f82cd489fb3 (diff) | |
windows: try harder to get windows install to work
Add devIDs to .nsi file. Fix install section name mapping from the
hot-plug info.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui')
| -rw-r--r-- | altosui/altos-windows.nsi | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/altosui/altos-windows.nsi b/altosui/altos-windows.nsi index 7cf51212..0e985967 100644 --- a/altosui/altos-windows.nsi +++ b/altosui/altos-windows.nsi @@ -31,15 +31,34 @@ UninstPage instfiles ; And the stuff to install Section "Install Driver" InstDriver + InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000A + Pop $0 + DetailPrint "InitDriverSetup: $0" + InstDrv::DeleteOemInfFiles /NOUNLOAD + InstDrv::CreateDevice /NOUNLOAD + InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000B + Pop $0 + DetailPrint "InitDriverSetup: $0" + InstDrv::DeleteOemInfFiles /NOUNLOAD + InstDrv::CreateDevice /NOUNLOAD + 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" + InstDrv::DeleteOemInfFiles /NOUNLOAD + InstDrv::CreateDevice /NOUNLOAD + InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000D + Pop $0 + DetailPrint "InitDriverSetup: $0" InstDrv::DeleteOemInfFiles /NOUNLOAD InstDrv::CreateDevice /NOUNLOAD + + SetOutPath $WINDIR\Inf + File "../telemetrum.inf" + SetOutPath $TEMP File "../telemetrum.inf" InstDrv::InstallDriver /NOUNLOAD "$TEMP\telemetrum.inf" |
