/[svn]/misc/trunk/win32_installer/linuxsampler_all.nsi
ViewVC logotype

Diff of /misc/trunk/win32_installer/linuxsampler_all.nsi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2345 by persson, Tue May 1 11:43:07 2012 UTC revision 2853 by persson, Fri Nov 20 17:34:28 2015 UTC
# Line 1  Line 1 
1  ; LinuxSampler Windows installer  ; LinuxSampler Windows installer
2  ;  ;
3  ; Copyright (C) 2007-2011, The LinuxSampler Developers  ; Copyright (C) 2007-2015, The LinuxSampler Developers
4  ;  ;
5  ; All-in-one Installer for all subprojects / software components of the  ; All-in-one Installer for all subprojects / software components of the
6  ; LinuxSampler Project.  ; LinuxSampler Project.
# Line 23  SetCompressor lzma Line 23  SetCompressor lzma
23  ;Include Modern UI  ;Include Modern UI
24  !include "MUI.nsh"  !include "MUI.nsh"
25  !include "EnvVarUpdate.nsh"  !include "EnvVarUpdate.nsh"
26    !include "WordFunc.nsh"
27    
28  !define /date RELEASE_DATE "%Y%m%d"  !define /date RELEASE_DATE "%Y%m%d"
29  !searchparse /file bin/686/linuxsampler.pc `Version: ` LINUXSAMPLER_VERSION  !searchparse /file bin/686/linuxsampler.pc `Version: ` LINUXSAMPLER_VERSION
# Line 39  Name "LinuxSampler (${RELEASE_DATE})" Line 40  Name "LinuxSampler (${RELEASE_DATE})"
40  OutFile "linuxsampler_${RELEASE_DATE}_setup.exe"  OutFile "linuxsampler_${RELEASE_DATE}_setup.exe"
41    
42  ; Java Runtime Environment, needed for JSampler  ; Java Runtime Environment, needed for JSampler
43  !define JRE_VERSION "1.6"  ; jre-8u66-windows-i586.exe:
44  ; jre-6u31-windows-i586.exe:  !define JRE_32_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=113217"
45  !define JRE_32_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=62314"  ; jre-8u66-windows-x64.exe:
46  ; jre-6u31-windows-x86.exe:  !define JRE_64_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=113219"
 !define JRE_64_URL "http://javadl.sun.com/webapps/download/AutoDL?BundleId=60338"  
47    
48  ; The default installation directory  ; The default installation directory
49  InstallDir "$PROGRAMFILES64\LinuxSampler"  InstallDir "$PROGRAMFILES64\LinuxSampler"
# Line 92  VIAddVersionKey /LANG=${LANG_ENGLISH} "P Line 92  VIAddVersionKey /LANG=${LANG_ENGLISH} "P
92  VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "http://linuxsampler.org"  VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "http://linuxsampler.org"
93  VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "The LinuxSampler Project"  VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "The LinuxSampler Project"
94  VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" ""  VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" ""
95  VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "© 2003-2011 The LinuxSampler Project"  VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "© 2003-2015 The LinuxSampler Project"
96  VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "LinuxSampler Installer (${RELEASE_DATE})"  VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "LinuxSampler Installer (${RELEASE_DATE})"
97  VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "0.0.0"  VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "0.0.0"
98    
# Line 163  Function GetJRE Line 163  Function GetJRE
163    
164    DetailPrint "Downloading JRE from: $jreUri"    DetailPrint "Downloading JRE from: $jreUri"
165    
166    MessageBox MB_OK "JSampler requires Java ${JRE_VERSION}, it will now \    MessageBox MB_OK "JSampler requires Java ${JRE_VERSION} or later, \
167                      be downloaded and installed"                      it will now be downloaded and installed"
168    
169    StrCpy $2 "$TEMP\Java Runtime Environment.exe"    StrCpy $2 "$TEMP\Java Runtime Environment.exe"
170    nsisdl::download /TIMEOUT=30000 "$jreUri" $2    nsisdl::download /TIMEOUT=30000 "$jreUri" $2
# Line 180  FunctionEnd Line 180  FunctionEnd
180  Function DetectJRE  Function DetectJRE
181    ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" \    ReadRegStr $2 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" \
182               "CurrentVersion"               "CurrentVersion"
183    StrCmp $2 ${JRE_VERSION} done    ${VersionCompare} $2 ${JRE_VERSION} $R0
184      IntCmp $R0 1 done done
185    
186    StrCmp $binType BIN_TYPE_64BIT 0 downloadjre    StrCmp $binType BIN_TYPE_64BIT 0 downloadjre
187    
# Line 190  Function DetectJRE Line 191  Function DetectJRE
191    ReadRegStr $3 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" \    ReadRegStr $3 HKLM "SOFTWARE\JavaSoft\Java Runtime Environment" \
192               "CurrentVersion"               "CurrentVersion"
193    SetRegView 64  ; restore 64 bit view    SetRegView 64  ; restore 64 bit view
194    StrCmp $3 ${JRE_VERSION} done    ${VersionCompare} $3 ${JRE_VERSION} $R0
195      IntCmp $R0 1 done done
196    
197    downloadjre:    downloadjre:
198    Call GetJRE    Call GetJRE
# Line 288  Section "LinuxSampler ${LINUXSAMPLER_VER Line 290  Section "LinuxSampler ${LINUXSAMPLER_VER
290    linuxsampler64:    linuxsampler64:
291    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"
292    File bin\64\linuxsampler.exe    File bin\64\linuxsampler.exe
293    File bin\64\liblinuxsampler-3.dll    File bin\64\liblinuxsampler-4.dll
294    File bin\64\libsqlite3-0.dll    File bin\64\libsqlite3-0.dll
295    SetOutPath $vstPluginPath64    SetOutPath $vstPluginPath64
296    File /oname=LinuxSampler64.dll bin\64\LinuxSampler.dll    File /oname=LinuxSampler64.dll bin\64\LinuxSampler.dll
# Line 302  Section "LinuxSampler ${LINUXSAMPLER_VER Line 304  Section "LinuxSampler ${LINUXSAMPLER_VER
304    linuxsampler686sse:    linuxsampler686sse:
305    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
306    File bin\686sse\linuxsampler.exe    File bin\686sse\linuxsampler.exe
307    File bin\686sse\liblinuxsampler-3.dll    File bin\686sse\liblinuxsampler-4.dll
308    File bin\686\libsqlite3-0.dll    File bin\686\libsqlite3-0.dll
309    SetOutPath $vstPluginPath    SetOutPath $vstPluginPath
310    File /oname=LinuxSampler32.dll bin\686sse\LinuxSampler.dll    File /oname=LinuxSampler32.dll bin\686sse\LinuxSampler.dll
# Line 311  Section "LinuxSampler ${LINUXSAMPLER_VER Line 313  Section "LinuxSampler ${LINUXSAMPLER_VER
313    linuxsampler686:    linuxsampler686:
314    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
315    File bin\686\linuxsampler.exe    File bin\686\linuxsampler.exe
316    File bin\686\liblinuxsampler-3.dll    File bin\686\liblinuxsampler-4.dll
317    File bin\686\libsqlite3-0.dll    File bin\686\libsqlite3-0.dll
318    SetOutPath $vstPluginPath    SetOutPath $vstPluginPath
319    File /oname=LinuxSampler32.dll bin\686\LinuxSampler.dll    File /oname=LinuxSampler32.dll bin\686\LinuxSampler.dll
# Line 371  Section "gigedit ${GIGEDIT_VERSION}" Sec Line 373  Section "gigedit ${GIGEDIT_VERSION}" Sec
373    gigedit64:    gigedit64:
374    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"
375    File bin\64\gigedit.exe    File bin\64\gigedit.exe
376    File bin\64\libgigedit-2.dll    File bin\64\libgigedit-3.dll
377    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}\plugins"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}\plugins"
378    File bin\64\plugins\libgigeditlinuxsamplerplugin.dll    File bin\64\plugins\libgigeditlinuxsamplerplugin.dll
379    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"
# Line 422  Section "gigedit ${GIGEDIT_VERSION}" Sec Line 424  Section "gigedit ${GIGEDIT_VERSION}" Sec
424    gigedit686:    gigedit686:
425    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
426    File bin\686\gigedit.exe    File bin\686\gigedit.exe
427    File bin\686\libgigedit-2.dll    File bin\686\libgigedit-3.dll
428    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}\plugins"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}\plugins"
429    File bin\686\plugins\libgigeditlinuxsamplerplugin.dll    File bin\686\plugins\libgigeditlinuxsamplerplugin.dll
430    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
# Line 486  Section "gigedit ${GIGEDIT_VERSION}" Sec Line 488  Section "gigedit ${GIGEDIT_VERSION}" Sec
488    done:    done:
489  SectionEnd  SectionEnd
490    
491  Section "libgig 3.3.0" Seclibgig  Section "libgig ${LIBGIG_VERSION}" Seclibgig
492    DetailPrint "Installing libgig binaries ..."    DetailPrint "Installing libgig binaries ..."
493    ; We make this a mandatory component    ; We make this a mandatory component
494    SectionIn RO    SectionIn RO
# Line 499  Section "libgig 3.3.0" Seclibgig Line 501  Section "libgig 3.3.0" Seclibgig
501    
502    libgig64:    libgig64:
503    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"
504    File bin\64\libgig-6.dll    File bin\64\libgig-7.dll
505      File bin\64\libakai-0.dll
506    File bin\64\rifftree.exe    File bin\64\rifftree.exe
507    File bin\64\dlsdump.exe    File bin\64\dlsdump.exe
508    File bin\64\gigdump.exe    File bin\64\gigdump.exe
509    File bin\64\gigextract.exe    File bin\64\gigextract.exe
510      File bin\64\gigmerge.exe
511      File bin\64\gig2mono.exe
512      File bin\64\gig2stereo.exe
513      File bin\64\korg2gig.exe
514      File bin\64\korgdump.exe
515      File bin\64\akaidump.exe
516      File bin\64\akaiextract.exe
517      File bin\64\sf2dump.exe
518      File bin\64\sf2extract.exe
519    ; special dependencies for the 64 bit version    ; special dependencies for the 64 bit version
520    File bin\64\libgcc_s_sjlj-1.dll    File bin\64\libgcc_s_sjlj-1.dll
521    File bin\64\libstdc++-6.dll    File bin\64\libstdc++-6.dll
522    
523    ; shall we install the 32 bit version as well?    ; shall we install the 32 bit version as well?
524    StrCmp $installing32BitToo "1" libgig686sse done    StrCmp $installing32BitToo "1" libgig686sse
525      StrCmp $installingQSampler "1" libgigForQsampler done
526    
527      ; QSampler needs the 32 bit libgig dll
528      libgigForQsampler:
529      SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
530      File bin\686sse\libgig-7.dll
531      Goto done
532    
533    libgig686sse:    libgig686sse:
534    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
535    File bin\686sse\libgig-6.dll    File bin\686sse\libgig-7.dll
536      File bin\686sse\libakai-0.dll
537    File bin\686sse\rifftree.exe    File bin\686sse\rifftree.exe
538    File bin\686sse\dlsdump.exe    File bin\686sse\dlsdump.exe
539    File bin\686sse\gigdump.exe    File bin\686sse\gigdump.exe
540    File bin\686sse\gigextract.exe    File bin\686sse\gigextract.exe
541      File bin\686sse\gigmerge.exe
542      File bin\686sse\gig2mono.exe
543      File bin\686sse\gig2stereo.exe
544      File bin\686sse\korg2gig.exe
545      File bin\686sse\korgdump.exe
546      File bin\686sse\akaidump.exe
547      File bin\686sse\akaiextract.exe
548      File bin\686sse\sf2dump.exe
549      File bin\686sse\sf2extract.exe
550    Goto done    Goto done
551    
552    libgig686:    libgig686:
553    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
554    File bin\686\libgig-6.dll    File bin\686\libgig-7.dll
555      File bin\686\libakai-0.dll
556    File bin\686\rifftree.exe    File bin\686\rifftree.exe
557    File bin\686\dlsdump.exe    File bin\686\dlsdump.exe
558    File bin\686\gigdump.exe    File bin\686\gigdump.exe
559    File bin\686\gigextract.exe    File bin\686\gigextract.exe
560      File bin\686\gigmerge.exe
561      File bin\686\gig2mono.exe
562      File bin\686\gig2stereo.exe
563      File bin\686\korg2gig.exe
564      File bin\686\korgdump.exe
565      File bin\686\akaidump.exe
566      File bin\686\akaiextract.exe
567      File bin\686\sf2dump.exe
568      File bin\686\sf2extract.exe
569    Goto done    Goto done
570    
571    done:    done:
# Line 704  LangString DESC_SecLinuxSampler ${LANG_E Line 743  LangString DESC_SecLinuxSampler ${LANG_E
743  LangString DESC_SecJSampler ${LANG_ENGLISH} "Graphical frontend (user interface) for LinuxSampler written in Java, supporting all current features of LinuxSampler. This is the 'Fantasia' distribution of JSampler, offering a modern skin based look."  LangString DESC_SecJSampler ${LANG_ENGLISH} "Graphical frontend (user interface) for LinuxSampler written in Java, supporting all current features of LinuxSampler. This is the 'Fantasia' distribution of JSampler, offering a modern skin based look."
744  LangString DESC_SecQSampler ${LANG_ENGLISH} "Graphical light-weight frontend (user interface) for LinuxSampler written in C++, offering a fast native user interface. NOTE: QSampler doesn't support all LinuxSampler features yet!"  LangString DESC_SecQSampler ${LANG_ENGLISH} "Graphical light-weight frontend (user interface) for LinuxSampler written in C++, offering a fast native user interface. NOTE: QSampler doesn't support all LinuxSampler features yet!"
745  LangString DESC_Secgigedit ${LANG_ENGLISH} "Graphical instrument editor for Gigasampler format v2 and v3 files. Can be used stand-alone or in conjunction with LinuxSampler."  LangString DESC_Secgigedit ${LANG_ENGLISH} "Graphical instrument editor for Gigasampler format v2 and v3 files. Can be used stand-alone or in conjunction with LinuxSampler."
746  LangString DESC_Seclibgig ${LANG_ENGLISH} "C++ program library for accessing DLS (Level 1 and Level 2) and Gigasampler format (v2 and v3) files. This library is required by LinuxSampler, gigedit and QSampler."  LangString DESC_Seclibgig ${LANG_ENGLISH} "C++ program library for accessing DLS (Level 1 and Level 2) and GigaStudio/Gigasampler format (up to v4), SoundFont, AKAI and KORG files. This library is required by LinuxSampler, gigedit and QSampler."
747  LangString DESC_Seclibsndfile ${LANG_ENGLISH} "C program library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format), used by gigedit to import samples."  LangString DESC_Seclibsndfile ${LANG_ENGLISH} "C program library for reading and writing files containing sampled sound (such as MS Windows WAV and the Apple/SGI AIFF format), used by gigedit to import samples."
748  LangString DESC_SecShortcuts ${LANG_ENGLISH} "Installs start menu shortcuts for all applications."  LangString DESC_SecShortcuts ${LANG_ENGLISH} "Installs start menu shortcuts for all applications."
749    

Legend:
Removed from v.2345  
changed lines
  Added in v.2853

  ViewVC Help
Powered by ViewVC