OSDN Git Service

WinGui:
[handbrake-jp/handbrake-jp-git.git] / win / C# / Installer / Installer.nsi
index 4b1e7de..5f0cad7 100644 (file)
@@ -8,7 +8,8 @@
 \r
 ; HM NIS Edit Wizard helper defines\r
 !define PRODUCT_NAME "Handbrake"\r
-!define PRODUCT_VERSION "0.9.4"\r
+!define PRODUCT_VERSION "SVN 2754 Snapshot"\r
+!define PRODUCT_VERSION_NUMBER "svn2754"\r
 !define PRODUCT_DIR_REGKEY "Software\Microsoft\Windows\CurrentVersion\App Paths\Handbrake.exe"\r
 !define PRODUCT_UNINST_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"\r
 !define PRODUCT_UNINST_ROOT_KEY "HKLM"\r
@@ -44,7 +45,7 @@ SetCompressor lzma
 ; MUI end ------\r
 \r
 Name "${PRODUCT_NAME} ${PRODUCT_VERSION}"\r
-OutFile "Handbrake-Setup.exe"\r
+OutFile "HandBrake-${PRODUCT_VERSION_NUMBER}-Win_GUI_CLI.exe"\r
 \r
 !include WordFunc.nsh\r
 !insertmacro VersionCompare\r
@@ -55,7 +56,7 @@ Function .onInit
   Call GetDotNETVersion\r
   Pop $0\r
   ${If} $0 == "not found"\r
-    MessageBox MB_OK|MB_ICONSTOP ".NET runtime library is not installed. $\r$\n You can download .Net Framework 3.5 from the microsoft website. $\r$\n Alternatively you can use google for a direct download URL"\r
+    MessageBox MB_OK|MB_ICONSTOP ".NET runtime library is not installed. $\r$\n You can download .Net Framework 2.0 redistributable from the microsoft website. $\r$\n Alternatively you can use google for a direct download URL"\r
     Abort\r
   ${EndIf}\r
 \r
@@ -63,7 +64,7 @@ Function .onInit
 \r
   ${VersionCompare} $0 "2.0" $1\r
   ${If} $1 == 2\r
-    MessageBox MB_OK|MB_ICONSTOP ".NET runtime library v3.5 or newer is required. You have $0. $\r$\n You can download .Net Framework 3.5 from the Microsoft website. $\r$\n Alternatively you can use google for a direct download URL"\r
+    MessageBox MB_OK|MB_ICONSTOP ".NET runtime library v2.0 or newer is required. You have $0. $\r$\n You can download .Net Framework 2.0 redistributable from the Microsoft website. $\r$\n Alternatively you can use google for a direct download URL"\r
     Abort\r
   ${EndIf}\r
 FunctionEnd\r
@@ -96,16 +97,16 @@ Section "Handbrake" SEC01
   File "Interop.QTOLibrary.dll"\r
   File "Interop.QTOControlLib.dll"\r
   File "AxInterop.QTOControlLib.dll"\r
+  File "Growl.Connector.dll"\r
+  File "Growl.CoreLibrary.dll"\r
+  File "libgcc_s_sjlj-1.dll"\r
   File "HandBrakeCLI.exe"\r
   File "Handbrake.exe.config"\r
   File "handbrakepineapple.ico"\r
-  File "presets.xml"\r
-  File "user_presets.xml"\r
-  \r
+\r
   SetOutPath "$INSTDIR\doc"\r
   SetOverwrite ifnewer\r
   File "doc\AUTHORS"\r
-  File "doc\BUILD"\r
   File "doc\COPYING"\r
   File "doc\CREDITS"\r
   File "doc\NEWS"\r
@@ -147,10 +148,10 @@ Section Uninstall
   Delete "$INSTDIR\handbrakepineapple.ico"\r
   Delete "$INSTDIR\Handbrake.exe"\r
   Delete "$INSTDIR\Handbrake.exe.config"\r
-  Delete "$INSTDIR\presets.xml"\r
-  Delete "$INSTDIR\user_presets.xml"\r
+  Delete "$INSTDIR\Growl.Connector.dll"\r
+  Delete "$INSTDIR\Growl.CoreLibrary.dll"\r
+  Delete "$INSTDIR\libgcc_s_sjlj-1.dll"\r
   Delete "$INSTDIR\doc\AUTHORS"\r
-  Delete "$INSTDIR\doc\BUILD"\r
   Delete "$INSTDIR\doc\COPYING"\r
   Delete "$INSTDIR\doc\CREDITS"\r
   Delete "$INSTDIR\doc\NEWS"\r