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 |
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 |
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 |
|
SetOutPath $samplerDir |
633 |
CreateShortCut "$SMPROGRAMS\LinuxSampler\LinuxSampler 0.5.1.12cvs (stand alone backend).lnk" "$samplerDir\linuxsampler.exe" "" "$samplerDir\linuxsampler.exe" 0 |
CreateShortCut "$SMPROGRAMS\LinuxSampler\LinuxSampler 0.5.1.12cvs (stand alone backend).lnk" "$samplerDir\linuxsampler.exe" "" "$samplerDir\linuxsampler.exe" 0 |
634 |
|
|
635 |
StrCmp $installingJSampler '1' 0 +2 |
StrCmp $installingJSampler '1' 0 +3 |
636 |
|
SetOutPath $INSTDIR |
637 |
CreateShortCut '$SMPROGRAMS\LinuxSampler\JSampler Fantasia 0.8a-cvs8 (frontend).lnk' '$javawbin' '-jar "$INSTDIR\Fantasia-0.8a-cvs8.jar"' '$INSTDIR\jsampler.ico' 0 |
CreateShortCut '$SMPROGRAMS\LinuxSampler\JSampler Fantasia 0.8a-cvs8 (frontend).lnk' '$javawbin' '-jar "$INSTDIR\Fantasia-0.8a-cvs8.jar"' '$INSTDIR\jsampler.ico' 0 |
638 |
|
|
639 |
StrCmp $installingQSampler '1' 0 +2 |
StrCmp $installingQSampler '1' 0 +3 |
640 |
|
SetOutPath $INSTDIR |
641 |
CreateShortCut "$SMPROGRAMS\LinuxSampler\QSampler 0.2.1.26 (frontend).lnk" "$INSTDIR\qsampler.exe" "" "$INSTDIR\qsampler.ico" 0 |
CreateShortCut "$SMPROGRAMS\LinuxSampler\QSampler 0.2.1.26 (frontend).lnk" "$INSTDIR\qsampler.exe" "" "$INSTDIR\qsampler.ico" 0 |
642 |
|
|
643 |
StrCmp $installinggigedit '1' 0 +2 |
StrCmp $installinggigedit '1' 0 +3 |
644 |
|
SetOutPath $samplerDir |
645 |
CreateShortCut "$SMPROGRAMS\LinuxSampler\gigedit 0.1.1.x cvs2009-05-10 (stand alone).lnk" "$samplerDir\gigedit.exe" "" "$samplerDir\gigedit.exe" 0 |
CreateShortCut "$SMPROGRAMS\LinuxSampler\gigedit 0.1.1.x cvs2009-05-10 (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 |
;-------------------------------- |
;-------------------------------- |