projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
windows: try harder to get windows install to work
[fw/altos]
/
altosui
/
altos-windows.nsi
diff --git
a/altosui/altos-windows.nsi
b/altosui/altos-windows.nsi
index 7cf51212175fe32b09e981daebbbdcdeb9844362..0e9859675a54146477525f74af29e8539294995a 100644
(file)
--- 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
; And the stuff to install
Section "Install Driver" InstDriver
+
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_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
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_000C
- InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} USB\VID_FFFE&PID_000D
Pop $0
DetailPrint "InitDriverSetup: $0"
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
InstDrv::DeleteOemInfFiles /NOUNLOAD
InstDrv::CreateDevice /NOUNLOAD
+
+ SetOutPath $WINDIR\Inf
+ File "../telemetrum.inf"
+
SetOutPath $TEMP
File "../telemetrum.inf"
InstDrv::InstallDriver /NOUNLOAD "$TEMP\telemetrum.inf"
SetOutPath $TEMP
File "../telemetrum.inf"
InstDrv::InstallDriver /NOUNLOAD "$TEMP\telemetrum.inf"