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:
aerkefiende
2010-10-16 21:07:23 +00:00
parent 9c8ee2b555
commit f452e6482a
2 changed files with 4 additions and 57 deletions
-53
View File
@@ -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