Skip to content

Commit 3228645

Browse files
author
Vlad Ionescu
committed
installer makes assembly available in visual studio now
1 parent 1e0b3f5 commit 3228645

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

wix/dotnet-client-merge-module.wxs.in

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,26 @@
44
<Package Id='????????-????-????-????-????????????' Description='RabbitMQ .NET Client @VERSION@' Manufacturer='LShift Ltd.' InstallerVersion='150' Languages='1033' Compressed='yes' SummaryCodepage='1252' />
55

66
<Directory Id='TARGETDIR' Name='SourceDir'>
7-
<Component Id='ClientLibrary' Guid='06543EE8-DED2-4C1C-826E-6AAE0B403AF3'>
8-
<File Id='RabbitMQClientDll' Name='RMQClnt.dll' LongName='RabbitMQ.Client.dll' Vital='yes' Assembly='.net' KeyPath='yes' Source='..\build\bin\RabbitMQ.Client.dll' />
7+
<!-- Note that RabbitMQ.Client.dll has to appear twice
8+
(once for having it copied to Windows\assembly and once for
9+
having it in our own bin folder).
10+
This is a bug in WiX 2.0 and will be fixed in WiX 3.0
11+
(i.e. will only have to be specified once, with Assembly='.net'
12+
in order to be copied in both places). -->
13+
<Component Id='ClientLibraryAssembly' Guid='06543EE8-DED2-4C1C-826E-6AAE0B403AF3'>
14+
<File Id='RabbitMQClientDllAssembly' Name='RMQClnt.dll' LongName='RabbitMQ.Client.dll' Vital='yes' Assembly='.net' KeyPath='yes' Source='..\build\bin\RabbitMQ.Client.dll' />
915
</Component>
1016

17+
<Directory Id='BinFolder' Name='bin'>
18+
<Component Id='ClientLibraryBin' Guid='83A1DE00-CCB6-42C2-BD14-FBAEDDBC50E8'>
19+
<CreateFolder />
20+
<File Id='RabbitMQClientDllBin' Name='RMQClnt.dll' LongName='RabbitMQ.Client.dll' Vital='yes' KeyPath='yes' Source='..\build\bin\RabbitMQ.Client.dll' />
21+
<Registry Id='RabbitMQAssemblyFolderReg' Action='createKeyAndRemoveKeyOnUninstall' Key='SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\RabbitMQ' Root='HKLM'>
22+
<Registry Id='RabbitMQAssemblyFolderRegVal' Action='write' Type='string' Value='[BinFolder]' />
23+
</Registry>
24+
</Component>
25+
</Directory>
26+
1127
<Directory Id='ExamplesFolder' Name='examples'>
1228
<Directory Id='BinExamplesFolder' Name='bin' FileSource='..\build\bin'>
1329
<Component Id='ExampleBinaries' Guid='1C270D1C-CD79-49D8-9413-E6211F52B5A8'>

0 commit comments

Comments
 (0)