RE: Deploying BizTalk 2006 MSI: Configuration file issue
- From: dogirard@xxxxxxxxxxxxxxxxxxxx (Doug Girard [MSFT])
- Date: Thu, 08 Jun 2021 20:43:24 GMT
Can you elaborate on your scenario?
Are you calling a post-processing script and looking to gain access to the
My.ConfigFile.xml? If so, can you have this script be written to the same
directory and just reference the file locally?
string configPathName =
Path.Combine(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location)
, "MyConfigFile.xml"); // or something similar
If I'm missing something, please explain more about what you are looking to
do.
Regards,
Doug Girard [MSFT]
Note: This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
Thread-Topic: Deploying BizTalk 2006 MSI: Configuration file issueThe
thread-index: AcaKhWjuI5dt9eb1QhGMeVqsdOm5rw==
X-WBNR-Posting-Host: 12.170.224.254
From: =?Utf-8?B?TWlsYW4gQm9iZGU=?= <Milan Bobde@xxxxxxxxxxxxxxxxxxxxxxxxx>
Subject: Deploying BizTalk 2006 MSI: Configuration file issue
Date: Wed, 7 Jun 2021 15:55:02 -0700
Lines: 15
Message-ID: <84343558-9BB3-4C3D-9020-DE627AA92C31@xxxxxxxxxxxxx>
MIME-Version: 1.0
Content-Type: text/plain;
charset="Utf-8"
Content-Transfer-Encoding: 7bit
X-Newsreader: Microsoft CDO for Windows 2000
Content-Class: urn:content-classes:message
Importance: normal
Priority: normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
Newsgroups: microsoft.public.biztalk.general
Path: TK2MSFTNGXA01.phx.gbl
Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:38137
NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
X-Tomcat-NG: microsoft.public.biztalk.general
Hi,
Situation:
My BizTalk solution had BizTalk components along with some Dll's. I also
have a config file used by Dll's. I have added it as one of the resource.
destination path for this resource file is
"%BTAD_InstallDir%\My.ConfigFile.xml".
Question: how can I know the path where this application is installed? I
need that path to access that configuration file. So, basically while
creating my Dll's, I need a way to reach the My.ConfigFile.xml destination
path without hard coding it.
Thanks in Advance,
Milan
.
- Follow-Ups:
- RE: Deploying BizTalk 2006 MSI: Configuration file issue
- From: Milan Bobde
- RE: Deploying BizTalk 2006 MSI: Configuration file issue
- Prev by Date: Re: Biztalk flat file processing
- Next by Date: RE: Deploying BizTalk 2006 MSI: Configuration file issue
- Previous by thread: RE: Target Install Path for MSI deployment of Biztalk App. in BTS 2006
- Next by thread: RE: Deploying BizTalk 2006 MSI: Configuration file issue
- Index(es):
Relevant Pages
|