[SCM] Wormux package repository branch, trunk-ups, updated. 144838d1c2c91219b1d5e1b08c6cef875bb1284d

kurosu kurosu at 30ef787d-52ff-0310-b286-e08351bb7647
Tue Aug 19 07:28:56 UTC 2008


The following commit has been merged in the trunk-ups branch:
commit 7cee486abdeecac458aca8629847a97a0dd12248
Author: kurosu <kurosu at 30ef787d-52ff-0310-b286-e08351bb7647>
Date:   Mon Aug 18 21:38:39 2008 +0000

    [Win32] Cosmetics, output data to proper folder.
    
    
    git-svn-id: svn+ssh://svn.gna.org/svn/wormux/trunk@4872 30ef787d-52ff-0310-b286-e08351bb7647

diff --git a/tools/win32_setup/create_setup.sh b/tools/win32_setup/create_setup.sh
index 2ad8a6c..67e64ee 100755
--- a/tools/win32_setup/create_setup.sh
+++ b/tools/win32_setup/create_setup.sh
@@ -85,10 +85,10 @@ ShowInstDetails show
 ShowUninstDetails show
 SetDateSave on
 
-!define WORMUX_REG_KEY				"${HKLM_PATH}"
-!define WORMUX_UNINSTALL_KEY			"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wormux"
-!define HKLM_APP_PATHS_KEY			"SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\wormux.exe"
-!define STARTUP_RUN_KEY				"SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
+!define WORMUX_REG_KEY          "${HKLM_PATH}"
+!define WORMUX_UNINSTALL_KEY    "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Wormux"
+!define HKLM_APP_PATHS_KEY      "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\wormux.exe"
+!define STARTUP_RUN_KEY         "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Modern UI Configuration ;;
@@ -183,7 +183,7 @@ SetDateSave on
   ;If you are using solid compression, files that are required before
   ;the actual installation should be stored first in the data block,
   ;because this will make your installer start faster.
-  
+
   !insertmacro MUI_RESERVEFILE_LANGDLL
 
   ;--------------------------------
@@ -316,6 +316,13 @@ Section \$(TITLE_Wormux) Sec_Wormux
   ; Executing in tmpdir, looking for file in folder below
   File "${LOCAL_PATH}\uninstall.ico"
   File "${WIN_WORMUXDIR}\src\wormux.exe"
+  WriteUninstaller "uninstall.exe"
+  ; data
+  File /r /x .svn /x Makefile* /x Makefile.* "${WIN_WORMUXDIR}\\data"
+  ; Licenses
+  File /r /x .svn "${WIN_WORMUXDIR}\\doc\\license"
+  ; Howto-play PDFs
+  File /r /x .svn "${WIN_WORMUXDIR}\\doc\\howto_play"
 EOF
 
 # Glib (gobject, gthread, glib & gmodule)
@@ -374,15 +381,8 @@ cat >> $NSIS <<EOF
     ;Write language to the registry (for the uninstaller)
     WriteRegStr HKCU "\${WORMUX_REG_KEY}" "Installer Language" \$LANGUAGE
     ;SetShellVarContext "current"
- 
+
   _next:
-    WriteUninstaller "uninstall.exe"
-    ; data
-    File /r /x .svn /x Makefile* /x Makefile.* "${WIN_WORMUXDIR}\\data"
-    ; Licenses
-    File /r /x .svn "${WIN_WORMUXDIR}\\doc\\license"
-    ; Howto-play PDFs
-    File /r /x .svn "${WIN_WORMUXDIR}\\doc\\howto_play"
 SectionEnd ; Installer section
 
 ;--------------------------------
@@ -412,7 +412,7 @@ for f in $lang; do
       SetOutPath "\$INSTDIR"
       SetOverwrite on
       File "/oname=help-$f.pdf" "${WIN_WORMUXDIR}${SEP}doc${SEP}howto_play${SEP}${f}.pdf"
-     !insertmacro CreateDirectoryOnce "\$SMPROGRAMS\\Wormux"
+      !insertmacro CreateDirectoryOnce "\$SMPROGRAMS\\Wormux"
       CreateShortcut  "\$SMPROGRAMS\\Wormux\\howto-$f.lnk" "\$INSTDIR\\help-$f.pdf" "" "" 0
       SetOverwrite off
     SectionEnd

-- 
Wormux package repository



More information about the Pkg-games-commits mailing list