[Gcblue-commits] gcb_wx ReleaseInstallScript.nsi,NONE,1.1 GCblue.vcproj,1.55,1.56
Status: Alpha
Brought to you by:
ddcforge
|
From: Dewitt C. <ddc...@us...> - 2004-06-24 01:43:57
|
Update of /cvsroot/gcblue/gcb_wx In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25454 Modified Files: GCblue.vcproj Added Files: ReleaseInstallScript.nsi Log Message: --- NEW FILE: ReleaseInstallScript.nsi --- ; GCB.nsi ; ; This script is based on example2.nsi -- it remember the directory, ; has uninstall support and (optionally) installs start menu shortcuts. ; ; It will install files into a directory that the user selects, ;-------------------------------- ; The name of the installer Name "install_gcb_06x" ; The file to write OutFile "gcb_06x_.exe" ; The default installation directory InstallDir $PROGRAMFILES\GCB ; Registry key to check for directory (so if you install again, it will ; overwrite the old one automatically) InstallDirRegKey HKLM "Software\GCB" "Install_Dir" ;-------------------------------- LicenseText "End User License Agreement" LicenseData "END_USER_LICENSE.txt" ; Pages Page license Page components Page directory Page instfiles UninstPage uninstConfirm UninstPage instfiles ;-------------------------------- ; The stuff to install Section "GCB (required)" SectionIn RO ; ----- 3d directory ----- SetOutPath $INSTDIR\3d File "dist\3d\*.*" ; ----- bin directory ----- SetOutPath $INSTDIR\bin File "dist\release_dll\*.*" File "bin\GCblue.exe" ; ----- database directory ----- SetOutPath $INSTDIR\database File "dist\database\*.*" ; ----- help directory ----- SetOutPath $INSTDIR\help File "help\*.*" ; ----- images directory ----- SetOutPath $INSTDIR\images File "images\*.jpg" File "images\*.bmp" ; ----- images\symbology directory ----- SetOutPath $INSTDIR\images\symbology File "images\symbology\*.png" ; ----- maps directory ----- SetOutPath $INSTDIR\maps File "maps\*.dat" ; ----- scenarios directory ----- SetOutPath $INSTDIR\scenarios File "scenarios\*.py" ; ----- scripts directory ----- SetOutPath $INSTDIR\scripts File "scripts\*.py" ; ----- sound\ogg directory ----- SetOutPath $INSTDIR\sound\ogg File "sound\ogg\*.ogg" ; ----- sound\wav directory ----- SetOutPath $INSTDIR\sound\wav File "sound\wav\*.wav" ; ----- xml directory ----- SetOutPath $INSTDIR\xml File "xml\*.xml" ; ----- general ----- SetOutPath $INSTDIR File "options.dat" File "END_USER_LICENSE.txt" CreateShortCut "Play GCB.lnk" "$INSTDIR\bin\GCblue.exe" "" "$INSTDIR\bin\GCblue.exe" 0 ; Write the installation path into the registry WriteRegStr HKLM SOFTWARE\GCB "Install_Dir" "$INSTDIR" ; Write the uninstall keys for Windows WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GCB" "DisplayName" "Global Conflict Blue 0.6x" WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GCB" "UninstallString" '"$INSTDIR\uninstall.exe"' WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GCB" "NoModify" 1 WriteRegDWORD HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GCB" "NoRepair" 1 WriteUninstaller "uninstall.exe" SectionEnd ; Optional section (can be disabled by the user) Section "Start Menu Shortcuts" CreateDirectory "$SMPROGRAMS\GCB" CreateShortCut "$SMPROGRAMS\GCB\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0 CreateShortCut "$SMPROGRAMS\GCB\Play GCB.lnk" "$INSTDIR\bin\GCblue.exe" "" "$INSTDIR\bin\GCblue.exe" 0 SectionEnd ; Optional section (can be disabled by the user) Section /o "Install with sound disabled" SetOutPath $INSTDIR\xml File /oname=options.xml "xml\options_nosound.txt" SectionEnd ;-------------------------------- ; Uninstaller Section "Uninstall" ; Remove registry keys DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\GCB" DeleteRegKey HKLM SOFTWARE\NSIS_GCB ; Remove files and uninstaller Delete $INSTDIR\bin\*.* Delete $INSTDIR\uninstall.exe ; Remove shortcuts, if any Delete "$SMPROGRAMS\GCB\*.*" ; Remove directories used RMDir "$SMPROGRAMS\GCB" RMDir /r "$INSTDIR" SectionEnd Index: GCblue.vcproj =================================================================== RCS file: /cvsroot/gcblue/gcb_wx/GCblue.vcproj,v retrieving revision 1.55 retrieving revision 1.56 diff -C2 -d -r1.55 -r1.56 *** GCblue.vcproj 14 Jun 2004 21:52:46 -0000 1.55 --- GCblue.vcproj 24 Jun 2004 01:43:43 -0000 1.56 *************** *** 362,365 **** --- 362,368 ---- </File> <File + RelativePath=".\src\sim\tcDemTileReader.cpp"> + </File> + <File RelativePath="src\sim\tcDirector.cpp"> </File> *************** *** 759,762 **** --- 762,768 ---- </File> <File + RelativePath=".\include\sim\tcDemTileReader.h"> + </File> + <File RelativePath="include\sim\tcDirector.h"> </File> |