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
This commit is contained in:
@@ -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.
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user