OSDN Git Service

Updated installer code for new StdUtils version.
authorLoRd_MuldeR <mulder2@gmx.de>
Sat, 7 Dec 2013 14:55:44 +0000 (15:55 +0100)
committerLoRd_MuldeR <mulder2@gmx.de>
Sat, 7 Dec 2013 14:55:44 +0000 (15:55 +0100)
etc/NSIS/wrapper.nsi

index d450a55..118a304 100644 (file)
@@ -164,15 +164,15 @@ Section "-LaunchTheInstaller"
                File "/oname=${InstallerFileName}" "${LAMEXP_SOURCE_FILE}"
                
                DetailPrint "ExecShellWait: ${InstallerFileName}"
-               ${StdUtils.ExecShellWait} $R1 "${InstallerFileName}" "open" '$R9'
-               DetailPrint "Result: $R1"
+               ${StdUtils.ExecShellWaitEx} $R1 $R2 "${InstallerFileName}" "open" '$R9'
+               DetailPrint "Result: $R1 ($R2)"
                
                ${IfThen} $R1 == "no_wait" ${|} Goto RunSuccess ${|}
                
-               ${If} $R1 != "error"
+               ${If} $R1 == "ok"
                        Sleep 333
                        HideWindow
-                       ${StdUtils.WaitForProc} $R1
+                       ${StdUtils.WaitForProcEx} $R1 $R2
                        Goto RunSuccess
                ${EndIf}