Michael Stephenson

Microsoft BPM/SOA Adventures
posts - 187, comments - 188, trackbacks - 15

My Links

News

View Michael Stephenson's profile on BizTalk Blog Doc View Michael Stephenson's profile on LinkedIn

Archives

Post Categories

Image Galleries

BizTalk

Mates

%BTAD_InstallDir% not as expected for the destination path

I made a little mistake the other day which maybe some of you might experience.

I have an MsBuild script which calls BTSTask to add resources to a BizTalk application.  For the destination path I was supplying the value below:

  %BTAD_InstallDir%\Acme.BizTalk.Orchestrations.dll

The result was that when the application was exported to an Msi and then installed on a different server the assemblies were always installed to as follows:

c:\Acme.BizTalk.Orchestrations.dll

I hadnt noticed this at first but the problem was that in the MsBuild script the   %BTAD_InstallDir% tag was being read as environment variable so the path being passed to BTSTask was:

\Acme.BizTalk.Orchestrations.dll

The fix to this was simple to replace %BTAD_InstallDir% with %%BTAD_InstallDir%% which resolved the problem.

Print | posted on Tuesday, April 15, 2008 8:34 PM | Filed Under [ BizTalk BizTalk Build & Deployment ]

Feedback

No comments posted yet.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification:
 

Powered by: