From f452e6482a57e7aaa6651d07dea36b2defc2a848 Mon Sep 17 00:00:00 2001 From: aerkefiende Date: Sat, 16 Oct 2010 21:07:23 +0000 Subject: [PATCH] No need for the old Cube installer. Updated packaging_guide.txt git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@5762 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- source/packaging_guide.txt | 8 +++--- source/vcpp/cube.nsi | 53 -------------------------------------- 2 files changed, 4 insertions(+), 57 deletions(-) delete mode 100644 source/vcpp/cube.nsi diff --git a/source/packaging_guide.txt b/source/packaging_guide.txt index 0b0d2884..378d5298 100644 --- a/source/packaging_guide.txt +++ b/source/packaging_guide.txt @@ -1,14 +1,14 @@ Packaging AssaultCube: -1. fresh cvs checkout (Don't start AC afterwards to avoid any changes) +1. fresh svn checkout (Don't start AC afterwards to avoid any changes) 2. delete config/saved.cfg if existent 3. make sure config/servers.cfg is empty 4. delete contents of folder screenshots/ 5. delete contents of folder demos/ -6. delete the whole source/ folder (Does not apply to Linux, as the Linux packages comes with full source) +6. delete the whole source/ folder 7. delete the whole docs/autogen/ folder -8. Copy shadow files (.dat) from another working AC installation (CVS) into the freshly exported directory +8. Copy shadow files (.dat) from another working AC installation (SVN) into the freshly exported directory 9. Delete the bin_*/ folders that are not needed by your platform -10.Package AC (.exe/.tgz/etc) and name it like AssaultCube_vMAJOR.MINOR.FORMAT on Windows this could be AssaultCube_v1.0.exe +10.Package AC (.exe/.tgz/etc) and name it like AssaultCube_vMAJOR.MINOR.BUILD.REVISION.FORMAT on Windows this could be AssaultCube_v1.0.0.0.exe This steps can be automatized, see source\vcpp\buildEnv\*.bat for examples. \ No newline at end of file diff --git a/source/vcpp/cube.nsi b/source/vcpp/cube.nsi deleted file mode 100644 index 4205a536..00000000 --- a/source/vcpp/cube.nsi +++ /dev/null @@ -1,53 +0,0 @@ -Name "Cube" - -OutFile "cube_2005_08_22_setup.exe" - -InstallDir $PROGRAMFILES\Cube - -InstallDirRegKey HKLM "Software\Cube" "Install_Dir" - -SetCompressor /SOLID lzma -XPStyle on - -Page components -Page directory -Page instfiles - -UninstPage uninstConfirm -UninstPage instfiles - -Section "Cube (required)" - - SectionIn RO - - SetOutPath $INSTDIR - - File /r "..\cube\*.*" - - WriteRegStr HKLM SOFTWARE\Cube "Install_Dir" "$INSTDIR" - - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" "DisplayName" "Cube" - WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" "UninstallString" '"$INSTDIR\uninstall.exe"' - WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" "NoModify" 1 - WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" "NoRepair" 1 - WriteUninstaller "uninstall.exe" - -SectionEnd - -Section "Start Menu Shortcuts" - - CreateDirectory "$SMPROGRAMS\Cube" - CreateShortCut "$SMPROGRAMS\Cube\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0 - CreateShortCut "$SMPROGRAMS\Cube\Cube.lnk" "$INSTDIR\cube.bat" "" "$INSTDIR\cube.bat" 0 - CreateShortCut "$SMPROGRAMS\Cube\README.lnk" "$INSTDIR\README.html" "" "$INSTDIR\README.html" 0 -SectionEnd - -Section "Uninstall" - - DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\Cube" - DeleteRegKey HKLM SOFTWARE\Cube - - RMDir /r "$SMPROGRAMS\Cube" - RMDir /r "$INSTDIR" - -SectionEnd