/[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 1581 by schoenebeck, Fri Dec 7 17:52:39 2007 UTC revision 1900 by schoenebeck, Mon May 11 19:50:03 2009 UTC
# Line 1  Line 1 
1  ; LinuxSampler Windows installer  ; LinuxSampler Windows installer
2  ;  ;
3  ; Copyright (C) 2007, The LinuxSampler Developers  ; Copyright (C) 2007-2009, 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.
7    ;
8    ; PREREQUISITES:
9    ;
10    ; -> You must install the file cpudesc\cpudesc.dll into the NSIS's
11    ;    plugin directory before being able to compile this installer!
12    ;
13    ; -> The compiled binaries must be placed into the respective directories
14    ;    under bin\ (you have to read this file in order to get those exact
15    ;    locations and expected file names).
16    
17  ; Probably the best compression ratio  ; Probably the best compression ratio
18  SetCompressor lzma  SetCompressor lzma
19    
20  ;Include Modern UI  ;Include Modern UI
21  !include "MUI.nsh"  !include "MUI.nsh"
22    !include "EnvVarUpdate.nsh"
23    
24  !define RELEASE_DATE "20071207"  !define RELEASE_DATE "20090511"
25    
26  ; The name of the installer  ; The name of the installer
27  Name "LinuxSampler (${RELEASE_DATE})"  Name "LinuxSampler (${RELEASE_DATE})"
# Line 44  VIAddVersionKey /LANG=${LANG_ENGLISH} "P Line 54  VIAddVersionKey /LANG=${LANG_ENGLISH} "P
54  VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "http://linuxsampler.org"  VIAddVersionKey /LANG=${LANG_ENGLISH} "Comments" "http://linuxsampler.org"
55  VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "The LinuxSampler Project"  VIAddVersionKey /LANG=${LANG_ENGLISH} "CompanyName" "The LinuxSampler Project"
56  VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" ""  VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalTrademarks" ""
57  VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "© 2003-2007 The LinuxSampler Project"  VIAddVersionKey /LANG=${LANG_ENGLISH} "LegalCopyright" "© 2003-2009 The LinuxSampler Project"
58  VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "LinuxSampler Installer (${RELEASE_DATE})"  VIAddVersionKey /LANG=${LANG_ENGLISH} "FileDescription" "LinuxSampler Installer (${RELEASE_DATE})"
59  VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "0.0.0"  VIAddVersionKey /LANG=${LANG_ENGLISH} "FileVersion" "0.0.0"
60    
61    !define BIN_TYPE_64BIT  "64 bit"
62    !define BIN_TYPE_686SSE "686 SSE"
63    !define BIN_TYPE_686    "686"
64    
65  ;--------------------------------  ;--------------------------------
66  ; Pages  ; Pages
67    
# Line 76  Function .onInit Line 90  Function .onInit
90    StrCpy $installinggigedit "0"    StrCpy $installinggigedit "0"
91  FunctionEnd  FunctionEnd
92    
93    ; detects CPU capabilities and determmines which native binary type to install
94    Function DetectSystemType
95      Var /GLOBAL binType
96    
97      ; check if this is a 64 bit windows
98      System::Call "kernel32::GetCurrentProcess() i .s"
99      System::Call "kernel32::IsWow64Process(i s, *i .r0)"
100      IntCmp $0 0 not64bit
101      StrCpy $binType BIN_TYPE_64BIT
102      DetailPrint "64 bit Windows detected."
103      Goto DetectSystemDone
104    
105      not64bit: ; a 32 bit system
106    
107      ; check if CPU supports SSE
108      cpudesc::tell
109      Pop $0                     ; full identification string in $0
110      StrCpy $1 $0 1, 34         ; pull out one character after SSE=
111      IntFmt $2 "%u" $1          ; and turn it into a number
112      IntCmpU $2 1 +1 +4 +4
113      StrCpy $binType BIN_TYPE_686SSE
114      DetailPrint "32 bit Windows, SSE CPU detected."
115      Goto DetectSystemDone
116      StrCpy $binType BIN_TYPE_686
117      DetailPrint "32 bit Windows (no SSE support) detected."
118    
119      DetectSystemDone:
120    FunctionEnd
121    
122  ; Check for the presence of gtkmm, and if false, ask the user whether to  ; Check for the presence of gtkmm, and if false, ask the user whether to
123  ; download and install gtkmm now from the internet.  ; download and install gtkmm now from the internet.
124  Function CheckForGtkmm  Function CheckForGtkmm
# Line 134  Function DetectJRE Line 177  Function DetectJRE
177    done:    done:
178  FunctionEnd  FunctionEnd
179    
180    ; Tries to find the location where VST plugins should be installed to
181    Function DetectVstPath
182      Var /GLOBAL vstPluginPath
183    
184      ClearErrors
185      ReadRegStr $0 HKCU "Software\VST" "VSTPluginsPath"
186      IfErrors check2ndRegistryKey 0
187      StrCpy $vstPluginPath $0
188      DetailPrint "Found VST plugin directory in HKCU registry."
189      Goto done
190    
191      check2ndRegistryKey:
192      ClearErrors
193      ReadRegStr $0 HKLM "Software\VST" "VSTPluginsPath"
194      IfErrors noRegistryKeyExists 0
195      StrCpy $vstPluginPath $0
196      DetailPrint "Found VST plugin directory in HKLM registry."
197      Goto done
198    
199      noRegistryKeyExists:
200      ClearErrors
201      DetailPrint "No VST plugin directory defined in registry."
202      StrCpy $vstPluginPath "$PROGRAMFILES\Steinberg\VstPlugins"
203    
204      done:
205      DetailPrint "Using the following as VST plugin directory: $vstPluginPath"
206    FunctionEnd
207    
208    ;--------------------------------
209    
210    ; primer things to do
211    Section ""
212      Call DetectSystemType
213      Call DetectVstPath
214    SectionEnd
215    
216  ;--------------------------------  ;--------------------------------
217    
218  ; The stuff to install  ; The stuff to install
219  Section "LinuxSampler 0.5.1" SecLinuxSampler  Section "LinuxSampler 0.5.1.12cvs" SecLinuxSampler
220      DetailPrint "Installing LinuxSampler binaries ..."
221    StrCpy $installingLinuxSampler "1"    StrCpy $installingLinuxSampler "1"
222    
223    ; Set output path to the installation directory.    ; Set output path to the installation directory.
224    SetOutPath $INSTDIR    SetOutPath $INSTDIR
225    
226      StrCmp $binType BIN_TYPE_64BIT linuxsampler64
227      StrCmp $binType BIN_TYPE_686SSE linuxsampler686sse
228      Goto linuxsampler686
229    
230    ; Files to install    ; Files to install
231    File linuxsampler.exe  
232    File liblinuxsampler-1.dll    linuxsampler64:
233      File bin\64\linuxsampler.exe
234      File bin\64\liblinuxsampler-1.dll
235      SetOutPath $vstPluginPath
236      File bin\64\LinuxSampler.dll
237      Goto done
238    
239      linuxsampler686sse:
240      File bin\686sse\linuxsampler.exe
241      File bin\686sse\liblinuxsampler-1.dll
242      SetOutPath $vstPluginPath
243      File bin\686sse\LinuxSampler.dll
244      Goto done
245    
246      linuxsampler686:
247      File bin\686\linuxsampler.exe
248      File bin\686\liblinuxsampler-1.dll
249      SetOutPath $vstPluginPath
250      File bin\686\LinuxSampler.dll
251      Goto done
252    
253      done:
254  SectionEnd  SectionEnd
255    
256  Section "JSampler 'Fantasia' 0.8a" SecJSampler  Section "JSampler 'Fantasia' 0.8a-cvs6" SecJSampler
257      DetailPrint "Installing JSampler binaries ..."
258    ; make sure JRE is installed    ; make sure JRE is installed
259    Call DetectJRE    Call DetectJRE
260    StrCpy $installingJSampler "1"    StrCpy $installingJSampler "1"
261    ; Set output path to the installation directory.    ; Set output path to the installation directory.
262    SetOutPath $INSTDIR    SetOutPath $INSTDIR
263    ; Files to install    ; Files to install
264    File Fantasia-0.8a.jar    File bin\Fantasia-0.8a-cvs6.jar
265    File jsampler.ico    File jsampler.ico
266  SectionEnd  SectionEnd
267    
268  Section "QSampler 0.2.1" SecQSampler  Section "QSampler 0.2.1.26" SecQSampler
269      DetailPrint "Installing QSampler binaries ..."
270    StrCpy $installingQSampler "1"    StrCpy $installingQSampler "1"
271    ; Set output path to the installation directory.    ; Set output path to the installation directory.
272    SetOutPath $INSTDIR    SetOutPath $INSTDIR
273    ; Files to install    ; Files to install
274    File qsampler.exe    File bin\686\qsampler.exe
275    File QtCore4.dll    File bin\686\QtCore4.dll
276    File QtGui4.dll    File bin\686\QtGui4.dll
277    File mingwm10.dll    File bin\686\mingwm10.dll
278      File qsampler.ico
279      SetOutPath $INSTDIR\share\locale
280      File bin\686\share\locale\qsampler_ru.qm
281  SectionEnd  SectionEnd
282    
283  Section "gigedit 0.1.1" Secgigedit  Section "gigedit 0.1.1.x (cvs2009-05-10)" Secgigedit
284      DetailPrint "Installing gigedit binaries ..."
285    StrCpy $installinggigedit "1"    StrCpy $installinggigedit "1"
286    
287    ; make sure gtkmm is installed    ; make sure gtkmm is installed
288    Call CheckForGtkmm    ; (commented out for now, since we include gtk(mm) DLLs with this
289      ; installer, so no check and no download necessary ATM)
290      ;Call CheckForGtkmm
291    
292    ; Set output path to the installation directory.    ; Set output path to the installation directory.
293    SetOutPath $INSTDIR    SetOutPath $INSTDIR
294    
295      StrCmp $binType BIN_TYPE_64BIT gigedit64
296      ; I think we don't need a SSE optimized 32 bit binary for gigedit, one 64bit and one simple 32 bit version should be sufficient
297      ;StrCmp $binType BIN_TYPE_686SSE gigedit686sse
298      Goto gigedit686
299    
300    ; Files to install    ; Files to install
301    File gigedit.exe  
302    File libsndfile-1.dll    gigedit64:
303      File bin\64\gigedit.exe
304      File bin\64\libgigedit-1.dll
305    SetOutPath "$INSTDIR\plugins"    SetOutPath "$INSTDIR\plugins"
306    File libgigedit.dll    File bin\64\plugins\libgigeditlinuxsamplerplugin-1.dll
307      SetOutPath $INSTDIR
308      File bin\64\libatk-1.0-0.dll
309      File bin\64\libatkmm-1.6-1.dll
310      File bin\64\libcairo-2.dll
311      File bin\64\libcairomm-1.0-1.dll
312      File bin\64\libgdkmm-2.4-1.dll
313      File bin\64\libgdk_pixbuf-2.0-0.dll
314      File bin\64\libgdk-win32-2.0-0.dll
315      File bin\64\libgio-2.0-0.dll
316      File bin\64\libgiomm-2.4-1.dll
317      File bin\64\libglib-2.0-0.dll
318      File bin\64\libglibmm-2.4-1.dll
319      File bin\64\libgmodule-2.0-0.dll
320      File bin\64\libgobject-2.0-0.dll
321      File bin\64\libgthread-2.0-0.dll
322      File bin\64\libgtkmm-2.4-1.dll
323      File bin\64\libgtk-win32-2.0-0.dll
324      File bin\64\libintl-8.dll
325      File bin\64\libjpeg-62.dll
326      File bin\64\libpango-1.0-0.dll
327      File bin\64\libpangocairo-1.0-0.dll
328      File bin\64\libpangomm-1.4-1.dll
329      File bin\64\libpangowin32-1.0-0.dll
330      File bin\64\libpng12-0.dll
331      File bin\64\libsigc-2.0-0.dll
332      File bin\64\libtiff.dll
333      File bin\64\zlib1.dll
334      SetOutPath $INSTDIR\etc\gtk-2.0
335      File bin\64\etc\gtk-2.0\gtkrc
336      SetOutPath $INSTDIR\lib\gtk-2.0\2.10.0\engines
337      File bin\64\lib\gtk-2.0\2.10.0\engines\libwimp.dll
338      SetOutPath $INSTDIR\share\locale\de\LC_MESSAGES
339      File bin\64\share\locale\de\LC_MESSAGES\gigedit.mo
340      File bin\64\share\locale\de\LC_MESSAGES\gtk20.mo
341      SetOutPath $INSTDIR\share\locale\sv\LC_MESSAGES
342      File bin\64\share\locale\sv\LC_MESSAGES\gigedit.mo
343      File bin\64\share\locale\sv\LC_MESSAGES\gtk20.mo
344      SetOutPath $INSTDIR\share\themes\MS-Windows\gtk-2.0
345      File bin\64\share\themes\MS-Windows\gtk-2.0\gtkrc
346      Goto done
347    
348      gigedit686:
349      File bin\686\gigedit.exe
350      File bin\686\libgigedit-1.dll
351      SetOutPath "$INSTDIR\plugins"
352      File bin\686\plugins\libgigeditlinuxsamplerplugin-1.dll
353      SetOutPath $INSTDIR
354      File bin\686\intl.dll
355      File bin\686\jpeg62.dll
356      File bin\686\libatk-1.0-0.dll
357      File bin\686\libatkmm-1.6-1.dll
358      File bin\686\libcairo-2.dll
359      File bin\686\libcairomm-1.0-1.dll
360      File bin\686\libgdkmm-2.4-1.dll
361      File bin\686\libgdk_pixbuf-2.0-0.dll
362      File bin\686\libgdk-win32-2.0-0.dll
363      File bin\686\libgio-2.0-0.dll
364      File bin\686\libgiomm-2.4-1.dll
365      File bin\686\libglib-2.0-0.dll
366      File bin\686\libglibmm-2.4-1.dll
367      File bin\686\libgmodule-2.0-0.dll
368      File bin\686\libgobject-2.0-0.dll
369      File bin\686\libgthread-2.0-0.dll
370      File bin\686\libgtkmm-2.4-1.dll
371      File bin\686\libgtk-win32-2.0-0.dll
372      File bin\686\libpango-1.0-0.dll
373      File bin\686\libpangocairo-1.0-0.dll
374      File bin\686\libpangomm-1.4-1.dll
375      File bin\686\libpangowin32-1.0-0.dll
376      File bin\686\libpng12-0.dll
377      File bin\686\libsigc-2.0-0.dll
378      File bin\686\libtiff3.dll
379      File bin\686\zlib1.dll
380      SetOutPath $INSTDIR\etc\gtk-2.0
381      File bin\686\etc\gtk-2.0\gdk-pixbuf.loaders
382      File bin\686\etc\gtk-2.0\gtkrc
383      SetOutPath $INSTDIR\lib\gtk-2.0\2.10.0\engines
384      File bin\686\lib\gtk-2.0\2.10.0\engines\libwimp.dll
385      SetOutPath $INSTDIR\lib\gtk-2.0\2.10.0\loaders
386      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-ani.dll
387      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-bmp.dll
388      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-gif.dll
389      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-icns.dll
390      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-ico.dll
391      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-jpeg.dll
392      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-pcx.dll
393      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-png.dll
394      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-pnm.dll
395      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-ras.dll
396      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-tga.dll
397      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-tiff.dll
398      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-wbmp.dll
399      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-xbm.dll
400      File bin\686\lib\gtk-2.0\2.10.0\loaders\libpixbufloader-xpm.dll
401      SetOutPath $INSTDIR\share\locale\de\LC_MESSAGES
402      File bin\686\share\locale\de\LC_MESSAGES\gigedit.mo
403      File bin\686\share\locale\de\LC_MESSAGES\gtk20.mo
404      SetOutPath $INSTDIR\share\locale\sv\LC_MESSAGES
405      File bin\686\share\locale\sv\LC_MESSAGES\gigedit.mo
406      File bin\686\share\locale\sv\LC_MESSAGES\gtk20.mo
407      SetOutPath $INSTDIR\share\themes\MS-Windows\gtk-2.0
408      File bin\686\share\themes\MS-Windows\gtk-2.0\gtkrc
409      Goto done
410    
411      done:
412  SectionEnd  SectionEnd
413    
414  Section "libgig 3.2.1" Seclibgig  Section "libgig 3.2.1.x (cvs2009-05-03)" Seclibgig
415      DetailPrint "Installing libgig binaries ..."
416    ; We make this a mandatory component    ; We make this a mandatory component
417    SectionIn RO    SectionIn RO
418    ; Set output path to the installation directory.    ; Set output path to the installation directory.
419    SetOutPath $INSTDIR    SetOutPath $INSTDIR
420    
421      StrCmp $binType BIN_TYPE_64BIT libgig64
422      StrCmp $binType BIN_TYPE_686SSE libgig686sse
423      Goto libgig686
424    
425    ; Files to install    ; Files to install
426    File libgig-6.dll  
427    File rifftree.exe    libgig64:
428    File dlsdump.exe    File bin\64\libgig-6.dll
429    File gigdump.exe    File bin\64\rifftree.exe
430    File gigextract.exe    File bin\64\dlsdump.exe
431      File bin\64\gigdump.exe
432      File bin\64\gigextract.exe
433      ; special dependency for the 64 bit version
434      File bin\64\libgcc_s_sjlj-1.dll
435      Goto done
436    
437      libgig686sse:
438      File bin\686sse\libgig-6.dll
439      File bin\686sse\rifftree.exe
440      File bin\686sse\dlsdump.exe
441      File bin\686sse\gigdump.exe
442      File bin\686sse\gigextract.exe
443      Goto done
444    
445      libgig686:
446      File bin\686\libgig-6.dll
447      File bin\686\rifftree.exe
448      File bin\686\dlsdump.exe
449      File bin\686\gigdump.exe
450      File bin\686\gigextract.exe
451      Goto done
452    
453      done:
454    
455      ; As this is a mandatory component, we add the common binary directory
456      ; of LinuxSampler and friends to the system's PATH variable here ...
457      ${EnvVarUpdate} $0 "PATH" "A" "HKLM" "$INSTDIR"
458    
459    ; As this is a mandatory component, we misuse it to install the uninstaller as well ...    ; As this is a mandatory component, we misuse it to install the uninstaller as well ...
460    ; Write the uninstall keys for Windows    ; Write the uninstall keys for Windows
461    WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LinuxSampler" "DisplayName" "LinuxSampler ${RELEASE_DATE}"    WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LinuxSampler" "DisplayName" "LinuxSampler ${RELEASE_DATE}"
# Line 203  Section "libgig 3.2.1" Seclibgig Line 467  Section "libgig 3.2.1" Seclibgig
467    WriteRegStr HKCU "Software\LinuxSampler" "" $INSTDIR    WriteRegStr HKCU "Software\LinuxSampler" "" $INSTDIR
468  SectionEnd  SectionEnd
469    
470    Section "libsndfile 1.0.19" Seclibsndfile
471      DetailPrint "Installing libsndfile binaries ..."
472      ; We make this a mandatory component
473      SectionIn RO
474      ; Set output path to the installation directory.
475      SetOutPath $INSTDIR
476    
477      StrCmp $binType BIN_TYPE_64BIT libsndfile64
478      ; I think we don't need a SSE optimized 32 bit binary for libsndfile, one 64bit and one simple 32 bit DLL should be sufficient
479      ;StrCmp $binType BIN_TYPE_686SSE libsndfile686sse
480      Goto libsndfile686
481    
482      ; Files to install
483    
484      libsndfile64:
485      File bin\64\libsndfile-1.dll
486      Goto done
487    
488      libsndfile686:
489      File bin\686\libsndfile-1.dll
490      Goto done
491    
492      done:
493    SectionEnd
494    
495  Section "Start Menu Shortcuts" SecShortcuts  Section "Start Menu Shortcuts" SecShortcuts
     
496    CreateDirectory "$SMPROGRAMS\LinuxSampler"    CreateDirectory "$SMPROGRAMS\LinuxSampler"
497      
498    CreateShortCut "$SMPROGRAMS\LinuxSampler\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0    CreateShortCut "$SMPROGRAMS\LinuxSampler\Uninstall.lnk" "$INSTDIR\uninstall.exe" "" "$INSTDIR\uninstall.exe" 0
499      
500    StrCmp $installingLinuxSampler '1' 0 +2    StrCmp $installingLinuxSampler '1' 0 +2
501    CreateShortCut "$SMPROGRAMS\LinuxSampler\LinuxSampler 0.5.1 (backend).lnk" "$INSTDIR\linuxsampler.exe" "" "$INSTDIR\linuxsampler.exe" 0    CreateShortCut "$SMPROGRAMS\LinuxSampler\LinuxSampler 0.5.1 (stand alone backend).lnk" "$INSTDIR\linuxsampler.exe" "" "$INSTDIR\linuxsampler.exe" 0
502      
503    StrCmp $installingJSampler '1' 0 +2    StrCmp $installingJSampler '1' 0 +2
504    CreateShortCut '$SMPROGRAMS\LinuxSampler\JSampler Fantasia 0.8a (frontend).lnk' 'javaw' '-jar "$INSTDIR\Fantasia-0.8a.jar"' '$INSTDIR\jsampler.ico' 0    CreateShortCut '$SMPROGRAMS\LinuxSampler\JSampler Fantasia 0.8a (frontend).lnk' 'javaw' '-jar "$INSTDIR\Fantasia-0.8a.jar"' '$INSTDIR\jsampler.ico' 0
505      
506    StrCmp $installingQSampler '1' 0 +2    StrCmp $installingQSampler '1' 0 +2
507    CreateShortCut "$SMPROGRAMS\LinuxSampler\QSampler 0.2.1 (frontend).lnk" "$INSTDIR\qsampler.exe" "" "$INSTDIR\qsampler.exe" 0    CreateShortCut "$SMPROGRAMS\LinuxSampler\QSampler 0.2.1 (frontend).lnk" "$INSTDIR\qsampler.exe" "" "$INSTDIR\qsampler.ico" 0
508      
509    StrCmp $installinggigedit '1' 0 +2    StrCmp $installinggigedit '1' 0 +2
510    CreateShortCut "$SMPROGRAMS\LinuxSampler\gigedit 0.1.1 (stand alone).lnk" "$INSTDIR\gigedit.exe" "" "$INSTDIR\gigedit.exe" 0    CreateShortCut "$SMPROGRAMS\LinuxSampler\gigedit 0.1.1 (stand alone).lnk" "$INSTDIR\gigedit.exe" "" "$INSTDIR\gigedit.exe" 0
     
511  SectionEnd  SectionEnd
512    
513  ;--------------------------------  ;--------------------------------
# Line 228  SectionEnd Line 515  SectionEnd
515  ; Uninstaller  ; Uninstaller
516    
517  Section "Uninstall"  Section "Uninstall"
518    ; Remove registry keys    DetailPrint "Removing LinuxSampler directory from PATH variable ..."
519      ${un.EnvVarUpdate} $0 "PATH" "R" "HKLM" "$INSTDIR"
520    
521      DetailPrint "Removing registry keys ..."
522    DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LinuxSampler"    DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\LinuxSampler"
523    ; Remove files and uninstaller  
524    Delete $INSTDIR\*.*    DetailPrint "Removing VST plugin ..."
525    Delete $INSTDIR\plugins\*.*    Delete $vstPluginPath\LinuxSampler.dll
526    ; Remove shortcuts, if any  
527      DetailPrint "Removing shortcuts (if any) ..."
528    Delete "$SMPROGRAMS\LinuxSampler\*.*"    Delete "$SMPROGRAMS\LinuxSampler\*.*"
529    ; Remove directories used  
530      DetailPrint "Removing directories used ..."
531    RMDir "$SMPROGRAMS\LinuxSampler"    RMDir "$SMPROGRAMS\LinuxSampler"
532    RMDir "$INSTDIR\plugins"    RMDir /r "$INSTDIR"
   RMDir "$INSTDIR"  
533  SectionEnd  SectionEnd
534    
535  ;--------------------------------  ;--------------------------------
536  ;Descriptions  ;Descriptions
537    
538  ;Language strings  ;Language strings
539  LangString DESC_SecLinuxSampler ${LANG_ENGLISH} "Sampler backend, including sampler engine, MIDI and audio drivers, native C++ API as well as network (LSCP) API. Use a frontend application like JSampler or QSampler to control the sampler."  LangString DESC_SecLinuxSampler ${LANG_ENGLISH} "Sampler backend (stand-alone application and VST plugin), including sampler engine, MIDI and audio drivers, native C++ API as well as network (LSCP) API. Use a frontend application like JSampler or QSampler to control the sampler."
540  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."
541  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!"
542  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. NOTE: this is yet an early development version!"  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. NOTE: this is yet an early development version!"
543  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 Gigasampler format (v2 and v3) files. This library is required by LinuxSampler, gigedit and QSampler."
544    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."
545  LangString DESC_SecShortcuts ${LANG_ENGLISH} "Installs start menu shortcuts for all applications."  LangString DESC_SecShortcuts ${LANG_ENGLISH} "Installs start menu shortcuts for all applications."
546    
547  ;Assign language strings to sections  ;Assign language strings to sections
# Line 259  LangString DESC_SecShortcuts ${LANG_ENGL Line 551  LangString DESC_SecShortcuts ${LANG_ENGL
551    !insertmacro MUI_DESCRIPTION_TEXT ${SecQSampler} $(DESC_SecQSampler)    !insertmacro MUI_DESCRIPTION_TEXT ${SecQSampler} $(DESC_SecQSampler)
552    !insertmacro MUI_DESCRIPTION_TEXT ${Secgigedit} $(DESC_Secgigedit)    !insertmacro MUI_DESCRIPTION_TEXT ${Secgigedit} $(DESC_Secgigedit)
553    !insertmacro MUI_DESCRIPTION_TEXT ${Seclibgig} $(DESC_Seclibgig)    !insertmacro MUI_DESCRIPTION_TEXT ${Seclibgig} $(DESC_Seclibgig)
554      !insertmacro MUI_DESCRIPTION_TEXT ${Seclibsndfile} $(DESC_Seclibsndfile)
555    !insertmacro MUI_DESCRIPTION_TEXT ${SecShortcuts} $(DESC_SecShortcuts)    !insertmacro MUI_DESCRIPTION_TEXT ${SecShortcuts} $(DESC_SecShortcuts)
556  !insertmacro MUI_FUNCTION_DESCRIPTION_END  !insertmacro MUI_FUNCTION_DESCRIPTION_END

Legend:
Removed from v.1581  
changed lines
  Added in v.1900

  ViewVC Help
Powered by ViewVC