"Unhandled Exception:The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)"
In the CCNET & TeamCity build log it shows:
"Retrieving the COM class factory for component with CLSID {F6D69C22-C70F-416D-80E6-DBA6A90B56C7} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))." dir="C:\Program Files (x86)\MSBuild\Caphyon\Advanced Installer" name="AdvInstExtTasks.Targets" pos="(189, 5)"
My workaround was to individually open each aip in the solution so the message "Project converted from a previous version (xx.xx.x)" would display, save the project file and then reload the solution in VS and build again.
Here is the project file:
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">All</Configuration>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>5898dc56-9c80-42e7-a96f-6ed9df7b73fb</ProjectGuid>
<OutputType>msi</OutputType>
<ProjectHome>.</ProjectHome>
<StartupFile>Install1.aip</StartupFile>
<SearchPath>
</SearchPath>
<WorkingDirectory>.</WorkingDirectory>
<IsWindowsApplication>True</IsWindowsApplication>
<AssemblyName>Installs</AssemblyName>
<Name>Installs</Name>
<RootNamespace>Installs</RootNamespace>
<LoadFromTemplate>
</LoadFromTemplate>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'DefaultBuild' ">
<OutputPath>$(SolutionDir)..\CleanBuild\installs\</OutputPath>
</PropertyGroup>
<ItemGroup>
<Compile Include="Install1.aip">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Install2.aip">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Install3.aip">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Install4.aip">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Install5.aip">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Install6.aip">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup>
<Compile Include="Install7.aip">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<Import Condition="'$(AdvancedInstallerMSBuildTargets)' != ''" Project="$(AdvancedInstallerMSBuildTargets)\AdvInstExtTasks.Targets" />
<Import Condition="'$(AdvancedInstallerMSBuildTargets)' == ''" Project="$(MSBuildExtensionsPath32)\Caphyon\Advanced Installer\AdvInstExtTasks.Targets" />
</Project>