From 13179f614a99cad3016832ac1b365eaa4208c10f Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Wed, 4 May 2016 23:56:44 -0700 Subject: [PATCH] micropeak: Change order of windows install so that java detect works I have no idea why this matters, but if you run the FTDI script before trying to detect java, then the javaw.exe program isn't found and java detection fails. Signed-off-by: Keith Packard --- micropeak/micropeak-windows.nsi.in | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/micropeak/micropeak-windows.nsi.in b/micropeak/micropeak-windows.nsi.in index c3b63f7b..34f5908d 100644 --- a/micropeak/micropeak-windows.nsi.in +++ b/micropeak/micropeak-windows.nsi.in @@ -62,15 +62,6 @@ UninstPage instfiles ; And the stuff to install -Section "FTDI USB Driver" - SetOutPath $INSTDIR - - File "CDM_v2.12.00_WHQL_Certified.exe" - - StrCpy $2 "$INSTDIR\CDM_v2.12.00_WHQL_Certified.exe" - ExecWait $2 -SectionEnd - Section "Install Driver" InstDriver InstDrv::InitDriverSetup /NOUNLOAD {4D36E96D-E325-11CE-BFC1-08002BE10318} AltusMetrumSerial @@ -117,6 +108,15 @@ Section "${REG_NAME} Desktop Shortcut" CreateShortCut "$DESKTOP\${REG_NAME}.lnk" "$INSTDIR\${WIN_APP_EXE}" "" "$INSTDIR\${WIN_APP_ICON}" SectionEnd +Section "FTDI USB Driver" + SetOutPath $INSTDIR + + File "CDM_v2.12.00_WHQL_Certified.exe" + + StrCpy $2 "$INSTDIR\CDM_v2.12.00_WHQL_Certified.exe" + ExecWait $2 +SectionEnd + Section "Documentation" SetOutPath $INSTDIR -- 2.30.2