RE: BTS Installer

Tech-Archive recommends: Speed Up your PC by fixing your registry

From: Jeff Junak (JeffJunak_at_discussions.microsoft.com)
Date: 08/25/04


Date: Tue, 24 Aug 2004 19:09:02 -0700

Thanks! That explains why none of my pipeline projects were installing in
the correct order. That was really the hangup, as all the subsequent
orchestration installations would fail, since the pipelines were not there.
I can create a separate installer for pipelines to fix that.

As for adding custom actions, I don't understand how, though your answer
seems to imply that there is a hook where custom code can be included in the
project. Can you give me a bit more direction on how to accomplish this?

Jeff

"Mariusz Borsa [MSFT]" wrote:

> The custom action in BTSInstaller deploys BizTalk assemblies in reverse
> order of their references as discovered in assemblies manifests, e.g.
> schema assemblies should be deployed first, orchestration assemblies next.
>
> Can you post more detailed description of what are assemblies references
> in your solution and what error messages are you getting?
>
> There's no possibility of explicit specifying the deployment ordering by
> BTSInstaller - though you could try to slightly affect this order. For
> instance if you add some artificial reference from assembly O (could be by
> defining messagetype referring to the schema in orchestration file
> belonging to assembly) to assembly S (keeping schemas), you'll force
> BTSInstaller custom action to deploy S earlier than O, since O should have
> reference to S in its manifest now.
>
> There might be issues with pipelines in this approach though, since
> references to pipelines aren't translated to assembly manifests (as the
> reference to pipeline from early bindings of orchestration only produces
> the attribute with pipeline type reference on the port, and this is only
> System.Type reference, not MyPipelineClass reference - that's why it
> doesn't go into assembly manifest, and that's why references to pipelines
> assemblies aren't added automatically to BTSInstaller project). The
> workaround for this would be to generate the separate BTSInstaller package
> for pipelines only and manage it separately from the rest.
>
> As for other actions of BTSInstaller, you are free to add any, this is just
> VS Deployment project you can augment with whatever you need to, add your
> own files, regkeys, even custom actions.
>
> Hope this helps, cheers
> Mariusz Borsa
>
> This posting is provided "AS IS" with no warranties, and confers no rights.
>
> EBusiness Server Team
> --------------------
> >>Thread-Topic: BTS Installer
> >>From: "=?Utf-8?B?SmVmZiBKdW5haw==?=" <JeffJunak@discussions.microsoft.com>
> >>Subject: BTS Installer
> >>I'm trying to use the BTS Installer to create a fairly complex BizTalk
> >>instalation. We have created a product that currently has 35 assemblies
> that
> >>need to be deployed to the target environment.
> >>
> >>I'm having a couple of difficulties with the BTS Installer regarding
> order
> >>of installation. I know the exact order in which these assemblies need
> to be
> >>deployed, but I can't seem to get the installer to deploy the assemblies
> in
> >>the correct order. I've tried varying the order that the assemblies are
> >>added to the installer, but have had no luck. Is there a way to
> explicitly
> >>order the assemblies for deployment using the installer?
> >>
> >>Second question: We have created our projects following Scott Comstocks
> >>recommendations for structure so that we can use NAnt to build and deploy
> in
> >>a development enviroment. This implies that for each solution, we have
> >>separate projects for Pipelines, Transformations, Orchestartions and
> Schemas.
> >> Since the Orchestration project always has the most dependencies, I add
> it
> >>to the BTS installer first, and expect it to add all of the dependencies.
>
> >>This works in all cases except that the Pipelines dependencies are never
> >>automatically added. All other depenencies are added automatically.
> This
> >>happens across multiple solutions, e.g. any solution that has a Pipelines
> >>project (containing only custom pipelines) will not process the
> dependencies
> >>correctly. Any clues?
> >>
> >>Finally, it seems the BTS Installer is only capable of performing 2
> >>actions, installing assemblies and getting them into the GAC, and also
> >>installing non-BizTalk assemblies into the GAC. Is there any way to use
> the
> >>other File System functionality (for example, creating custom folders)
> that
> >>appears in right-click menus? I'd like to be able to copy some files to
> >>specific locations on the disk as part of the install.
> >>
> >>Any help will be appreciated.
> >>
> >>Jeff
> >>
>
>



Relevant Pages

  • RE: BTS Installer
    ... The custom action in BTSInstaller deploys BizTalk assemblies in reverse ... reference to S in its manifest now. ... There might be issues with pipelines in this approach though, ... >>I'm trying to use the BTS Installer to create a fairly complex BizTalk ...
    (microsoft.public.biztalk.general)
  • Re: Start Orch Shape
    ... The Receive Port Type for Orchestration from the assembly that is being ... > really deploy both assemblies. ... >> First Assembly project has a reference to the Second Assembly. ... >> I have deployed and started the Second Orchestration. ...
    (microsoft.public.biztalk.general)
  • RE: HELP cant send binary messages with SMTP (maybe a bug ?)
    ... You can try sending binary data through an orchestration as long as the ... pipelines are ... >>I have an orchestration where i receive a binary file on a passtrhu port. ... >>I send it throu a mime encoder pipeline with the Encode body set to tru. ...
    (microsoft.public.biztalk.general)
  • Re: Single Project vs Multi Projects
    ... I don't know if there is a 'best practices' approach to your situation, ... across multiple assemblies, then best to keep them seperated. ... orchestrations, schema, pipelines and maps in a single project versus ...
    (microsoft.public.biztalk.general)
  • RE: BTS Installer
    ... MSI custom action. ... Using this in conjunction with a BTSInstaller project ... non-BTS assemblies to the local GAC, ... >I can create a separate installer for pipelines to fix that. ...
    (microsoft.public.biztalk.general)