Click here to Skip to main content
15,867,966 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
It is a WPF project. I have added the a new project to an existing solution.Locally dll is getting generated. Also I have added the dll to the respective wxs file .when I am installing the exe, Still the dll is not getting added to the installation path. Please someone help me in this . I am very new to WPF. How the dll will be added the installation path. Please see the below code What I have tried. Please guide me what else I need to check.

What I have tried:

Here I have added dll. The Last dll is I have added . all dll are getting added to the istallation path except the last one .

<Directory Id="ClientDevTools" Name="ClientDevTools">
						<Component Id="LibraryViewFramework_ClientDevTools" Guid="1C01BEF8-3795-4064-B4E2-E9CC6928F6C7">
							<File Id="ClientDevTools.lsip.dll" Name="lsip.dll" Source="$(var.ClientDevToolsSourcePath)\lsip.dll" />
							<File Id="ClientDevTools.Clearcore2.Compression.dll" Name="Clearcore2.Compression.dll" Source="$(var.ClientDevToolsSourcePath)\Clearcore2.Compression.dll" />						
							<File Id="ClientDevTools.Clearcore2.Data.AnalystDataProvider.dll" Name="Clearcore2.Data.AnalystDataProvider.dll" Source="$(var.ClientDevToolsSourcePath)\Clearcore2.Data.AnalystDataProvider.dll" />
							<File Id="ClientDevTools.Clearcore2.Data.CommonInterfaces.dll" Name="Clearcore2.Data.CommonInterfaces.dll" Source="$(var.ClientDevToolsSourcePath)\Clearcore2.Data.CommonInterfaces.dll" />
</Component>
</Directory>


And the the paths are defined in am xml
<Include>
   
  
  <?define ProjectPath = "..\..\..\..\" ?>	  
  <?define SourcePath = "$(var.ProjectPath)output" ?>
  <?define ClientDevToolsSourcePath = "$(var.SourcePath)\ClientDevTools" ?>	 
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900