|
24 | 24 | <UIRef Id="WixUI_Minimal"/>
|
25 | 25 |
|
26 | 26 | <Feature Id="Main" Title="Synchronous Audio Router" Level="1">
|
27 |
| - <ComponentRef Id="KernelDriver64"/> |
28 |
| - <?if $(var.Platform) = x86 ?> |
| 27 | + <?if $(var.Platform) = x64 ?> |
| 28 | + <ComponentRef Id="KernelDriver64"/> |
| 29 | + <?else ?> |
29 | 30 | <ComponentRef Id="KernelDriver32"/>
|
30 | 31 | <?endif ?>
|
31 |
| - <ComponentRef Id="AsioDriver64"/> |
32 |
| - <ComponentRef Id="AsioDriver64_32"/> |
33 |
| - <!--<ComponentRef Id="AsioDriver32"/>--> |
| 32 | + |
| 33 | + <?if $(var.Platform) = x64 ?> |
| 34 | + <ComponentRef Id="AsioDriver64"/> |
| 35 | + <ComponentRef Id="AsioDriver64_32"/> |
| 36 | + <?else ?> |
| 37 | + <ComponentRef Id="AsioDriver32"/> |
| 38 | + <?endif ?> |
34 | 39 | </Feature>
|
35 | 40 |
|
36 |
| - <Binary Id="SarInstallerActions" |
37 |
| - SourceFile="..\x64\Release\SarInstallerActions.dll"/> |
| 41 | + <?if $(var.Platform) = x64 ?> |
| 42 | + <Binary Id="SarInstallerActions" |
| 43 | + SourceFile="..\x64\Release\SarInstallerActions.dll"/> |
| 44 | + <?else ?> |
| 45 | + <Binary Id="SarInstallerActions" |
| 46 | + SourceFile="..\Release\SarInstallerActions.dll"/> |
| 47 | + <?endif ?> |
38 | 48 |
|
39 | 49 | <CustomAction Id="CreateDeviceNode"
|
40 | 50 | BinaryKey="SarInstallerActions"
|
|
68 | 78 | </Directory>
|
69 | 79 | </Directory>
|
70 | 80 |
|
| 81 | + <?if $(var.Platform) = x64 ?> |
71 | 82 | <DirectoryRef Id="INSTALLDIR64">
|
72 | 83 | <Component Id="KernelDriver64"
|
73 | 84 | Guid="{48C7E358-9797-42F7-B86D-5AA1DD3E0E44}"
|
|
190 | 201 | Action="write" />
|
191 | 202 | </Component>
|
192 | 203 | </DirectoryRef>
|
193 |
| - |
| 204 | + <?else ?> |
194 | 205 | <DirectoryRef Id="INSTALLDIR">
|
195 |
| - <?if $(var.Platform) = x86 ?> |
196 |
| - <Component Id="KernelDriver32" |
197 |
| - Guid="{865DF004-18BD-448C-A63B-BF3B758CAE99}" |
198 |
| - Win64="no"> |
199 |
| - <File Id="SynchronousAudioRouter.sys" |
200 |
| - Source="..\Release\SynchronousAudioRouter.sys" |
201 |
| - KeyPath="yes"/> |
202 |
| - </Component> |
203 |
| - <?endif ?> |
204 |
| - |
205 |
| - <!--<Component Id="AsioDriver32" |
206 |
| - Guid="{FFBEFDDB-FBC6-4CE5-9187-267DE9BB93D9}" |
| 206 | + <Component Id="KernelDriver32" |
| 207 | + Guid="{865DF004-18BD-448C-A63B-BF3B758CAE99}" |
207 | 208 | Win64="no">
|
| 209 | + <File Id="SynchronousAudioRouter.sys" |
| 210 | + Name="SynchronousAudioRouter.sys" |
| 211 | + Source="..\Release\SynchronousAudioRouter.sys" |
| 212 | + KeyPath="yes"/> |
| 213 | + <File Id="SynchronousAudioRouter.cat" |
| 214 | + Name="SynchronousAudioRouter.cat" |
| 215 | + Source="..\Release\SynchronousAudioRouter\SynchronousAudioRouter.cat" |
| 216 | + KeyPath="no"/> |
| 217 | + <File Id="SynchronousAudioRouter.inf" |
| 218 | + Name="SynchronousAudioRouter.inf" |
| 219 | + Source="..\Release\SynchronousAudioRouter\SynchronousAudioRouter.inf" |
| 220 | + KeyPath="no"/> |
| 221 | + <difx:Driver PlugAndPlayPrompt="no"/> |
| 222 | + </Component> |
| 223 | + |
| 224 | + <Component Id="AsioDriver32" |
| 225 | + Guid="{FFBEFDDB-FBC6-4CE5-9187-267DE9BB93D9}" |
| 226 | + Win64="no"> |
208 | 227 | <File Id="SarAsio.dll"
|
| 228 | + Name="SarAsio.dll" |
209 | 229 | Source="..\Release\SarAsio.dll"
|
210 | 230 | KeyPath="yes"/>
|
| 231 | + <!--<File Id="SarCtl.exe" Source="..\x64\Release\SarCtl.exe" KeyPath="no"/>--> |
211 | 232 | <RegistryValue Root="HKCR"
|
212 | 233 | Key="CLSID\{0569D852-1F6A-44A7-B7B5-EFB78B66BE21}\InProcServer32"
|
213 | 234 | Value="[#SarAsio.dll]"
|
|
219 | 240 | Value="Apartment"
|
220 | 241 | Type="string"
|
221 | 242 | Action="write" />
|
| 243 | + <RegistryValue Root="HKCR" |
| 244 | + Key="CLSID\{9FB96668-9EDD-4574-AD77-76BD89659D5D}\InProcServer32" |
| 245 | + Value="[#SarAsio.dll]" |
| 246 | + Type="string" |
| 247 | + Action="write" /> |
| 248 | + <RegistryValue Root="HKCR" |
| 249 | + Key="CLSID\{9FB96668-9EDD-4574-AD77-76BD89659D5D}\InProcServer32" |
| 250 | + Name="ThreadingModel" |
| 251 | + Value="both" |
| 252 | + Type="string" |
| 253 | + Action="write" /> |
222 | 254 | <RegistryValue Root="HKCR"
|
223 | 255 | Key="CLSID\{0569D852-1F6A-44A7-B7B5-EFB78B66BE21}\ProgID"
|
224 | 256 | Value="SynchronousAudioRouter.1"
|
|
229 | 261 | Value="Synchronous Audio Router ASIO"
|
230 | 262 | Type="string"
|
231 | 263 | Action="write" />
|
232 |
| - <RegistryValue Root="HKLM" Key="Software\ASIO\Synchronous Audio Router" |
| 264 | + <RegistryValue Root="HKLM" Key="SOFTWARE\ASIO\Synchronous Audio Router" |
233 | 265 | Name="CLSID" Value="{0569D852-1F6A-44A7-B7B5-EFB78B66BE21}"
|
234 | 266 | Type="string"
|
235 | 267 | Action="write" />
|
236 | 268 | <RegistryValue Root="HKLM"
|
237 |
| - Key="Software\ASIO\Synchronous Audio Router" |
| 269 | + Key="SOFTWARE\ASIO\Synchronous Audio Router" |
238 | 270 | Name="Description"
|
239 | 271 | Value="Synchronous Audio Router"
|
240 | 272 | Type="string"
|
241 | 273 | Action="write" />
|
242 |
| - </Component>--> |
| 274 | + </Component> |
243 | 275 | </DirectoryRef>
|
| 276 | + <?endif ?> |
244 | 277 | </Product>
|
245 | 278 | </Wix>
|
0 commit comments