]> git.mxchange.org Git - flightgear.git/blobdiff - package/Win-NSIS/flightgear-nightly.nsi
Introducing: The new navradio code (WIP)
[flightgear.git] / package / Win-NSIS / flightgear-nightly.nsi
index 55e5c151ff85444165f743666b05bfd08fdf3261..856d861baf34668aaf408d636a98f16c2433312d 100644 (file)
@@ -5,11 +5,12 @@
 
 !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.exe
+OutFile fgfs_win32_nightly_${FGVersion}.exe
 
 ; use LZMA for best compression
 SetCompressor /FINAL /SOLID lzma
@@ -93,22 +94,38 @@ Section "" ;No components page, name is not important
   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" "2.1"
+  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
@@ -133,4 +150,4 @@ Section "Uninstall"
   DeleteRegKey HKLM ${UninstallKey}
 
 SectionEnd
\ No newline at end of file