/[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 1927 by schoenebeck, Thu Jul 2 23:02:17 2009 UTC revision 1982 by persson, Mon Aug 3 20:37:13 2009 UTC
# Line 21  SetCompressor lzma Line 21  SetCompressor lzma
21  !include "MUI.nsh"  !include "MUI.nsh"
22  !include "EnvVarUpdate.nsh"  !include "EnvVarUpdate.nsh"
23    
24  !define RELEASE_DATE "20090623"  !define RELEASE_DATE "20090803"
25    
26  ; The name of the installer  ; The name of the installer
27  Name "LinuxSampler (${RELEASE_DATE})"  Name "LinuxSampler (${RELEASE_DATE})"
# Line 100  Function .onInit Line 100  Function .onInit
100    StrCpy $installing32BitToo "0"    StrCpy $installing32BitToo "0"
101  FunctionEnd  FunctionEnd
102    
103    !macro CreateInternetShortcut FILENAME URL ICONFILE ICONINDEX
104    WriteINIStr "${FILENAME}.url" "InternetShortcut" "URL" "${URL}"
105    WriteINIStr "${FILENAME}.url" "InternetShortcut" "IconFile" "${ICONFILE}"
106    WriteINIStr "${FILENAME}.url" "InternetShortcut" "IconIndex" "${ICONINDEX}"
107    !macroend
108    
109  ; detects CPU capabilities, determines which native binary type to install  ; detects CPU capabilities, determines which native binary type to install
110  ; and selects the appropriate windows registry view (32 bit or 64 bit)  ; and selects the appropriate windows registry view (32 bit or 64 bit)
111  !macro DetectSystemType un  !macro DetectSystemType un
# Line 293  SectionEnd Line 299  SectionEnd
299  ;--------------------------------  ;--------------------------------
300    
301  ; The stuff to install  ; The stuff to install
302  Section "LinuxSampler 0.5.1.12cvs" SecLinuxSampler  Section "LinuxSampler 1.0.0" SecLinuxSampler
303    DetailPrint "Installing LinuxSampler binaries ..."    DetailPrint "Installing LinuxSampler binaries ..."
304    StrCpy $installingLinuxSampler "1"    StrCpy $installingLinuxSampler "1"
305    
# Line 306  Section "LinuxSampler 0.5.1.12cvs" SecLi Line 312  Section "LinuxSampler 0.5.1.12cvs" SecLi
312    linuxsampler64:    linuxsampler64:
313    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"
314    File bin\64\linuxsampler.exe    File bin\64\linuxsampler.exe
315    File bin\64\liblinuxsampler-1.dll    File bin\64\liblinuxsampler-3.dll
316    File bin\64\libsqlite3-0.dll    File bin\64\libsqlite3-0.dll
317    SetOutPath $vstPluginPath64    SetOutPath $vstPluginPath64
318    File /oname=LinuxSampler64.dll bin\64\LinuxSampler.dll    File /oname=LinuxSampler64.dll bin\64\LinuxSampler.dll
319    MessageBox MB_YESNO \    MessageBox MB_YESNO \
320      "It seems you are using a 64 bit Windows system. A native 64 bit\nversion of LinuxSampler and its VST plugin version will be\ninstalled accordingly.\n\nShall a 32 bit version of the LinuxSampler VST be installed as well?" \      "It seems you are using a 64 bit Windows system. A native 64 bit version of LinuxSampler and its VST plugin version will be installed accordingly.$\r$\n$\r$\nShall a 32 bit version of the LinuxSampler VST be installed as well?" \
321      IDNO done      IDNO done
322    
323    ; so the other sections install their 32 bit versions as well    ; so the other sections install their 32 bit versions as well
# Line 320  Section "LinuxSampler 0.5.1.12cvs" SecLi Line 326  Section "LinuxSampler 0.5.1.12cvs" SecLi
326    linuxsampler686sse:    linuxsampler686sse:
327    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
328    File bin\686sse\linuxsampler.exe    File bin\686sse\linuxsampler.exe
329    File bin\686sse\liblinuxsampler-1.dll    File bin\686sse\liblinuxsampler-3.dll
330    File bin\686\libsqlite3-0.dll    File bin\686\libsqlite3-0.dll
331    SetOutPath $vstPluginPath    SetOutPath $vstPluginPath
332    File /oname=LinuxSampler32.dll bin\686sse\LinuxSampler.dll    File /oname=LinuxSampler32.dll bin\686sse\LinuxSampler.dll
# Line 329  Section "LinuxSampler 0.5.1.12cvs" SecLi Line 335  Section "LinuxSampler 0.5.1.12cvs" SecLi
335    linuxsampler686:    linuxsampler686:
336    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
337    File bin\686\linuxsampler.exe    File bin\686\linuxsampler.exe
338    File bin\686\liblinuxsampler-1.dll    File bin\686\liblinuxsampler-3.dll
339    File bin\686\libsqlite3-0.dll    File bin\686\libsqlite3-0.dll
340    SetOutPath $vstPluginPath    SetOutPath $vstPluginPath
341    File /oname=LinuxSampler32.dll bin\686\LinuxSampler.dll    File /oname=LinuxSampler32.dll bin\686\LinuxSampler.dll
# Line 338  Section "LinuxSampler 0.5.1.12cvs" SecLi Line 344  Section "LinuxSampler 0.5.1.12cvs" SecLi
344    done:    done:
345  SectionEnd  SectionEnd
346    
347  Section "JSampler 'Fantasia' 0.8a-cvs8" SecJSampler  Section "JSampler 'Fantasia' 0.9" SecJSampler
348    DetailPrint "Installing JSampler binaries ..."    DetailPrint "Installing JSampler binaries ..."
349    ; make sure JRE is installed    ; make sure JRE is installed
350    Call DetectJRE    Call DetectJRE
# Line 346  Section "JSampler 'Fantasia' 0.8a-cvs8" Line 352  Section "JSampler 'Fantasia' 0.8a-cvs8"
352    ; Set output path to the installation directory.    ; Set output path to the installation directory.
353    SetOutPath $INSTDIR    SetOutPath $INSTDIR
354    ; Files to install    ; Files to install
355    File bin\Fantasia-0.8a-cvs8.jar    File bin\Fantasia-0.9.jar
356    File jsampler.ico    File jsampler.ico
357  SectionEnd  SectionEnd
358    
359  Section "QSampler 0.2.1.26" SecQSampler  Section "QSampler 0.2.2" SecQSampler
360    DetailPrint "Installing QSampler binaries ..."    DetailPrint "Installing QSampler binaries ..."
361    StrCpy $installingQSampler "1"    StrCpy $installingQSampler "1"
362    ; Set output path to the installation directory.    ; Set output path to the installation directory.
# Line 365  Section "QSampler 0.2.1.26" SecQSampler Line 371  Section "QSampler 0.2.1.26" SecQSampler
371    File bin\686\share\locale\qsampler_ru.qm    File bin\686\share\locale\qsampler_ru.qm
372  SectionEnd  SectionEnd
373    
374  Section "gigedit 0.1.1.x (cvs2009-05-10)" Secgigedit  Section "gigedit 0.2.0" Secgigedit
375    DetailPrint "Installing gigedit binaries ..."    DetailPrint "Installing gigedit binaries ..."
376    StrCpy $installinggigedit "1"    StrCpy $installinggigedit "1"
377    
# Line 384  Section "gigedit 0.1.1.x (cvs2009-05-10) Line 390  Section "gigedit 0.1.1.x (cvs2009-05-10)
390    gigedit64:    gigedit64:
391    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"
392    File bin\64\gigedit.exe    File bin\64\gigedit.exe
393    File bin\64\libgigedit-1.dll    File bin\64\libgigedit-2.dll
394    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}\plugins"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}\plugins"
395    File bin\64\plugins\libgigeditlinuxsamplerplugin-1.dll    File bin\64\plugins\libgigeditlinuxsamplerplugin.dll
396    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_64_BIT}"
397    File bin\64\libatk-1.0-0.dll    File bin\64\libatk-1.0-0.dll
398    File bin\64\libatkmm-1.6-1.dll    File bin\64\libatkmm-1.6-1.dll
# Line 433  Section "gigedit 0.1.1.x (cvs2009-05-10) Line 439  Section "gigedit 0.1.1.x (cvs2009-05-10)
439    gigedit686:    gigedit686:
440    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
441    File bin\686\gigedit.exe    File bin\686\gigedit.exe
442    File bin\686\libgigedit-1.dll    File bin\686\libgigedit-2.dll
443    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}\plugins"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}\plugins"
444    File bin\686\plugins\libgigeditlinuxsamplerplugin-1.dll    File bin\686\plugins\libgigeditlinuxsamplerplugin.dll
445    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"    SetOutPath "$INSTDIR\${SUBDIR_32_BIT}"
446    File bin\686\intl.dll    File bin\686\intl.dll
447    File bin\686\jpeg62.dll    File bin\686\jpeg62.dll
# Line 497  Section "gigedit 0.1.1.x (cvs2009-05-10) Line 503  Section "gigedit 0.1.1.x (cvs2009-05-10)
503    done:    done:
504  SectionEnd  SectionEnd
505    
506  Section "libgig 3.2.1.x (cvs2009-05-03)" Seclibgig  Section "libgig 3.3.0" Seclibgig
507    DetailPrint "Installing libgig binaries ..."    DetailPrint "Installing libgig binaries ..."
508    ; We make this a mandatory component    ; We make this a mandatory component
509    SectionIn RO    SectionIn RO
# Line 567  Section "libgig 3.2.1.x (cvs2009-05-03)" Line 573  Section "libgig 3.2.1.x (cvs2009-05-03)"
573    WriteRegStr HKLM "Software\LinuxSampler" "Release Date" ${RELEASE_DATE}    WriteRegStr HKLM "Software\LinuxSampler" "Release Date" ${RELEASE_DATE}
574  SectionEnd  SectionEnd
575    
576  Section "libsndfile 1.0.19" Seclibsndfile  Section "libsndfile 1.0.20" Seclibsndfile
577    DetailPrint "Installing libsndfile binaries ..."    DetailPrint "Installing libsndfile binaries ..."
578    ; We make this a mandatory component    ; We make this a mandatory component
579    SectionIn RO    SectionIn RO
# Line 619  Section "Start Menu Shortcuts" SecShortc Line 625  Section "Start Menu Shortcuts" SecShortc
625    
626    CreateDirectory "$SMPROGRAMS\LinuxSampler"    CreateDirectory "$SMPROGRAMS\LinuxSampler"
627    
628      SetOutPath $INSTDIR
629    CreateShortCut "$SMPROGRAMS\LinuxSampler\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0    CreateShortCut "$SMPROGRAMS\LinuxSampler\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
630    
631    StrCmp $installingLinuxSampler '1' 0 +2    StrCmp $installingLinuxSampler '1' 0 +3
632    CreateShortCut "$SMPROGRAMS\LinuxSampler\LinuxSampler 0.5.1.12cvs (stand alone backend).lnk" "$samplerDir\linuxsampler.exe" "" "$samplerDir\linuxsampler.exe" 0    SetOutPath $samplerDir
633      CreateShortCut "$SMPROGRAMS\LinuxSampler\LinuxSampler 1.0.0 (stand alone backend).lnk" "$samplerDir\linuxsampler.exe" "" "$samplerDir\linuxsampler.exe" 0
634    
635    StrCmp $installingJSampler '1' 0 +2    StrCmp $installingJSampler '1' 0 +3
636    CreateShortCut '$SMPROGRAMS\LinuxSampler\JSampler Fantasia 0.8a-cvs8 (frontend).lnk' '$javawbin' '-jar "$INSTDIR\Fantasia-0.8a-cvs8.jar"' '$INSTDIR\jsampler.ico' 0    SetOutPath $INSTDIR
637      CreateShortCut '$SMPROGRAMS\LinuxSampler\JSampler Fantasia 0.9 (frontend).lnk' '$javawbin' '-jar "$INSTDIR\Fantasia-0.9.jar"' '$INSTDIR\jsampler.ico' 0
638    
639    StrCmp $installingQSampler '1' 0 +2    StrCmp $installingQSampler '1' 0 +3
640    CreateShortCut "$SMPROGRAMS\LinuxSampler\QSampler 0.2.1.26 (frontend).lnk" "$INSTDIR\qsampler.exe" "" "$INSTDIR\qsampler.ico" 0    SetOutPath $INSTDIR
641      CreateShortCut "$SMPROGRAMS\LinuxSampler\QSampler 0.2.2 (frontend).lnk" "$INSTDIR\qsampler.exe" "" "$INSTDIR\qsampler.ico" 0
642    
643    StrCmp $installinggigedit '1' 0 +2    StrCmp $installinggigedit '1' 0 +3
644    CreateShortCut "$SMPROGRAMS\LinuxSampler\gigedit 0.1.1.x cvs2009-05-10 (stand alone).lnk" "$samplerDir\gigedit.exe" "" "$samplerDir\gigedit.exe" 0    SetOutPath $samplerDir
645      CreateShortCut "$SMPROGRAMS\LinuxSampler\gigedit 0.2.0 (stand alone).lnk" "$samplerDir\gigedit.exe" "" "$samplerDir\gigedit.exe" 0
646    
647      !insertmacro CreateInternetShortcut \
648      "$SMPROGRAMS\LinuxSampler\\Support LinuxSampler" \
649      "http://www.linuxsampler.org/donations.html" \
650      "" "0"
651  SectionEnd  SectionEnd
652    
653  ;--------------------------------  ;--------------------------------

Legend:
Removed from v.1927  
changed lines
  Added in v.1982

  ViewVC Help
Powered by ViewVC