Hi,
I am havin problems to import a msi generated with BTSMSITASK. When I import the application with the msi the command outputs an error:
Import-Application : Resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="Ono.Prometeo.Inbound.Biz.Schemas, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=db49302ac64b53d6") is already in store and is either associated with another application or with another type.
At line:1 char:1
+ Import-Application -Path "BizTalk:\Applications" -Package "c:\temp\biztalk\Ono.P ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (BizTalkFactory....FolderContainer:FolderContainer) [Import-Application], BtsException
+ FullyQualifiedErrorId : 0,BizTalkFactory.PowerShell.Extensions.Cdmlets.ImportApplicationCommand
The MSI contains:
<Project DefaultTargets="GenerateMsi" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--<UsingTask AssemblyFile="BtsMsiTask.dll" TaskName="BtsMsiTask.MsiTask" /> -->
<Import Project="$(MSBuildExtensionsPath)\BtsMsiTask\BtsMsiTask.targets" />
<PropertyGroup>
<!--Donde se va a generar el MSI -->
<DestinationPath>C:\home\platafor\plausr\tmp\extrae_Ono.Prometeo.Inbound.Biz.Schemas_20171019164145\DEV\deploy</DestinationPath>
<!--APPNAME del CSV-->
<ApplicationName>Ono.Prometeo.Inbound</ApplicationName>
<!--Optional-->
<ApplicationDescription>Ono.Prometeo.Inbound</ApplicationDescription>
<!--APPNAME.msi -->
<FileName>Ono.Prometeo.Inbound.msi</FileName>
<!--Deploy PATH del CSV-->
<SourceLocation>C:\Program Files (x86)\Ono.Prometeo.Inbound</SourceLocation>
</PropertyGroup>
<ItemGroup>
<BtsAssembly Include="C:\home\platafor\plausr\tmp\extrae_Ono.Prometeo.Inbound.Biz.Schemas_20171019164145\DEV\Tecnología Biztalk\src\bin\BT\Ono.Prometeo.Inbound.Biz.Schemas.btproj\Ono.Prometeo.Inbound.Biz.Schemas.dll" />
</ItemGroup>
<Target Name="GenerateMsi">
<MsiTask ApplicationDescription="$(ApplicationDescription)"
FileName="$(FileName)"
Version="1.0.0.0"
DestinationPath="$(DestinationPath)"
SourceLocation="$(SourceLocation)"
ApplicationName="$(ApplicationName)"
BtsAssemblies="@(BtsAssembly)"
Resources="@(Resource)"/>
</Target>
</Project>
I'm going crazy... Can someone help me?
Thanks!!
Hi,
I am havin problems to import a msi generated with BTSMSITASK. When I import the application with the msi the command outputs an error:
The MSI contains:
I'm going crazy... Can someone help me?
Thanks!!