diff --git a/package/Win-NSIS/fg-install-header.bmp b/package/Win-NSIS/fg-install-header.bmp deleted file mode 100644 index 42c2cbf26..000000000 Binary files a/package/Win-NSIS/fg-install-header.bmp and /dev/null differ diff --git a/package/Win-NSIS/flightgear-nightly-vs2010.nsi b/package/Win-NSIS/flightgear-nightly-vs2010.nsi deleted file mode 100644 index 1cbfe7f6e..000000000 --- a/package/Win-NSIS/flightgear-nightly-vs2010.nsi +++ /dev/null @@ -1,170 +0,0 @@ -!include "MUI.nsh" - -!system 'osgversion --so-number > %TEMP%\osg-so-number.txt' -!system 'osgversion --version-number > %TEMP%\osg-version.txt' - -!define /file OSGSoNumber $%TEMP%\osg-so-number.txt -!define /file OSGVersion $%TEMP%\osg-version.txt -!define /file FGVersion flightgear\version - -!echo "osg-so is ${OSGSoNumber}" - -Name "FlightGear Nightly vs2010" -OutFile fgfs_win32_vs2010_nightly_${FGVersion}.exe - -; use LZMA for best compression -SetCompressor /FINAL /SOLID lzma -SetCompressorDictSize 64 - -InstallDir $PROGRAMFILES\FlightGear-nightly-2010 - -; Request admin privileges for Windows Vista -RequestExecutionLevel highest - -; don't hang around -AutoCloseWindow true - -!define UninstallKey "Software\Microsoft\Windows\CurrentVersion\Uninstall\FlightGear-nightly-2010" -!define FGBinDir "install\msvc100\FlightGear\bin" -!define FGShareDir "install\msvc100\FlightGear\share" -!define FGRunDir "install\msvc100\fgrun" -!define RTIInstallDir "install\msvc100\OpenRTI" -!define OSGInstallDir "install\msvc100\OpenSceneGraph" -!define OSGPluginsDir "${OSGInstallDir}\bin\osgPlugins-${OSGVersion}" - -!define ThirdPartyBinDir "3rdParty\bin" - -!define MUI_ICON "flightgear\package\flightgear.ico" -!define MUI_UNICON "flightgear\package\flightgear.ico" - -!define MUI_HEADERIMAGE -!define MUI_HEADERIMAGE_RIGHT -!define MUI_HEADERIMAGE_BITMAP "flightgear\package\Win-NSIS\fg-install-header.bmp" ; optional - - - -;!define MUI_WELCOMEFINISHPAGE_BITMAP "welcome.bmp" -;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "welcome.bmp" - -!insertmacro MUI_PAGE_WELCOME -; include GPL license page -!insertmacro MUI_PAGE_LICENSE "flightgear\Copying" -!insertmacro MUI_PAGE_DIRECTORY -!insertmacro MUI_PAGE_INSTFILES - -!define MUI_FINISHPAGE_RUN $INSTDIR\bin\fgrun.exe -!define MUI_FINISHPAGE_RUN_TEXT "Run FlightGear now" -!insertmacro MUI_PAGE_FINISH - - -!insertmacro MUI_UNPAGE_CONFIRM -!insertmacro MUI_UNPAGE_INSTFILES - -!insertmacro MUI_LANGUAGE "English" - -; The stuff to install -Section "" ;No components page, name is not important - - SetShellVarContext all - ; Set output path to the installation directory. - SetOutPath $INSTDIR\share\flightgear - File ${FGShareDir}\flightgear\positions.txt - File ${FGShareDir}\flightgear\special_frequencies.txt - - SetOutPath $INSTDIR\bin - File ${FGBinDir}\fgfs.exe - File ${FGBinDir}\fgjs.exe - File ${FGBinDir}\terrasync.exe - File ${FGRunDir}\bin\fgrun.exe - File ${FGBinDir}\fgcom.exe - - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osg.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgDB.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgGA.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgParticle.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgText.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgUtil.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgViewer.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgSim.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgFX.dll - - File ${OSGInstallDir}\bin\ot13-OpenThreads.dll - - File ${ThirdPartyBinDir}\*.dll - File ${ThirdPartyBinDir}\CrashSender1402.exe - File ${ThirdPartyBinDir}\crashrpt_lang.ini - - File ${RTIInstallDir}\bin\FedTime.dll - File ${RTIInstallDir}\bin\RTI-NG.dll - File ${RTIInstallDir}\bin\OpenRTI.dll - - ; VC runtime redistributables - File "$%VCINSTALLDIR%\redist\x86\Microsoft.VC100.CRT\*.dll" - - File /r ${FGRunDir}\share\locale - - SetOutPath $INSTDIR\bin\osgPlugins-${OSGVersion} - File ${OSGPluginsDir}\osgdb_ac.dll - File ${OSGPluginsDir}\osgdb_osg.dll - File ${OSGPluginsDir}\osgdb_osga.dll - File ${OSGPluginsDir}\osgdb_3ds.dll - File ${OSGPluginsDir}\osgdb_mdl.dll - File ${OSGPluginsDir}\osgdb_jpeg.dll - File ${OSGPluginsDir}\osgdb_rgb.dll - File ${OSGPluginsDir}\osgdb_png.dll - File ${OSGPluginsDir}\osgdb_dds.dll - File ${OSGPluginsDir}\osgdb_txf.dll - File ${OSGPluginsDir}\osgdb_freetype.dll - File ${OSGPluginsDir}\osgdb_serializers_osg.dll - File ${OSGPluginsDir}\osgdb_serializers_osganimation.dll - File ${OSGPluginsDir}\osgdb_serializers_osgfx.dll - File ${OSGPluginsDir}\osgdb_serializers_osgmanipulator.dll - File ${OSGPluginsDir}\osgdb_serializers_osgparticle.dll - File ${OSGPluginsDir}\osgdb_serializers_osgshadow.dll - File ${OSGPluginsDir}\osgdb_serializers_osgsim.dll - File ${OSGPluginsDir}\osgdb_serializers_osgterrain.dll - File ${OSGPluginsDir}\osgdb_serializers_osgtext.dll - File ${OSGPluginsDir}\osgdb_serializers_osgvolume.dll - File ${OSGPluginsDir}\osgdb_deprecated_osg.dll - File ${OSGPluginsDir}\osgdb_deprecated_osgparticle.dll - - - Exec '"$INSTDIR\bin\fgrun.exe" --silent --fg-exe="$INSTDIR\bin\fgfs.exe" --fg-root="$INSTDIR\data"' - - CreateDirectory "$SMPROGRAMS\FlightGear" - CreateShortCut "$SMPROGRAMS\FlightGear\FlightGear-nightly-2010.lnk" "$INSTDIR\bin\fgrun.exe" - CreateShortCut "$SMPROGRAMS\FlightGear\FGCom-nightly-2010.lnk" "$INSTDIR\bin\fgcom.exe" - CreateShortCut "$SMPROGRAMS\FlightGear\FGCom-testing-nightly-2010.lnk" "$INSTDIR\bin\fgcom.exe" "-f910" - - - WriteUninstaller "$INSTDIR\FlightGear_Uninstall.exe" - - WriteRegStr HKLM ${UninstallKey} "DisplayName" "FlightGear Nightly (vs2010 build)" - WriteRegStr HKLM ${UninstallKey} "DisplayVersion" "${FGVersion}" - WriteRegStr HKLM ${UninstallKey} "UninstallString" "$INSTDIR\FlightGear_Uninstall.exe" - WriteRegStr HKLM ${UninstallKey} "UninstallPath" "$INSTDIR\FlightGear_Uninstall.exe" - WriteRegDWORD HKLM ${UninstallKey} "NoModify" 1 - WriteRegDWORD HKLM ${UninstallKey} "NoRepair" 1 - WriteRegStr HKLM ${UninstallKey} "URLInfoAbout" "http://www.flightgear.org/" - -SectionEnd - - - -Section "Uninstall" - - SetShellVarContext all - - - Delete "$SMPROGRAMS\FlightGear\FlightGear-nightly-2010.lnk" - Delete "$SMPROGRAMS\FlightGear\FGCom-nightly-2010.lnk" - Delete "$SMPROGRAMS\FlightGear\FGCom-testing-nightly-2010.lnk" - ; only delete the FlightGear group if it's empty - RMDir "$SMPROGRAMS\FlightGear" - - RMDir /r "$INSTDIR" - - DeleteRegKey HKLM ${UninstallKey} - -SectionEnd - diff --git a/package/Win-NSIS/flightgear-nightly.nsi b/package/Win-NSIS/flightgear-nightly.nsi deleted file mode 100644 index 8048c3675..000000000 --- a/package/Win-NSIS/flightgear-nightly.nsi +++ /dev/null @@ -1,153 +0,0 @@ -!include "MUI.nsh" - -!system 'osgversion --so-number > %TEMP%\osg-so-number.txt' -!system 'osgversion --version-number > %TEMP%\osg-version.txt' - -!define /file OSGSoNumber $%TEMP%\osg-so-number.txt -!define /file OSGVersion $%TEMP%\osg-version.txt -!define /file FGVersion flightgear\version - -!echo "osg-so is ${OSGSoNumber}" - -Name "FlightGear Nightly" -OutFile fgfs_win32_nightly_${FGVersion}.exe - -; use LZMA for best compression -SetCompressor /FINAL /SOLID lzma -SetCompressorDictSize 64 - -InstallDir $PROGRAMFILES\FlightGear-nightly - -; Request admin privileges for Windows Vista -RequestExecutionLevel highest - -; don't hang around -AutoCloseWindow true - -!define UninstallKey "Software\Microsoft\Windows\CurrentVersion\Uninstall\FlightGear-nightly" -!define FGBinDir "flightgear\projects\VC90\Win32\Release" -!define FGRunBinDir "fgrun\msvc\9.0\Win32\Release" -!define OSGInstallDir "install\msvc90\OpenSceneGraph" -!define OSGPluginsDir "${OSGInstallDir}\bin\osgPlugins-${OSGVersion}" - -!define ThirdPartyBinDir "3rdParty\bin" - -!define MUI_ICON "flightgear\package\flightgear.ico" -!define MUI_UNICON "flightgear\package\flightgear.ico" - -!define MUI_HEADERIMAGE -!define MUI_HEADERIMAGE_RIGHT -!define MUI_HEADERIMAGE_BITMAP "flightgear\package\Win-NSIS\fg-install-header.bmp" ; optional - - - -;!define MUI_WELCOMEFINISHPAGE_BITMAP "welcome.bmp" -;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "welcome.bmp" - -!insertmacro MUI_PAGE_WELCOME -; include GPL license page -!insertmacro MUI_PAGE_LICENSE "flightgear\Copying" -!insertmacro MUI_PAGE_DIRECTORY -!insertmacro MUI_PAGE_INSTFILES - -!define MUI_FINISHPAGE_RUN $INSTDIR\fgrun.exe -!define MUI_FINISHPAGE_RUN_TEXT "Run FlightGear now" -!insertmacro MUI_PAGE_FINISH - - -!insertmacro MUI_UNPAGE_CONFIRM -!insertmacro MUI_UNPAGE_INSTFILES - -!insertmacro MUI_LANGUAGE "English" - -; The stuff to install -Section "" ;No components page, name is not important - - SetShellVarContext all - ; Set output path to the installation directory. - SetOutPath $INSTDIR - - File ${FGBinDir}\fgfs.exe - File ${FGBinDir}\fgjs.exe - File ${FGBinDir}\terrasync.exe - File ${FGRunBinDir}\fgrun.exe - - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osg.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgDB.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgGA.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgParticle.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgText.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgUtil.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgViewer.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgSim.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgFX.dll - - File ${OSGInstallDir}\bin\ot12-OpenThreads.dll - - File ${ThirdPartyBinDir}\*.dll - - ; VC runtime redistributables - File "$%VCINSTALLDIR%\redist\x86\Microsoft.VC90.CRT\*.dll" - - File /r ${FGRunBinDir}\locale - - SetOutPath $INSTDIR\osgPlugins-${OSGVersion} - File ${OSGPluginsDir}\osgdb_ac.dll - File ${OSGPluginsDir}\osgdb_osg.dll - File ${OSGPluginsDir}\osgdb_osga.dll - File ${OSGPluginsDir}\osgdb_3ds.dll - File ${OSGPluginsDir}\osgdb_mdl.dll - File ${OSGPluginsDir}\osgdb_jpeg.dll - File ${OSGPluginsDir}\osgdb_rgb.dll - File ${OSGPluginsDir}\osgdb_png.dll - File ${OSGPluginsDir}\osgdb_dds.dll - File ${OSGPluginsDir}\osgdb_txf.dll - File ${OSGPluginsDir}\osgdb_serializers_osg.dll - File ${OSGPluginsDir}\osgdb_serializers_osganimation.dll - File ${OSGPluginsDir}\osgdb_serializers_osgfx.dll - File ${OSGPluginsDir}\osgdb_serializers_osgmanipulator.dll - File ${OSGPluginsDir}\osgdb_serializers_osgparticle.dll - File ${OSGPluginsDir}\osgdb_serializers_osgshadow.dll - File ${OSGPluginsDir}\osgdb_serializers_osgsim.dll - File ${OSGPluginsDir}\osgdb_serializers_osgterrain.dll - File ${OSGPluginsDir}\osgdb_serializers_osgtext.dll - File ${OSGPluginsDir}\osgdb_serializers_osgvolume.dll - File ${OSGPluginsDir}\osgdb_deprecated_osg.dll - File ${OSGPluginsDir}\osgdb_deprecated_osgparticle.dll - - - Exec '"$INSTDIR\fgrun.exe" --silent --fg-exe="$INSTDIR\fgfs.exe" --ts-exe="$INSTDIR\terrasync.exe" ' - - CreateDirectory "$SMPROGRAMS\FlightGear" - CreateShortCut "$SMPROGRAMS\FlightGear\FlightGear-nightly.lnk" "$INSTDIR\fgrun.exe" - - - WriteUninstaller "$INSTDIR\FlightGear_Uninstall.exe" - - WriteRegStr HKLM ${UninstallKey} "DisplayName" "FlightGear Nightly" - WriteRegStr HKLM ${UninstallKey} "DisplayVersion" "${FGVersion}" - WriteRegStr HKLM ${UninstallKey} "UninstallString" "$INSTDIR\FlightGear_Uninstall.exe" - WriteRegStr HKLM ${UninstallKey} "UninstallPath" "$INSTDIR\FlightGear_Uninstall.exe" - WriteRegDWORD HKLM ${UninstallKey} "NoModify" 1 - WriteRegDWORD HKLM ${UninstallKey} "NoRepair" 1 - WriteRegStr HKLM ${UninstallKey} "URLInfoAbout" "http://www.flightgear.org/" - -SectionEnd - - - -Section "Uninstall" - - SetShellVarContext all - - - Delete "$SMPROGRAMS\FlightGear\FlightGear-nightly.lnk" - ; only delete the FlightGear group if it's empty - RMDir "$SMPROGRAMS\FlightGear" - - RMDir /r "$INSTDIR" - - DeleteRegKey HKLM ${UninstallKey} - -SectionEnd - diff --git a/package/Win-NSIS/flightgear64-nightly-vs2010.nsi b/package/Win-NSIS/flightgear64-nightly-vs2010.nsi deleted file mode 100644 index e9d2f193f..000000000 --- a/package/Win-NSIS/flightgear64-nightly-vs2010.nsi +++ /dev/null @@ -1,170 +0,0 @@ -!include "MUI.nsh" - -!system 'osgversion --so-number > %TEMP%\osg-so-number.txt' -!system 'osgversion --version-number > %TEMP%\osg-version.txt' - -!define /file OSGSoNumber $%TEMP%\osg-so-number.txt -!define /file OSGVersion $%TEMP%\osg-version.txt -!define /file FGVersion flightgear\version - -!echo "osg-so is ${OSGSoNumber}" - -Name "FlightGear Nightly vs2010" -OutFile fgfs_win64_vs2010_nightly_${FGVersion}.exe - -; use LZMA for best compression -SetCompressor /FINAL /SOLID lzma -SetCompressorDictSize 64 - -InstallDir $PROGRAMFILES\FlightGear64-nightly-2010 - -; Request admin privileges for Windows Vista -RequestExecutionLevel highest - -; don't hang around -AutoCloseWindow true - -!define UninstallKey "Software\Microsoft\Windows\CurrentVersion\Uninstall\FlightGear64-nightly-2010" -!define FGBinDir "install\msvc100-64\FlightGear\bin" -!define FGShareDir "install\msvc100-64\FlightGear\share" -!define FGRunDir "install\msvc100-64\fgrun" -!define RTIInstallDir "install\msvc100-64\OpenRTI" -!define OSGInstallDir "install\msvc100-64\OpenSceneGraph" -!define OSGPluginsDir "${OSGInstallDir}\bin\osgPlugins-${OSGVersion}" - -!define ThirdPartyBinDir "3rdParty.x64\bin" - -!define MUI_ICON "flightgear\package\flightgear.ico" -!define MUI_UNICON "flightgear\package\flightgear.ico" - -!define MUI_HEADERIMAGE -!define MUI_HEADERIMAGE_RIGHT -!define MUI_HEADERIMAGE_BITMAP "flightgear\package\Win-NSIS\fg-install-header.bmp" ; optional - - - -;!define MUI_WELCOMEFINISHPAGE_BITMAP "welcome.bmp" -;!define MUI_UNWELCOMEFINISHPAGE_BITMAP "welcome.bmp" - -!insertmacro MUI_PAGE_WELCOME -; include GPL license page -!insertmacro MUI_PAGE_LICENSE "flightgear\Copying" -!insertmacro MUI_PAGE_DIRECTORY -!insertmacro MUI_PAGE_INSTFILES - -!define MUI_FINISHPAGE_RUN $INSTDIR\bin\fgrun.exe -!define MUI_FINISHPAGE_RUN_TEXT "Run FlightGear now" -!insertmacro MUI_PAGE_FINISH - - -!insertmacro MUI_UNPAGE_CONFIRM -!insertmacro MUI_UNPAGE_INSTFILES - -!insertmacro MUI_LANGUAGE "English" - -; The stuff to install -Section "" ;No components page, name is not important - - SetShellVarContext all - ; Set output path to the installation directory. - SetOutPath $INSTDIR\share\flightgear - File ${FGShareDir}\flightgear\positions.txt - File ${FGShareDir}\flightgear\special_frequencies.txt - - SetOutPath $INSTDIR\bin - File ${FGBinDir}\fgfs.exe - File ${FGBinDir}\fgjs.exe - File ${FGBinDir}\terrasync.exe - File ${FGRunDir}\bin\fgrun.exe - File ${FGBinDir}\fgcom.exe - - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osg.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgDB.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgGA.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgParticle.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgText.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgUtil.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgViewer.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgSim.dll - File ${OSGInstallDir}\bin\osg${OSGSoNumber}-osgFX.dll - - File ${OSGInstallDir}\bin\ot13-OpenThreads.dll - - File ${ThirdPartyBinDir}\*.dll - File ${ThirdPartyBinDir}\CrashSender1402.exe - File ${ThirdPartyBinDir}\crashrpt_lang.ini - - File ${RTIInstallDir}\bin\FedTime.dll - File ${RTIInstallDir}\bin\RTI-NG.dll - File ${RTIInstallDir}\bin\OpenRTI.dll - - ; VC runtime redistributables - File "$%VCINSTALLDIR%\redist\x86\Microsoft.VC100.CRT\*.dll" - - File /r ${FGRunDir}\share\locale - - SetOutPath $INSTDIR\bin\osgPlugins-${OSGVersion} - File ${OSGPluginsDir}\osgdb_ac.dll - File ${OSGPluginsDir}\osgdb_osg.dll - File ${OSGPluginsDir}\osgdb_osga.dll - File ${OSGPluginsDir}\osgdb_3ds.dll - File ${OSGPluginsDir}\osgdb_mdl.dll - File ${OSGPluginsDir}\osgdb_jpeg.dll - File ${OSGPluginsDir}\osgdb_rgb.dll - File ${OSGPluginsDir}\osgdb_png.dll - File ${OSGPluginsDir}\osgdb_dds.dll - File ${OSGPluginsDir}\osgdb_txf.dll - File ${OSGPluginsDir}\osgdb_freetype.dll - File ${OSGPluginsDir}\osgdb_serializers_osg.dll - File ${OSGPluginsDir}\osgdb_serializers_osganimation.dll - File ${OSGPluginsDir}\osgdb_serializers_osgfx.dll - File ${OSGPluginsDir}\osgdb_serializers_osgmanipulator.dll - File ${OSGPluginsDir}\osgdb_serializers_osgparticle.dll - File ${OSGPluginsDir}\osgdb_serializers_osgshadow.dll - File ${OSGPluginsDir}\osgdb_serializers_osgsim.dll - File ${OSGPluginsDir}\osgdb_serializers_osgterrain.dll - File ${OSGPluginsDir}\osgdb_serializers_osgtext.dll - File ${OSGPluginsDir}\osgdb_serializers_osgvolume.dll - File ${OSGPluginsDir}\osgdb_deprecated_osg.dll - File ${OSGPluginsDir}\osgdb_deprecated_osgparticle.dll - - - Exec '"$INSTDIR\bin\fgrun.exe" --silent --fg-exe="$INSTDIR\bin\fgfs.exe" --fg-root="$INSTDIR\data"' - - CreateDirectory "$SMPROGRAMS\FlightGear" - CreateShortCut "$SMPROGRAMS\FlightGear\FlightGear64-nightly-2010.lnk" "$INSTDIR\bin\fgrun.exe" - CreateShortCut "$SMPROGRAMS\FlightGear\FGCom-nightly-2010.lnk" "$INSTDIR\bin\fgcom.exe" - CreateShortCut "$SMPROGRAMS\FlightGear\FGCom-testing-nightly-2010.lnk" "$INSTDIR\bin\fgcom.exe" "-f910" - - - WriteUninstaller "$INSTDIR\FlightGear_Uninstall.exe" - - WriteRegStr HKLM ${UninstallKey} "DisplayName" "FlightGear64 Nightly (vs2010 build)" - WriteRegStr HKLM ${UninstallKey} "DisplayVersion" "${FGVersion}" - WriteRegStr HKLM ${UninstallKey} "UninstallString" "$INSTDIR\FlightGear_Uninstall.exe" - WriteRegStr HKLM ${UninstallKey} "UninstallPath" "$INSTDIR\FlightGear_Uninstall.exe" - WriteRegDWORD HKLM ${UninstallKey} "NoModify" 1 - WriteRegDWORD HKLM ${UninstallKey} "NoRepair" 1 - WriteRegStr HKLM ${UninstallKey} "URLInfoAbout" "http://www.flightgear.org/" - -SectionEnd - - - -Section "Uninstall" - - SetShellVarContext all - - - Delete "$SMPROGRAMS\FlightGear\FlightGear64-nightly-2010.lnk" - Delete "$SMPROGRAMS\FlightGear\FGCom-nightly-2010.lnk" - Delete "$SMPROGRAMS\FlightGear\FGCom-testing-nightly-2010.lnk" - ; only delete the FlightGear group if it's empty - RMDir "$SMPROGRAMS\FlightGear" - - RMDir /r "$INSTDIR" - - DeleteRegKey HKLM ${UninstallKey} - -SectionEnd - diff --git a/package/Win32-Inno/FlightGear-1.9.iss b/package/Win32-Inno/FlightGear-1.9.iss deleted file mode 100644 index b83b12d0a..000000000 --- a/package/Win32-Inno/FlightGear-1.9.iss +++ /dev/null @@ -1,87 +0,0 @@ -; Script generated by the Inno Setup Script Wizard. -; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! -; -; This script creates an installable FlightGear package for Win32 using the -; "Inno Setup" package builder. Inno Setup is free (but probably not open -; source?.) The official web site for this package building software is: -; -; http://www.jrsoftware.org/isinfo.php -; -; Note: the files must appear in the X: drive. -; You can do this with the command below: -; -; subst X: path_to_files -; -; For example: -; -; C:\> subst X: F:\Path\to\FlightGear\root -; C:\> subst X: F:\ -; - -[Setup] -AppName=FlightGear -OutputBaseFilename=fgsetup-1.9.1 -AppVerName=FlightGear v1.9.1 -AppPublisher=The FlightGear Organization -AppPublisherURL=http://www.flightgear.org -AppSupportURL=http://www.flightgear.org -AppUpdatesURL=http://www.flightgear.org -DefaultDirName={pf}\FlightGear -DefaultGroupName=FlightGear v1.9.1 -LicenseFile=X:\data\COPYING -Uninstallable=yes -SetupIconFile=x:\flightgear.ico -VersionInfoVersion=1.9.1.0 -WizardImageFile=X:\setupimg.bmp -WizardSmallImageFile=X:\setupsmall.bmp - -[Tasks] -; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required. -Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:" -Name: "insoal"; Description: "Install OpenAL (the sound engine)" - -[Files] -; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at) -Source: "X:\*.txt"; DestDir: "{app}"; Flags: ignoreversion -Source: "X:\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs -Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs -; NOTE: Don't use "Flags: ignoreversion" on any shared system files - -[Icons] -Name: "{group}\FlightGear Launcher"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; -; Name: "{group}\FlightGear"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; -Name: "{group}\FlightGear Manual"; Filename: "{app}\data\Docs\getstart.pdf" -Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\Docs\index.html" -Name: "{group}\Flightgear Wiki"; Filename: "http://wiki.flightgear.org" -Name: "{userdesktop}\FlightGear v1.9.1"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon - -Name: "{group}\Tools\Install & Uninstall Scenery"; Filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}"; -Name: "{group}\Tools\TerraSync"; Filename: "{app}\bin\Win32\terrasync.exe"; Parameters: "-S -p 5505 -d ""{app}\terrasync"""; WorkingDir: "{app}"; -Name: "{group}\Tools\Uninstall FlightGear"; Filename: "{uninstallexe}" - -Name: "{group}\Tools\fgjs"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\fgjs.exe"" ""--fg-root={app}\data"""; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\GPSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\GPSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\UGsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\UGsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\MIDSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\MIDSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\metar"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\metar.exe"" -h"; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\yasim"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\yasim.exe"" -h"; WorkingDir: "{app}\bin\Win32"; - -Name: "{group}\Tools\Explore Documentation Folder"; Filename: "{app}\data\Docs" - -; For running flightgear directly -; Name: "{userdesktop}\FlightGear v1.9.1"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon - -[Run] -; Put installation directory into the fgrun.prefs -filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--fg-exe={app}\bin\Win32\fgfs.exe"" ""--fg-root={app}\data"" ""--fg-scenery={app}\data\Scenery;{app}\scenery;{app}\terrasync""" - -; Put installation and source directories into the fgadmin.prefs -filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}\..\Scenery"" ""--scenery-dest={app}\scenery""" - -; Make the user installable scenery directory -filename: "{app}\bin\Win32\mkscenerydir.bat"; WorkingDir: "{app}" - -Filename: "{app}\bin\OpenAL\oalinst.exe"; WorkingDir: "{app}"; Description: "Installing OpenAL"; Tasks: insoal - -Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent - diff --git a/package/Win32-Inno/FlightGear-64.iss b/package/Win32-Inno/FlightGear-64.iss deleted file mode 100644 index 0e28af0d4..000000000 --- a/package/Win32-Inno/FlightGear-64.iss +++ /dev/null @@ -1,65 +0,0 @@ -; Script generated by the Inno Setup Script Wizard. -; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! -; -; This script creates an installable FlightGear package for Win32 using the -; "Inno Setup" package builder. Inno Setup is free (but probably not open -; source?.) The official web site for this package building software is: -; -; http://www.jrsoftware.org/isinfo.php -; -; Note: the files must appear in the X: drive. -; You can do this with the command below: -; -; subst X: path_to_files -; -; For example: -; -; C:\> subst X: F:\Path\to\FlightGear\root -; C:\> subst X: F:\ -; - -[Setup] -AppId=FlightGear -AppName=FlightGear 64-bit -AppPublisher=The FlightGear Team -OutputBaseFilename=fgsetup64-2.0.0 -AppVerName=FlightGear 64-bit v2.0.0 -AppPublisherURL=http://www.flightgear.org -AppSupportURL=http://www.flightgear.org -AppUpdatesURL=http://www.flightgear.org -DefaultDirName={pf}\FlightGear -DefaultGroupName=FlightGear v2.0.0 -LicenseFile=X:\data\COPYING -Uninstallable=yes -SetupIconFile=x:\flightgear64.ico -VersionInfoVersion=2.0.0.0 -WizardImageFile=X:\setupimg.bmp -WizardSmallImageFile=X:\setupsmall.bmp -;UpdateUninstallLogAppName=No -;CreateUninstallRegKey=no -ArchitecturesInstallIn64BitMode=x64 -ArchitecturesAllowed=x64 -VersionInfoCompany=The FlightGear Team -UninstallDisplayIcon={app}\bin\Win64\fgrun.exe - -[Tasks] -; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required. -Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:" - -[Files] -; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at) -Source: "X:\*.txt"; DestDir: "{app}"; Flags: ignoreversion -Source: "X:\bin\Win64\*.*"; DestDir: "{app}\bin\Win64"; Flags: ignoreversion recursesubdirs -Source: "X:\bin\vcredist_x64.exe"; DestDir: "{app}\bin"; Flags: ignoreversion - -[Icons] -Name: "{group}\FlightGear 64-bit Launcher"; Filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}"; -Name: "{userdesktop}\FlightGear 64-bit v2.0.0"; Filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon - -[Run] -Filename: "{app}\bin\vcredist_x64.exe"; WorkingDir: "{app}"; Parameters: "/qb!"; Description: "Installing Flightgear prerequisites" -; Put installation directory into the fgrun.prefs -filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}\bin\Win64"; Parameters: "--silent ""--fg-exe={app}\bin\Win64\fgfs.exe""" - -;Filename: "{app}\bin\Win64\fgrun.exe"; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent - diff --git a/package/Win32-Inno/FlightGear-devel.iss b/package/Win32-Inno/FlightGear-devel.iss deleted file mode 100644 index 1ea0cb19b..000000000 --- a/package/Win32-Inno/FlightGear-devel.iss +++ /dev/null @@ -1,175 +0,0 @@ -; Script generated by the Inno Setup Script Wizard. -; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! -; -; This script creates an installable FlightGear package for Win32 using the -; "Inno Setup" package builder. Inno Setup is free (but probably not open -; source?.) The official web site for this package building software is: -; -; http://www.jrsoftware.org/isinfo.php -; -; Note: the files must appear in the X: drive. -; You can do this with the command below: -; -; subst X: path_to_files -; -; For example: -; -; C:\> subst X: F:\Path\to\FlightGear\root -; C:\> subst X: F:\ -; C:\> subst X: E:\Package\FlightGear-YYYYMMDD -; C:\> subst X: /d -; - -#define FGVER "v20120105" -;#define FGVER "2.4.0" - -[Setup] -AppId=FlightGear {#FGVER} -AppName=FlightGear {#FGVER} -AppPublisher=The FlightGear Team -OutputBaseFilename=Setup FlightGear {#FGVER} -AppVerName=FlightGear {#FGVER} -AppPublisherURL=http://www.flightgear.org -AppSupportURL=http://www.flightgear.org -AppUpdatesURL=http://www.flightgear.org -DefaultDirName={pf}\FlightGear {#FGVER} -DefaultGroupName=FlightGear {#FGVER} -LicenseFile=X:\data\COPYING -Uninstallable=yes -SetupIconFile=x:\flightgear.ico -VersionInfoVersion=2.5.0.0 -WizardImageFile=X:\setupimg.bmp -WizardImageStretch=No -WizardSmallImageFile=X:\setupsmall.bmp -VersionInfoCompany=The FlightGear Team -UninstallDisplayIcon={app}\bin\fgrun.exe - -[Tasks] -; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required. -Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:" -Name: "insoal"; Description: "Install OpenAL (the sound engine)" - -[Files] -; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at) -Source: "X:\*.txt"; DestDir: "{app}"; Flags: ignoreversion -Source: "X:\bin\*.*"; DestDir: "{app}\bin"; Flags: ignoreversion recursesubdirs -;;; Source: "X:\bin\vcredist_x86.exe"; DestDir: "{app}\bin"; Flags: ignoreversion -Source: "X:\bin\oalinst.exe"; DestDir: "{app}\bin"; Flags: ignoreversion -Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs -; NOTE: Don't use "Flags: ignoreversion" on any shared system files - -[Dirs] -; Make the user installable scenery directory -Name: "{app}\scenery"; Permissions: everyone-modify -Name: "{code:TerrasyncDir}"; Permissions: everyone-modify - -[Icons] -Name: "{group}\FlightGear {#FGVER}"; Filename: "{app}\bin\fgrun.exe"; WorkingDir: "{app}"; -; Name: "{group}\FlightGear"; Filename: "{app}\bin\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; -Name: "{group}\FlightGear Manual"; Filename: "{app}\data\Docs\getstart.pdf" -Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\Docs\index.html" -Name: "{group}\Flightgear Wiki"; Filename: "http://wiki.flightgear.org" -Name: "{userdesktop}\FlightGear {#FGVER}"; Filename: "{app}\bin\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon - -Name: "{group}\Tools\Install & Uninstall Scenery"; Filename: "{app}\bin\fgadmin.exe"; WorkingDir: "{app}"; -Name: "{group}\Tools\TerraSync"; Filename: "{app}\bin\terrasync.exe"; Parameters: "-S -p 5505 -d ""{app}\terrasync"""; WorkingDir: "{app}"; -Name: "{group}\Tools\Uninstall FlightGear {#FGVER}"; Filename: "{uninstallexe}" - -Name: "{group}\Tools\js_demo"; Filename: "{app}\bin\js_demo.exe" -Name: "{group}\Tools\fgjs"; Filename: "cmd"; Parameters: "/k fgjs.exe ""--fg-root={app}\data"""; WorkingDir: "{app}\bin"; -Name: "{group}\Tools\GPSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\GPSsmooth.exe"" -h"; WorkingDir: "{app}\bin"; -Name: "{group}\Tools\UGsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\UGsmooth.exe"" -h"; WorkingDir: "{app}\bin"; -Name: "{group}\Tools\MIDSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\MIDSsmooth.exe"" -h"; WorkingDir: "{app}\bin"; -Name: "{group}\Tools\metar"; Filename: "cmd"; Parameters: "/k ""{app}\bin\metar.exe"" -h"; WorkingDir: "{app}\bin"; -Name: "{group}\Tools\yasim"; Filename: "cmd"; Parameters: "/k ""{app}\bin\yasim.exe"" -h"; WorkingDir: "{app}\bin"; -Name: "{group}\Tools\fgpanel"; Filename: "cmd"; Parameters: "/k ""{app}\bin\fgpanel.exe"" -h"; WorkingDir: "{app}\bin"; - -Name: "{group}\Tools\Explore Documentation Folder"; Filename: "{app}\data\Docs" - -; For running flightgear directly -; Name: "{userdesktop}\FlightGear {#FGVER}"; Filename: "{app}\bin\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon - -[Run] -Filename: "{app}\bin\vcredist_x86.exe"; WorkingDir: "{app}"; Parameters: "/passive /norestart"; Description: "Installing MS Visual C++ runtime components" - -; Put installation directory into the fgrun.prefs -Filename: "{app}\bin\fgrun.exe"; WorkingDir: "{app}\bin"; Parameters: "--silent ""--fg-exe={app}\bin\fgfs.exe"" ""--ts-exe={app}\bin\terrasync.exe"" ""--fg-root={app}\data"" ""--fg-scenery={app}\data\Scenery;{app}\scenery;{code:TerrasyncDir}"" --ts-dir=3" - -; Put installation and source directories into the fgadmin.prefs -Filename: "{app}\bin\fgadmin.exe"; WorkingDir: "{app}\bin"; Parameters: "--silent ""--install-source={src}\..\Scenery"" ""--scenery-dest={app}\scenery""" -Filename: "{app}\bin\oalinst.exe"; WorkingDir: "{app}"; Description: "Installing OpenAL"; Tasks: insoal -;Filename: "{app}\bin\fgrun.exe"; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent - -[Registry] -Root: HKLM; Subkey: "Software\flightgear.org"; ValueType: string; ValueName: "TerrasyncDir"; ValueData: "{code:TerrasyncDir}" - -[Code] -var - TerrasyncDirPage: TInputDirWizardPage; - -procedure URLLabelOnClick(Sender: TObject); -var - ErrorCode: Integer; -begin - ShellExec('open', 'http://www.flightgear.org', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode); -end; - -procedure CreateURLLabel(ParentForm: TSetupForm; CancelButton: TNewButton); -var - URLLabel: TNewStaticText; -begin - URLLabel := TNewStaticText.Create(ParentForm); - URLLabel.Caption := 'www.flightgear.org'; - URLLabel.Cursor := crHand; - URLLabel.OnClick := @URLLabelOnClick; - URLLabel.Parent := ParentForm; - { Alter Font *after* setting Parent so the correct defaults are inherited first } - URLLabel.Font.Style := URLLabel.Font.Style + [fsUnderline]; - URLLabel.Font.Color := clBlue; - URLLabel.Top := CancelButton.Top + CancelButton.Height - URLLabel.Height - 2; - URLLabel.Left := ScaleX(20); -end; - -procedure InitializeWizard(); -begin - TerrasyncDirPage := CreateInputDirPage(wpSelectDir, - 'Select Terrasync Directory', 'Where should scenery downloaded by Terrasync be put?', - 'Select the folder in which Terrasync would download additional scenery, then click Next.', - False, 'Terrasync Folder'); - TerrasyncDirPage.Add(''); - - CreateURLLabel(WizardForm, WizardForm.CancelButton); -end; - -function NextButtonClick(CurPageID: Integer): Boolean; -begin - if CurPageID = wpSelectDir then begin - TerrasyncDirPage.Values[0] := GetPreviousData( 'TerrasyncDir', ExpandConstant('{reg:HKLM\Software\flightgear.org,TerrasyncDir|{app}\terrasync}') ); - end; - Result := True; -end; - -function TerrasyncDir(Param: String): String; -begin - Result := TerrasyncDirPage.Values[0]; -end; - -procedure RegisterPreviousData(PreviousDataKey: Integer); -begin - { Store the settings so we can restore them next time } - SetPreviousData(PreviousDataKey, 'TerrasyncDir', TerrasyncDirPage.Values[0]); -end; - -function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String; -var - S: String; -begin - S := ''; - S := S + MemoDirInfo + NewLine + NewLine; - S := S + 'Terrasync folder:' + NewLine; - S := S + Space + TerrasyncDirPage.Values[0] + NewLine + NewLine; - S := S + MemoGroupInfo + NewLine + NewLine; - S := S + MemoTasksInfo + NewLine + NewLine; - - Result := S; -end; diff --git a/package/Win32-Inno/FlightGear.iss b/package/Win32-Inno/FlightGear.iss deleted file mode 100644 index 3b65deff7..000000000 --- a/package/Win32-Inno/FlightGear.iss +++ /dev/null @@ -1,170 +0,0 @@ -; Script generated by the Inno Setup Script Wizard. -; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! -; -; This script creates an installable FlightGear package for Win32 using the -; "Inno Setup" package builder. Inno Setup is free (but probably not open -; source?.) The official web site for this package building software is: -; -; http://www.jrsoftware.org/isinfo.php -; -; Note: the files must appear in the X: drive. -; You can do this with the command below: -; -; subst X: path_to_files -; -; For example: -; -; C:\> subst X: F:\Path\to\FlightGear\root -; C:\> subst X: F:\ -; - -[Setup] -AppId=FlightGear -AppName=FlightGear -AppPublisher=The FlightGear Team -OutputBaseFilename=fgsetup-2.0.0 -AppVerName=FlightGear v2.0.0 -AppPublisherURL=http://www.flightgear.org -AppSupportURL=http://www.flightgear.org -AppUpdatesURL=http://www.flightgear.org -DefaultDirName={pf}\FlightGear -DefaultGroupName=FlightGear v2.0.0 -LicenseFile=X:\data\COPYING -Uninstallable=yes -SetupIconFile=x:\flightgear.ico -VersionInfoVersion=2.0.0.0 -WizardImageFile=X:\setupimg.bmp -WizardImageStretch=No -WizardSmallImageFile=X:\setupsmall.bmp -VersionInfoCompany=The FlightGear Team -UninstallDisplayIcon={app}\bin\Win32\fgrun.exe - -[Tasks] -; NOTE: The following entry contains English phrases ("Create a desktop icon" and "Additional icons"). You are free to translate them into another language if required. -Name: "desktopicon"; Description: "Create a &desktop icon"; GroupDescription: "Additional icons:" -Name: "insoal"; Description: "Install OpenAL (the sound engine)" - -[Files] -; NOTE: run subst X: F:\ (or whatever path the expanded tree resides at) -Source: "X:\*.txt"; DestDir: "{app}"; Flags: ignoreversion -Source: "X:\bin\Win32\*.*"; DestDir: "{app}\bin\Win32"; Flags: ignoreversion recursesubdirs -Source: "X:\bin\vcredist_x86.exe"; DestDir: "{app}\bin"; Flags: ignoreversion -Source: "X:\bin\OpenAL\oalinst.exe"; DestDir: "{app}\bin\OpenAL"; Flags: ignoreversion -Source: "X:\data\*.*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs -; NOTE: Don't use "Flags: ignoreversion" on any shared system files - -[Dirs] -; Make the user installable scenery directory -Name: "{app}\scenery"; Permissions: everyone-modify -Name: "{code:TerrasyncDir}"; Permissions: everyone-modify - -[Icons] -Name: "{group}\FlightGear Launcher"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; -; Name: "{group}\FlightGear"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; -Name: "{group}\FlightGear Manual"; Filename: "{app}\data\Docs\getstart.pdf" -Name: "{group}\FlightGear Documentation"; Filename: "{app}\data\Docs\index.html" -Name: "{group}\Flightgear Wiki"; Filename: "http://wiki.flightgear.org" -Name: "{userdesktop}\FlightGear v2.0.0"; Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Tasks: desktopicon - -Name: "{group}\Tools\Install & Uninstall Scenery"; Filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}"; -Name: "{group}\Tools\TerraSync"; Filename: "{app}\bin\Win32\terrasync.exe"; Parameters: "-S -p 5505 -d ""{app}\terrasync"""; WorkingDir: "{app}"; -Name: "{group}\Tools\Uninstall FlightGear"; Filename: "{uninstallexe}" - -Name: "{group}\Tools\js_demo"; Filename: "{app}\bin\Win32\js_demo.exe" -Name: "{group}\Tools\fgjs"; Filename: "cmd"; Parameters: "/k fgjs.exe ""--fg-root={app}\data"""; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\GPSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\GPSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\UGsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\UGsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\MIDSsmooth"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\MIDSsmooth.exe"" -h"; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\metar"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\metar.exe"" -h"; WorkingDir: "{app}\bin\Win32"; -Name: "{group}\Tools\yasim"; Filename: "cmd"; Parameters: "/k ""{app}\bin\Win32\yasim.exe"" -h"; WorkingDir: "{app}\bin\Win32"; - -Name: "{group}\Tools\Explore Documentation Folder"; Filename: "{app}\data\Docs" - -; For running flightgear directly -; Name: "{userdesktop}\FlightGear v2.0.0"; Filename: "{app}\bin\Win32\fgfs.exe"; Parameters: "--fg-root=."; WorkingDir: "{app}"; Tasks: desktopicon - -[Run] -Filename: "{app}\bin\vcredist_x86.exe"; WorkingDir: "{app}"; Parameters: "/qb!"; Description: "Installing Flightgear prerequisites" - -; Put installation directory into the fgrun.prefs -filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--fg-exe={app}\bin\Win32\fgfs.exe"" ""--ts-exe={app}\bin\Win32\terrasync.exe"" ""--fg-root={app}\data"" ""--fg-scenery={app}\data\Scenery;{app}\scenery;{code:TerrasyncDir}"" --ts-dir=3" - -; Put installation and source directories into the fgadmin.prefs -filename: "{app}\bin\Win32\fgadmin.exe"; WorkingDir: "{app}\bin\Win32"; Parameters: "--silent ""--install-source={src}\..\Scenery"" ""--scenery-dest={app}\scenery""" -Filename: "{app}\bin\OpenAL\oalinst.exe"; WorkingDir: "{app}"; Description: "Installing OpenAL"; Tasks: insoal -;Filename: "{app}\bin\Win32\fgrun.exe"; WorkingDir: "{app}"; Description: "Launch FlightGear"; Flags: postinstall skipifsilent - -[Registry] -Root: HKLM; Subkey: "Software\flightgear.org"; ValueType: string; ValueName: "TerrasyncDir"; ValueData: "{code:TerrasyncDir}" - -[Code] -var - TerrasyncDirPage: TInputDirWizardPage; - -procedure URLLabelOnClick(Sender: TObject); -var - ErrorCode: Integer; -begin - ShellExec('open', 'http://www.flightgear.org', '', '', SW_SHOWNORMAL, ewNoWait, ErrorCode); -end; - -procedure CreateURLLabel(ParentForm: TSetupForm; CancelButton: TNewButton); -var - URLLabel: TNewStaticText; -begin - URLLabel := TNewStaticText.Create(ParentForm); - URLLabel.Caption := 'www.flightgear.org'; - URLLabel.Cursor := crHand; - URLLabel.OnClick := @URLLabelOnClick; - URLLabel.Parent := ParentForm; - { Alter Font *after* setting Parent so the correct defaults are inherited first } - URLLabel.Font.Style := URLLabel.Font.Style + [fsUnderline]; - URLLabel.Font.Color := clBlue; - URLLabel.Top := CancelButton.Top + CancelButton.Height - URLLabel.Height - 2; - URLLabel.Left := ScaleX(20); -end; - -procedure InitializeWizard(); -begin - TerrasyncDirPage := CreateInputDirPage(wpSelectDir, - 'Select Terrasync Directory', 'Where should scenery downloaded by Terrasync be put?', - 'Select the folder in which Terrasync would download additional scenery, then click Next.', - False, 'Terrasync Folder'); - TerrasyncDirPage.Add(''); - - CreateURLLabel(WizardForm, WizardForm.CancelButton); -end; - -function NextButtonClick(CurPageID: Integer): Boolean; -begin - if CurPageID = wpSelectDir then begin - TerrasyncDirPage.Values[0] := GetPreviousData( 'TerrasyncDir', ExpandConstant('{reg:HKLM\Software\flightgear.org,TerrasyncDir|{app}\terrasync}') ); - end; - Result := True; -end; - -function TerrasyncDir(Param: String): String; -begin - Result := TerrasyncDirPage.Values[0]; -end; - -procedure RegisterPreviousData(PreviousDataKey: Integer); -begin - { Store the settings so we can restore them next time } - SetPreviousData(PreviousDataKey, 'TerrasyncDir', TerrasyncDirPage.Values[0]); -end; - -function UpdateReadyMemo(Space, NewLine, MemoUserInfoInfo, MemoDirInfo, MemoTypeInfo, MemoComponentsInfo, MemoGroupInfo, MemoTasksInfo: String): String; -var - S: String; -begin - S := ''; - S := S + MemoDirInfo + NewLine + NewLine; - S := S + 'Terrasync folder:' + NewLine; - S := S + Space + TerrasyncDirPage.Values[0] + NewLine + NewLine; - S := S + MemoGroupInfo + NewLine + NewLine; - S := S + MemoTasksInfo + NewLine + NewLine; - - Result := S; -end; - diff --git a/package/Win32-Inno/Readme.txt b/package/Win32-Inno/Readme.txt deleted file mode 100644 index 2e3189bc1..000000000 --- a/package/Win32-Inno/Readme.txt +++ /dev/null @@ -1,101 +0,0 @@ -Welcome to the FlightGear Flight Simulator project. -=================================================== - -Thank you for installing FlightGear. FlightGear is a volunteer driven -open-source project. We appreciate you taking a look, and we hope -that you will find FlightGear interesting, useful, and educational. -We realize that not everyone is a developer, but we'd love to have you -contribute to our project with any skills you might have, such as -graphics design, 3d modeling, audio, debugging/testing, aircraft -building, real aviation experience, web page design, and yes software -development too. :-) - - -Installation -============ - -FlightGear has an install shield type installer. After you have -installed the base system, you will find a "scenery management" tool -in the FlightGear section of the start menu. You can use this tool to -easily install and remove add on scenery chunks from the CD or that -you download from the FlightGear.org website. - - -Running -======= - -Just select FlightGear from the start menu or click on the desktop -icon (if you opted to install one.) This brings up a launcher where -you can select your aircraft, starting location, and a myriad of -additional options. - - -Installing Scenery -================== - -FlightGear comes with only a very small section of scenery surrounding -the San Francisco Bay area. You can download detailed world scenery -from the main FlightGear web site or purchase the same data as a 3 DVD -set. If you are installing FlightGear from the official CD, it will -include several additional areas which you can install - -To install scenery that you have downloaded or purchased, run the -"Install & Uninstall Scenery" tool from the "FlightGear" section of -your "Start" menu. You may have to select the location of your -scenery packages, but it will automatically know the correct install -location. - - -Installing Aircraft -=================== - -FlightGear comes with a variety of aircraft, but many more are -available to download and fly. To install new aircraft, first go the -FlightGear web site and download the new aircraft to your local hard -drive. Then extract the aircraft_version.tgz file into your -C:\Program Files\FlightGear\data\Aircraft\ folder. Your new aircraft -will be available to fly the next time you start FlightGear. Don't -forget to check inside the new aircraft folder for any readme's or -operational tips from the authors. Many aircraft have custom keyboard -inputs or require special steps to operate. - - -Documentation and Tech Support -============================== - -The primary web page for FlightGear is: http://www.flightgear.org - -Please have a look through the "Installation and Getting Started" -manual in the data/Docs/ subdirectory. - -For additional install help, and hints for specific platforms, or -specific tasks please browse the "data/Docs-mini/" subdirectory. - -Please take a look at the "data/Thanks" file for a list of people who -have contributed to this project. If you have contributed something -but don't find your name in this file. Please send a polite reminder -to curt@flightgear.org - -For a summary of changes/additions by version see the "NEWS" file. - -The FlightGear project has several mailing lists available if you -cannot find an answer in the existing documentation. - -For information on available mailing lists, mailing list archives, and -other available source code and documentation, please visit our web -site. - - -License -======= - -This project is GPL'd. For complete details on our licensing please -see the "COPYING" file. - - -Thanks! -======= - -FlightGear is a product of the collaboration of large international -group of volunteers. FlightGear is a work in progress. FlightGear -comes with no warranty. We hope you enjoy FlightGear! diff --git a/package/Win32-Inno/infobefore.txt b/package/Win32-Inno/infobefore.txt deleted file mode 100644 index f62e730b8..000000000 --- a/package/Win32-Inno/infobefore.txt +++ /dev/null @@ -1,3 +0,0 @@ -=== INSTRUCTIONS BEFORE INSTALLATION === - -Please take care to disable your antivirus during installation. \ No newline at end of file diff --git a/package/Win32-Inno/setupimg.bmp b/package/Win32-Inno/setupimg.bmp deleted file mode 100644 index eb2c08e88..000000000 Binary files a/package/Win32-Inno/setupimg.bmp and /dev/null differ diff --git a/package/Win32-Inno/setupsmall.bmp b/package/Win32-Inno/setupsmall.bmp deleted file mode 100644 index 8d167d71b..000000000 Binary files a/package/Win32-Inno/setupsmall.bmp and /dev/null differ