Originally committed to SVN as r519.

This commit is contained in:
Rodrigo Braz Monteiro 2006-08-07 20:52:35 +00:00
parent 0a50350c9b
commit 9e4466b64b

View file

@ -39,7 +39,7 @@ crccheck force
;Macros ;Macros
;-------------------------------- ;--------------------------------
!define AEGISUB_VERSION "1.09" !define AEGISUB_VERSION "1.10"
!define NAME "Aegisub ${AEGISUB_VERSION}" !define NAME "Aegisub ${AEGISUB_VERSION}"
!define FNAME "Aegisub-${AEGISUB_VERSION}" !define FNAME "Aegisub-${AEGISUB_VERSION}"
!define DISPLAYNAME "Aegisub ${AEGISUB_VERSION}" !define DISPLAYNAME "Aegisub ${AEGISUB_VERSION}"
@ -50,7 +50,7 @@ crccheck force
!define AVISYNTH_SOURCE_SERVER "http://files.cellosoft.com/zeratul" !define AVISYNTH_SOURCE_SERVER "http://files.cellosoft.com/zeratul"
;-------------------------------- ;--------------------------------
;Version Information ;Version Information
VIProductVersion "1.0.9.0" VIProductVersion "1.1.0.0"
VIAddVersionKey "ProductName" "Aegisub" VIAddVersionKey "ProductName" "Aegisub"
VIAddVersionKey "Comments" "Saving the world from bad typesetting." VIAddVersionKey "Comments" "Saving the world from bad typesetting."
VIAddVersionKey "CompanyName" "#aegisub" VIAddVersionKey "CompanyName" "#aegisub"
@ -319,35 +319,35 @@ SetOutPath $INSTDIR
SectionEnd SectionEnd
Section /o "Avisynth 2.5.6a Source" AVISYNTH_SOURCE_SECTION ;Section /o "Avisynth 2.5.6a Source" AVISYNTH_SOURCE_SECTION
SetOutPath $INSTDIR ;SetOutPath $INSTDIR
;
IfFileExists "$DESKTOP\${AVISYNTH_SOURCE}" lbl_avisynth_source_end ; IfFileExists "$DESKTOP\${AVISYNTH_SOURCE}" lbl_avisynth_source_end
;
GetTempFilename $R1 $TEMP ; GetTempFilename $R1 $TEMP
;
lbl_avisynth_source_dl: ; lbl_avisynth_source_dl:
Delete $R1 ; Delete $R1
NSISdl::download /TRANSLATE "Downloading ${AVISYNTH_SOURCE}" "Connecting..." "second" "minute" "hour" "s" "%dkB (%d%%) of %dkB @ %d.%01dkB/s" "(%d %s%s remaining)" "${AVISYNTH_SOURCE_SERVER}/avisynth_src.rar" "$R1" ; NSISdl::download /TRANSLATE "Downloading ${AVISYNTH_SOURCE}" "Connecting..." "second" "minute" "hour" "s" "%dkB (%d%%) of %dkB @ %d.%01dkB/s" "(%d %s%s remaining)" "${AVISYNTH_SOURCE_SERVER}/avisynth_src.rar" "$R1"
Pop $R0 ;Get the return value ; Pop $R0 ;Get the return value
StrCmp $R0 "success" lbl_avisynth_source_success lbl_avisynth_source_fail ; StrCmp $R0 "success" lbl_avisynth_source_success lbl_avisynth_source_fail
lbl_avisynth_source_fail: ; lbl_avisynth_source_fail:
MessageBox MB_ABORTRETRYIGNORE "Download failed: $R0" IDIGNORE lbl_avisynth_source_ignore IDRETRY lbl_avisynth_source_dl ; MessageBox MB_ABORTRETRYIGNORE "Download failed: $R0" IDIGNORE lbl_avisynth_source_ignore IDRETRY lbl_avisynth_source_dl
goto lbl_avisynth_source_abort ; goto lbl_avisynth_source_abort
lbl_avisynth_source_success: ; lbl_avisynth_source_success:
Rename $R1 "$DESKTOP\${AVISYNTH_SOURCE}" ; Rename $R1 "$DESKTOP\${AVISYNTH_SOURCE}"
goto lbl_avisynth_source_end ; goto lbl_avisynth_source_end
;
lbl_avisynth_source_ignore: ; lbl_avisynth_source_ignore:
Delete $R1 ; Delete $R1
goto lbl_avisynth_source_end ; goto lbl_avisynth_source_end
;
lbl_avisynth_source_abort: ; lbl_avisynth_source_abort:
Delete $R1 ; Delete $R1
quit ; quit
;
lbl_avisynth_source_end: ; lbl_avisynth_source_end:
SectionEnd ;SectionEnd
SectionGroupEnd SectionGroupEnd
;************************************************************************************ ;************************************************************************************
@ -377,11 +377,11 @@ RMDir "$INSTDIR\autoback"
Delete "$INSTDIR\automation\automation-lua.txt" Delete "$INSTDIR\automation\automation-lua.txt"
;include ;include
Delete "$INSTDIR\automation\include\readme.txt" ;Delete "$INSTDIR\automation\include\readme.txt"
Delete "$INSTDIR\automation\include\utils.lua" ;Delete "$INSTDIR\automation\include\utils.lua"
Delete "$INSTDIR\automation\include\karaskel.lua" ;Delete "$INSTDIR\automation\include\karaskel.lua"
Delete "$INSTDIR\automation\include\karaskel-adv.lua" ;Delete "$INSTDIR\automation\include\karaskel-adv.lua"
RMDir "$INSTDIR\automation\include" RMDir /r "$INSTDIR\automation\include"
;factorybrew ;factorybrew
RMDir /r "$INSTDIR\automation\factorybrew" RMDir /r "$INSTDIR\automation\factorybrew"