350
350
WriteRegExpandStr ${NT_all_env} "PATH" $3
351
351
Goto un_write_path_NT_resume
352
352
un_write_path_NT_current:
353
WriteRegExpandStr ${NT_current_env} "PATH" $3
354
un_write_path_NT_resume:
355
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
354
IntCmp $0 0 unDeletePath
355
WriteRegExpandStr ${NT_current_env} "PATH" $3
356
Goto un_write_path_NT_resume
358
DeleteRegValue ${NT_current_env} "PATH"
359
un_write_path_NT_resume:
360
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
356
362
unRemoveFromPath_done:
370
;====================================================
371
; RemoveFromPythonPath - Remove a given dir from the python path
372
; Input: head of the stack
373
;====================================================
374
Function un.RemoveFromPythonPath
381
ReadEnvStr $1 "PYTHONPATH"
384
Call un.StrStr ; Find $0 in $1
385
Pop $0 ; pos of our dir
386
IntCmp $0 -1 unRemoveFromPythonPath_done
387
; else, it is in python path
388
StrCpy $3 $1 $0 ; $3 now has the part of the python path before our dir
389
IntOp $2 $2 + $0 ; $2 now contains the pos after our dir in the python path (';')
390
IntOp $2 $2 + 1 ; $2 now containts the pos after our dir and the semicolon.
396
IntCmp $0 0 unDeletePythonPath
397
WriteRegExpandStr ${WriteEnvStr_RegKey} "PYTHONPATH" $3
398
Goto un_write_pythonpath_NT_resume
400
DeleteRegValue ${WriteEnvStr_RegKey} "PYTHONPATH"
401
un_write_pythonpath_NT_resume:
402
SendMessage ${HWND_BROADCAST} ${WM_WININICHANGE} 0 "STR:Environment" /TIMEOUT=5000
404
unRemoveFromPythonPath_done:
363
411
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
364
412
; Uninstall sutff
365
413
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
501
549
# link.lnk target.file [parameters [icon.file [icon_index_number [start_options [keyboard_shortcut [description]]]]]]
502
550
CreateDirectory "$SMPROGRAMS\$STARTMENU_FOLDER"
503
551
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\Csound.lnk" "cmd" "/K $INSTDIR\bin\csound.exe" "" "" "" "" "Csound"
552
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\pa_devs.lnk" "cmd" "/K $INSTDIR\bin\pa_devs.exe" "" "" "" "" "List PortAudio devices"
505
554
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\README.lnk" "$INSTDIR\readme-csound5-complete.txt" "" "" "" "" "" "Csound README"
537
588
File C:\utah\opt\Mega-Nerd\libsndfile\libsndfile-1.dll
539
File C:\utah\opt\pthreads\Pre-built.2\lib\pthreadGC2.dll
540
File C:\utah\opt\MinGW\bin\libpthread-2.dll
590
File C:\utah\opt\MinGW\bin\pthreadGC2.dll
542
592
File C:\utah\opt\fltk-1.1.10\src\mgwfltknox-1.1.dll
543
593
File C:\utah\opt\fltk-1.1.10\src\mgwfltknox_forms-1.1.dll
545
595
File C:\utah\opt\fltk-1.1.10\src\mgwfltknox_images-1.1.dll
547
597
#File C:\utah\opt\portaudio\portaudio.dll
598
File C:\utah\opt\portaudio\pa_devs.exe
549
600
File C:\utah\opt\portmidi\libportmidi.dll
550
601
#File C:\utah\opt\portmidi\porttime.dll
559
610
File C:\utah\opt\musicxml-v2\win32\codeblocks\libmusicxml2.dll
561
# Now static. File C:\utah\opt\pthreads\Pre-built.2\lib\pthreadGC2.dll
562
612
File c:\utah\opt\MinGW\bin\libgomp-1.dll
563
613
# C runtime library
564
614
File C:\windows\system32\MSVCRT.DLL
566
File C:\utah\opt\MinGW\bin\libgettextsrc-0-17.dll
567
616
File C:\utah\opt\MinGW\bin\libstdc++-6.dll
568
617
File C:\utah\opt\MinGW\bin\mingwm10.dll
569
618
File C:\utah\opt\MinGW\bin\libgcc_s_dw2-1.dll
571
620
File C:\utah\msys\1.0\local\bin\intl.dll
572
621
File C:\utah\msys\1.0\local\bin\libgthread-2.0-0.dll
573
622
# Opcodes, drivers, and other modules:
574
SetOutPath $INSTDIR\${OPCODEDIR_VAL}
575
File ..\..\LuaCsound.dll
576
File ..\..\ambicode1.dll
623
SetOutPath $INSTDIR\${OPCODEDIR_VAL}
577
624
File ..\..\ampmidid.dll
579
File ..\..\barmodel.dll
580
625
File ..\..\chua.dll
581
File ..\..\compress.dll
582
File ..\..\crossfm.dll
583
626
File ..\..\cs_date.dll
584
File ..\..\cs_pan2.dll
585
File ..\..\cs_pvs_ops.dll
627
File ..\..\csladspa.dll
586
628
File ..\..\doppler.dll
588
629
File ..\..\fareygen.dll
589
File ..\..\fareyseq.dll
590
630
File ..\..\fluidOpcodes.dll
592
File ..\..\gabnew.dll
593
File ..\..\grain4.dll
594
File ..\..\harmon.dll
595
File ..\..\hrtferX.dll
596
File ..\..\hrtfnew.dll
631
File ..\..\fractalnoise.dll
597
632
File ..\..\image.dll
599
634
File ..\..\linear_algebra.dll
601
File ..\..\loscilx.dll
602
File ..\..\minmax.dll
603
636
File ..\..\mixer.dll
604
File ..\..\modal4.dll
605
File ..\..\modmatrix.dll
606
File ..\..\mutexops.dll
607
637
File ..\..\osc.dll
608
File ..\..\partikkel.dll
609
File ..\..\phisem.dll
610
File ..\..\physmod.dll
612
638
File ..\..\pmidi.dll
613
File ..\..\ptrack.dll
614
File ..\..\pvlock.dll
616
File ..\..\pvsbuffer.dll
617
639
File ..\..\rtpa.dll
618
640
File ..\..\rtwinmm.dll
619
641
File ..\..\scansyn.dll
620
File ..\..\scoreline.dll
642
File ..\..\serial.dll
623
643
File ..\..\signalflowgraph.dll
624
File ..\..\stackops.dll
625
File ..\..\stdopcod.dll
626
644
File ..\..\stdutil.dll
627
645
File ..\..\stk.dll
628
646
File ..\..\system_call.dll
629
File ..\..\tabsum.dll
630
File ..\..\ugakbari.dll
633
647
File ..\..\virtual.dll
636
649
File ..\..\vst4cs.dll
717
730
SectionGroup "Front ends"
718
#Section "CsoundQt (user-defined widgets)"
719
Section "QuteCsound(user-defined widgets)"
731
Section "CsoundQt (user-defined widgets)"
722
# CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt.lnk" "$INSTDIR\bin\CsoundQt-f.exe" "" "" "" "" "" " CsoundQt"
723
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt.lnk" "$INSTDIR\bin\qutecsound-f.exe" "" "" "" "" "" " QuteCsound"
734
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt.lnk" "$INSTDIR\bin\CsoundQt-f.exe" "" "" "" "" "" " CsoundQt"
725
# CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt.lnk" "$INSTDIR\bin\CsoundQt-d.exe" "" "" "" "" "" " CsoundQt"
726
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt.lnk" "$INSTDIR\bin\qutecsound-d.exe" "" "" "" "" "" " QuteCsound"
736
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt.lnk" "$INSTDIR\bin\CsoundQt-d.exe" "" "" "" "" "" " CsoundQt"
728
738
SetOutPath $INSTDIR\bin
729
739
File ..\..\csnd.dll
731
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtCore4.dll
732
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtGui4.dll
733
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtXml4.dll
741
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtCore4.dll
742
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtGui4.dll
743
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtXml4.dll
735
#File C:\utah\opt\qcs-build-desktop\bin\CsoundQt-f.exe
736
File C:\utah\opt\qutecsound-0.6.1\qutecsound-0.6.1\bin\qutecsound-f.exe
745
File C:\utah\opt\qutecsound\bin\CsoundQt-f.exe
738
#File C:\utah\opt\qcs-build-desktop\bin\CsoundQt-d.exe
739
File C:\utah\opt\qutecsound-0.6.1\qutecsound-0.6.1\bin\qutecsound-d.exe
747
File C:\utah\opt\qutecsound\bin\CsoundQt-d.exe
821
831
SectionGroup "Lua (luajit included)"
822
832
Section "luaCsnd: Lua interface to Csound"
834
SetOutPath $INSTDIR\${OPCODEDIR_VAL}
835
File ..\..\LuaCsound.dll
824
836
SetOutPath $INSTDIR\bin
825
837
File C:\utah\opt\luajit\src\lua51.dll
826
838
File C:\utah\opt\luajit\src\luajit.exe
832
844
Section "luaCsoundAC: Lua interface to CsoundAC"
834
846
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\luajit.lnk" "$INSTDIR\bin\luajit.exe" "" "" "" "" "" "Lua JIT shell"
847
SetOutPath $INSTDIR\${OPCODEDIR_VAL}
848
File ..\..\LuaCsound.dll
835
849
SetOutPath $INSTDIR\bin
836
850
File C:\utah\opt\luajit\src\lua51.dll
837
851
File C:\utah\opt\luajit\src\luajit.exe
871
885
File ..\..\_CsoundAC.pyd
872
886
File ..\..\CsoundAC.py
874
#Section /o "CsoundQt-Py (user-defined widgets with PythonQt support)"
875
Section /o "QuteCsound-Py (user-defined widgets with PythonQt support)"
888
Section /o "CsoundQt-Py (user-defined widgets with PythonQt support)"
878
#CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt-py.lnk" "$INSTDIR\bin\CsoundQt-f-py.exe" "" "" "" "" "" " CsoundQt-py"
879
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt-py.lnk" "$INSTDIR\bin\qutecsound-f-py.exe" "" "" "" "" "" " QuteCsound-py"
891
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt-py.lnk" "$INSTDIR\bin\CsoundQt-f-py.exe" "" "" "" "" "" " CsoundQt-py"
881
#CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt-py.lnk" "$INSTDIR\bin\CsoundQt-d-py.exe" "" "" "" "" "" " CsoundQt-py"
882
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt-py.lnk" "$INSTDIR\bin\qutecsound-d-py.exe" "" "" "" "" "" " QuteCsound-py"
893
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\csoundqt-py.lnk" "$INSTDIR\bin\CsoundQt-d-py.exe" "" "" "" "" "" " CsoundQt-py"
884
895
SetOutPath $INSTDIR\bin
885
896
File ..\..\csnd.dll
887
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtCore4.dll
888
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtGui4.dll
889
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtXml4.dll
890
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtNetwork4.dll
891
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtOpenGL4.dll
892
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtSql4.dll
893
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtSvg4.dll
894
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\QtWebKit4.dll
895
File C:\utah\opt\Qt\Desktop\Qt\4.7.4\mingw\bin\phonon4.dll
898
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtCore4.dll
899
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtGui4.dll
900
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtXml4.dll
901
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtNetwork4.dll
902
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtOpenGL4.dll
903
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtSql4.dll
904
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtSvg4.dll
905
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\QtWebKit4.dll
906
File C:\utah\opt\Qt\Desktop\Qt\4.8.0\mingw\bin\phonon4.dll
896
907
File C:\utah\opt\PythonQt-build-desktop\lib\PythonQt_QtAll.dll
897
908
File C:\utah\opt\PythonQt-build-desktop\lib\PythonQt.dll
899
#File C:\utah\opt\qcs-build-desktop\bin\CsoundQt-f-py.exe
900
File C:\utah\opt\qutecsound-0.6.1\qutecsound-0.6.1\bin\qutecsound-f-py.exe
910
File C:\utah\opt\qutecsound\bin\CsoundQt-f-py.exe
902
#File C:\utah\opt\qcs-build-desktop\bin\CsoundQt-d-py.exe
903
File C:\utah\opt\qutecsound-0.6.1\qutecsound-0.6.1\bin\qutecsound-d-py.exe
912
File C:\utah\opt\qutecsound\bin\CsoundQt-d-py.exe
930
939
RMDir /r $INSTDIR
931
940
!insertmacro MUI_STARTMENU_GETFOLDER Application $MUI_TEMP
932
941
Delete "$SMPROGRAMS\$MUI_TEMP\Csound.lnk"
942
Delete "$SMPROGRAMS\$MUI_TEMP\pa_devs.lnk"
933
943
Delete "$SMPROGRAMS\$MUI_TEMP\License.lnk"
934
944
Delete "$SMPROGRAMS\$MUI_TEMP\Manual.lnk"
935
945
Delete "$SMPROGRAMS\$MUI_TEMP\Tutorial.lnk"