class library: PriorityQueue - implement removeValue, hide array
[supercollider.git] / platform / windows / sc3-win-installer-template.wxs
blob6bb6dd01e92f2d4020b05b8c7d6d661444d1d863
1 <?xml version="1.0"?>
2 <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3 <Product Id="73D766DC-C79D-11DD-9A42-A17956D89593" Name="SuperCollider" Language="1033" Version="3.3.0.0" Manufacturer="James McCartney plus many others, http://supercollider.sourceforge.net/" UpgradeCode="5D5A738E-C844-11DD-9906-59C856D89593">
4 <Package Id="*" Description="Real-time audio synthesis and algorithmic composition" Comments="Open-source (GPL) software." InstallerVersion="300" Compressed="yes" />
5 <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" />
6 <Property Id="ARPURLINFOABOUT">http://supercollider.sourceforge.net/</Property>
7 <Property Id="ARPCOMMENTS">Open-source: published under the Gnu Public License (GPL) v2 or later</Property>
9 <Condition Message="You need to be an administrator to install software.">Privileged</Condition>
10 <Condition Message="SuperCollider cannot be installed on Windows versions older than 2000/XP/Vista.">
11 Installed OR (VersionNT >= 500)
12 </Condition>
14 <!-- Define main directory structure -->
15 <Directory Id="TARGETDIR" Name="SourceDir">
16 <Directory Id="ProgramFilesFolder">
17 <!-- SC3INSTALLLOCATION is in caps to make it a "public property", i.e. user-settable -->
18 <Directory Id="SC3INSTALLLOCATION" Name="SuperCollider">
19 <Directory Id="SCClassLibrary" Name="SCClassLibrary"/>
20 <Directory Id="SCpluginsFolder" Name="plugins"/>
21 <Directory Id="SCHelpFolder" Name="Help"/>
22 <Directory Id="SCsoundsFolder" Name="sounds"/>
23 <Directory Id="SCexamples" Name="examples"/>
24 <Directory Id="SCextensionsFolder" Name="Extensions"/>
25 <Directory Id="SCsynthdefsFolder" Name="synthdefs"/>
26 </Directory>
27 </Directory>
28 <Directory Id="ProgramMenuFolder">
29 <Directory Id="ApplicationProgramsFolder" Name="SuperCollider 3" />
30 </Directory>
32 <Merge Id="VCRedist" SourceFile="/Program Files/Common Files/Merge Modules/Microsoft_VC90_CRT_x86.msm" DiskId="1" Language="0"/>
33 <Merge Id="VCRedistPolicy" SourceFile="/Program Files/Common Files/Merge Modules/policy_9_0_Microsoft_VC90_CRT_x86.msm" DiskId="1" Language="0"/>
34 </Directory>
36 <!-- Now the files to install -->
37 <DirectoryRef Id="SC3INSTALLLOCATION">
39 <Component Id="ProductComponent" Guid="CF69B856-C79D-11DD-84EF-AD7E56D89593">
40 <!-- Note: python scripts build Psycollider.exe but here we rename it to SuperCollider.exe -->
41 <File Id="sclangExecutable" Name="SuperCollider.exe" Source="../common/Psycollider/Psycollider/dist/Psycollider.exe" DiskId="1"></File>
42 <File Id="scsynthExecutable" Name="scsynth.exe" Source="../common/build/scsynth.exe" DiskId="1"></File>
43 <File Id="w9xpopen" Name="w9xpopen.exe" Source="../common/Psycollider/Psycollider/dist/w9xpopen.exe" DiskId="1"></File>
44 <File Id="PySCLang.pyd" Name="PySCLang.pyd" Source="../common/Psycollider/Psycollider/dist/PySCLang.pyd" DiskId="1"></File>
45 <File Id="gdiplus.dll" Name="gdiplus.dll" Source="../common/Psycollider/Psycollider/dist/gdiplus.dll" DiskId="1"></File>
46 <File Id="libfftw3f" Name="libfftw3f-3.dll" Source="../common/build/libfftw3f-3.dll" DiskId="1"></File>
47 <!-- These extra DLLs are needed when bundling scons-built rather than MS-built version, so uncomment.
48 <File Id="scsynthDll" Name="scsynth.dll" Source="../common/build/scsynth.dll" DiskId="1"></File>
49 <File Id="portaudioDll" Name="portaudio_x86.dll" Source="../common/build/portaudio_x86.dll" DiskId="1"></File>
50 -->
51 <File Id="libsndfile" Name="libsndfile-1.dll" Source="../common/build/libsndfile-1.dll" DiskId="1"></File>
52 <File Id="keywordslist" Name="keywords.list" Source="keywords.list" DiskId="1"></File>
53 <File Id="psycolliderscript" Name="Psycollider.py" Source="../common/Psycollider/Psycollider/Psycollider.py" DiskId="1"></File>
54 <File Id="scstartupfile" Name="startup.sc" Source="startup.sc" DiskId="1"></File>
55 <File Id="SwingOSC.jar" Name="SwingOSC.jar" Source="../common/build/SwingOSC.jar" DiskId="1"></File>
57 <!-- env vars -->
58 <Environment Id='PsycolliderHome' Name='PSYCOLLIDER_HOME' Action='set' System='yes' Part='all'
59 Value='[SC3INSTALLLOCATION]' />
60 <Environment Id='ScSystemAppSupportPath' Name='SC_SYSAPPSUP_PATH' Action='set' System='yes' Part='all'
61 Value='[SC3INSTALLLOCATION]' />
62 <Environment Id='ScPluginPath' Name='SC_PLUGIN_PATH' Action='set' System='yes' Part='all'
63 Value='[SC3INSTALLLOCATION]plugins' />
66 <!-- filetype associations -->
67 <ProgId Id='SC3.scdfile' Advertise="yes" Description="SuperCollider 3 document">
68 <Extension Id="scd" ContentType="x-application/supercollider3">
69 <Verb Id='open' Sequence='10' Command='Open' Argument='"%1"'/>
70 </Extension>
71 </ProgId>
72 <ProgId Id='SC3.scfile' Advertise="yes" Description="SuperCollider 3 class file">
73 <Extension Id="sc" ContentType="x-application/supercollider3">
74 <Verb Id='open' Sequence='10' Command='Open' Argument='"%1"'/>
75 </Extension>
76 </ProgId>
77 </Component>
79 </DirectoryRef>
81 <!-- Do not change the comment just below here. It's used for substitution -->
82 <!-- SUBST:SPLITHERE -->
84 <DirectoryRef Id="ApplicationProgramsFolder">
85 <Component Id="ApplicationShortcut" Guid="7511071E-C90B-11DD-BB90-C59D55D89593">
86 <Shortcut Id="ApplicationStartMenuShortcut" Name="SuperCollider 3"
87 Description="Sound synthesis and music programming language"
88 Target="[SC3INSTALLLOCATION]SuperCollider.exe"
89 WorkingDirectory="SC3INSTALLLOCATION"/>
90 <RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
91 <RegistryValue Root="HKCU" Key="Software\Microsoft\SuperCollider3"
92 Name="installed" Type="integer" Value="1" KeyPath="yes"/>
93 </Component>
94 </DirectoryRef>
96 <Feature Id="ProductFeature" Title="SuperCollider" Description="SuperCollider 3 for Windows (with Psycollider IDE)" Level="1">
97 <ComponentRef Id="ProductComponent" />
98 <ComponentRef Id="SCextensions" />
99 <ComponentRef Id="ApplicationShortcut" />
100 </Feature>
102 <!-- Do not change the comment just below here. It's used for substitution -->
103 <!-- SUBST:SPLITHERE -->
105 <Feature Id="VCRedist" Title="Visual C++ 9.0 Runtime" AllowAdvertise="no" Display="hidden" Level="1">
106 <MergeRef Id="VCRedist"/>
107 <MergeRef Id="VCRedistPolicy"/>
108 </Feature>
110 <!-- UIRef Id="WixUI_InstallDir" / -->
111 <UIRef Id="WixUI_Minimal" />
112 <WixVariable Id="WixUILicenseRtf" Value="LicenseForWinInstaller.rtf" />
113 <!--
114 <WixVariable Id="WixUIBannerBmp" Value="Bitmaps/BannrBmp.bmp" />
115 <WixVariable Id="WixUIDlgBmp" Value="Bitmaps/DlgBmp.bmp" />
118 </Product>
119 </Wix>