OSDN Git Service

Installer workaround for auto-updater bug in some versions of LameXP.
authorLoRd_MuldeR <mulder2@gmx.de>
Mon, 25 Nov 2013 17:33:57 +0000 (18:33 +0100)
committerLoRd_MuldeR <mulder2@gmx.de>
Mon, 25 Nov 2013 17:33:57 +0000 (18:33 +0100)
etc/NSIS/wrapper.nsi

index 90f7d2e..1db1e45 100644 (file)
@@ -134,7 +134,6 @@ Section "-LaunchTheInstaller"
        
        InitPluginsDir
        SetOutPath "$PLUGINSDIR"
-       File "/oname=$PLUGINSDIR\LameXP-SETUP-r${LAMEXP_BUILD}.exe" "${LAMEXP_SOURCE_FILE}"
        
        ; --------
        
@@ -157,6 +156,8 @@ Section "-LaunchTheInstaller"
 
        RunTryAgain:
        
+       File "/oname=$PLUGINSDIR\LameXP-SETUP-r${LAMEXP_BUILD}.exe" "${LAMEXP_SOURCE_FILE}"
+
        DetailPrint "ExecShellWait: $PLUGINSDIR\LameXP-SETUP-r${LAMEXP_BUILD}.exe"
        ${StdUtils.ExecShellWait} $R1 "$PLUGINSDIR\LameXP-SETUP-r${LAMEXP_BUILD}.exe" "open" '$R9'
        DetailPrint "Result: $R1"