Also.....

Are these things COM Dlls? If not, why not just have the same Dll in the app 
folder of each client program? It may be that you think it's "wasteful" to have 
the same Dll in multiple locations, but if it works then why not? 

Phil Wilson 

-----Original Message-----
From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] 
Sent: Wednesday, June 29, 2011 3:50 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How do you share dll's between executabled files

I agree this is very much a .NET issue rather than WiX.

Check out "How the Runtime Locates Assemblies", 
http://msdn.microsoft.com/library/yx7xezcf

Pay particular attention to the probing section, "Step 4: Locating the Assembly 
through Codebases or Probing", http://msdn.microsoft.com/en-us/library/15hyw9x3

Edwin G. Castro
Software Developer - Staff
Digital Channels
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
Please consider the environment before printing this e-mail

> -----Original Message-----
> From: Robert Hermann [mailto:rob.herm...@nicewareintl.com]
> Sent: Wednesday, June 29, 2011 2:18 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] How do you share dll's between executabled files
> 
> As an update to my post below ...
> 
> I enabled Assembly Binding Logging and according to the log file, windows
> was not even checking the system path (%Path%) .. it  just made some
> checks in the current directory using probing search technique and then
> seeing how it did not find anything, it threw the error.
> 
> At this point, I don't think its so much of a Wix issue,  rather an .NET 
> issue  ..
> unless somebody knows different.
> 
> 
> 
> -----Original Message-----
> From: Robert Hermann [mailto:rob.herm...@nicewareintl.com]
> Sent: Wednesday, June 29, 2011 1:02 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] How do you share dll's between executabled files
> 
> Ok, I've got the common file folder setup.
> 
> 
>     <Directory Id="TARGETDIR" Name="SourceDir">
>       <Directory Id="ProgramFilesFolder" Name="PFiles">
> 
>         <Directory Id="CommonFilesFolder" Name="CommonFilesFolder">
>           <Directory Id="NWSHARED" Name="NW Shared">
>             <Component Id="CommonFilesComponent" Guid="489E8A78-276B-
> 4e70-A910-73B92E57C599">
> 
>               <Environment Id="PATH" Name="PATH" Value="[NWSHARED]"
> Permanent="yes" Part="last" Action="set" System="yes" />
> 
>                                                               Needed
> files...
> 
> 
> After the install, I echo %Path% and the does show the addition of the NW
> Shared directory.  The expected Dlls are in that directory.
> 
> 
> My problem is when I launch the admin tool from its directory, an exception
> is thrown stating it can't find a Dll that I know is in the path .. more 
> specifically
> the NW Shared directory. The dll name is in the format
> companyname.product family.application name.
> Maybe the problem is obvious and I am just not seeing it ...
> 
> 
> Rob
> 
> 
> 
> 
> **********************************************************
> **********************
> The information in this e-mail and any attachments is confidential and may be
> subject to legal professional privilege. It is intended solely for the 
> attention
> and use of the named addressee(s). If you are not the intended recipient or
> person responsible for delivering this information to the intended recipient,
> please notify the sender immediately. Unless you are the intended recipient
> or his/her representative you are not authorized to, and must not, read,
> copy, distribute, use or retain this message or any part of it
> 
> -----Original Message-----
> From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
> Sent: Tuesday, June 28, 2011 4:01 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] How do you share dll's between executabled files
> 
> Oh, and there is a known property called CommonFilesFolder as documented
> here.
> 
> http://msdn.microsoft.com/en-us/library/aa367994%28VS.85%29.aspx
> 
> So, makes it real easy to use.
> 
> -----Original Message-----
> From: Chad Petersen [mailto:chad.peter...@harlandfs.com]
> Sent: Tuesday, June 28, 2011 1:46 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] How do you share dll's between executabled files
> 
> We place some of our shared files in C:\Program Files\Common Files\<our
> company name>
> 
> -----Original Message-----
> From: Robert Hermann [mailto:rob.herm...@nicewareintl.com]
> Sent: Tuesday, June 28, 2011 1:14 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] How do you share dll's between executabled files
> 
> I've got a wix installer that installs a backend service and a  front end to
> control the backend service.
> 
> The Admin front end is being placed in one directory and the service is being
> placed in another directory.  They have a few dlls that I would like to share
> between them.
> 
> My plan is to install the dlls to one directory and  then have those dll be 
> seen
> by the service and frontend.
> 
> How would you do this ?
> 
> Thanks !
> 
> Rob
> 
> 
> **********************************************************
> **************
> ******
> The information in this e-mail and any attachments is confidential and may be
> subject to legal professional privilege. It is intended solely for the 
> attention
> and use of the named addressee(s). If you are not the intended recipient or
> person responsible for delivering this information to the intended recipient,
> please notify the sender immediately. Unless you are the intended recipient
> or his/her representative you are not authorized to, and must not, read,
> copy, distribute, use or retain this message or any part of it
> 
> ------------------------------------------------------------------------
> ------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> 
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> ------------------------------------------------------------------------
> ------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> 
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> ------------------------------------------------------------------------------
> All of the data generated in your IT infrastructure is seriously valuable.
> Why? It contains a definitive record of application performance, security
> threats, fraudulent activity, and more. Splunk takes this data and makes
> sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-d2d-c2
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 
7AW (Registered number 166023). For a list of European legal entities within 
the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. This e-mail and any attachments thereto may be subject 
to the terms of any agreements between Invensys (and/or its subsidiaries and 
affiliates) and the recipient (and/or its subsidiaries and affiliates).

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to