projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/telelco: Make the RSSI led turn red when no packet is received
[fw/altos]
/
altosui
/
altos-windows.nsi
diff --git
a/altosui/altos-windows.nsi
b/altosui/altos-windows.nsi
index 92c985a9550db170274d78300a40dc4931b9c6e6..20dd65f04baa976a7e9ee49fe74f1da9388588bc 100644
(file)
--- a/
altosui/altos-windows.nsi
+++ b/
altosui/altos-windows.nsi
@@
-1,6
+1,7
@@
!addplugindir Instdrv/NSIS/Plugins
; Definitions for Java 1.6 Detection
!define JRE_VERSION "1.6"
!addplugindir Instdrv/NSIS/Plugins
; Definitions for Java 1.6 Detection
!define JRE_VERSION "1.6"
+!define JRE_ALTERNATE "1.7"
!define JRE_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=52247&/jre-6u27-windows-i586-p.exe"
!define PRODUCT_NAME "Altus Metrum Windows Software"
!define JRE_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=52247&/jre-6u27-windows-i586-p.exe"
!define PRODUCT_NAME "Altus Metrum Windows Software"
@@
-42,6
+43,8
@@
Function DetectJRE
"CurrentVersion"
StrCmp $2 ${JRE_VERSION} done
"CurrentVersion"
StrCmp $2 ${JRE_VERSION} done
+ StrCmp $2 ${JRE_ALTERNATE} done
+
Call GetJRE
done:
Call GetJRE
done:
@@
-85,6
+88,7
@@
Section "AltosUI Application"
SetOutPath $INSTDIR
File "altosui-fat.jar"
SetOutPath $INSTDIR
File "altosui-fat.jar"
+ File "AltosLib.jar"
File "cmudict04.jar"
File "cmulex.jar"
File "cmu_time_awb.jar"
File "cmudict04.jar"
File "cmulex.jar"
File "cmu_time_awb.jar"
@@
-154,6
+158,9
@@
Section "Uninstall"
Delete "$INSTDIR\*.*"
RMDir "$INSTDIR"
Delete "$INSTDIR\*.*"
RMDir "$INSTDIR"
+ ; Remove .inf file
+ Delete "$WINDIR\Inf\telemetrum.inf"
+
; Remove devices
InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} AltusMetrumSerial
InstDrv::DeleteOemInfFiles /NOUNLOAD
; Remove devices
InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} AltusMetrumSerial
InstDrv::DeleteOemInfFiles /NOUNLOAD
@@
-162,4
+169,5
@@
Section "Uninstall"
; Remove shortcuts, if any
Delete "$SMPROGRAMS\AltusMetrum.lnk"
Delete "$DESKTOP\AltusMetrum.lnk"
; Remove shortcuts, if any
Delete "$SMPROGRAMS\AltusMetrum.lnk"
Delete "$DESKTOP\AltusMetrum.lnk"
+
SectionEnd
SectionEnd