If I set the Launch Condition to "Installed Office 2007 PIA- Outlook", I get the same error.
If I set the Launch Condition to "Installed Office 2007 PIA- Outlook", I get the same error.
Looking at the Project file with all Launch Conditions turned off, I can see these lines:
Code: Select all
<COMPONENT cid="caphyon.advinst.msicomp.MsiPropsComponent">
<ROW Property="AI_FINDEXE_TITLE" Value="Select the installation package for [|ProductName]" ValueLocId="AI.Property.FindExeTitle"/>
<ROW Property="AI_MINDOTNETVERSION" MultiBuildValue="DefaultBuild:2.0" ValueLocId="-"/>
<ROW Property="AI_OFFICE2007SHAREDPIAAPP" MultiBuildValue="DefaultBuild:Office Shared" ValueLocId="-"/>
<ROW Property="AI_SERVAL_TYPE" Value="1"/>
....
....
<COMPONENT cid="caphyon.advinst.msicomp.MsiAppSearchComponent">
<ROW Property="AI_DOTNET20_SEARCH" Signature_="AI_DotNet20SearchSgn" Builds="DefaultBuild"/>
<ROW Property="AI_DOTNET30_SEARCH" Signature_="AI_DotNet30SearchSgn" Builds="DefaultBuild"/>
<ROW Property="AI_DOTNET35_CLIENTPROFILE_SEARCH" Signature_="AI_DotNet35ClientProfileSearchSgn" Builds="DefaultBuild"/>
<ROW Property="AI_DOTNET35_SEARCH" Signature_="AI_DotNet35SearchSgn" Builds="DefaultBuild"/>
<ROW Property="AI_DOTNET40_CLIENTPROFILE_SEARCH" Signature_="AI_DotNet40ClientProfileSearchSgn" Builds="DefaultBuild"/>
<ROW Property="AI_DOTNET40_SEARCH" Signature_="AI_DotNet40SearchSgn" Builds="DefaultBuild"/>
<ROW Property="AI_SETUPEXEPATH" Signature_="AI_EXE_PATH_CU" Builds="DefaultBuild"/>
<ROW Property="AI_SETUPEXEPATH" Signature_="AI_EXE_PATH_LM" Builds="DefaultBuild"/>
<ROW Property="AI_OFFICE2007_SHARED_PIA_SEARCH" Signature_="AI_Office2007PIA_SharedSearchSign" Builds="DefaultBuild"/>
....
....
<COMPONENT cid="caphyon.advinst.msicomp.MsiCompLocatorComponent">
<ROW Signature_="AI_Office2007PIA_SharedSearchSign" ComponentId="{FAB10E66-B22C-4274-8647-7CA1BA5EF30F}" Type="1"/>
</COMPONENT>
<COMPONENT cid="caphyon.advinst.msicomp.MsiControlComponent">
....
....
<COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
<ROW Condition="( Version9X OR VersionNT64 OR ( VersionNT AND ((VersionNT <> 400) OR ((VersionNT = 400) AND (ServicePackLevel >= 1))) AND ((VersionNT <> 400) OR ((VersionNT = 400) AND (ServicePackLevel <> 1))) AND ((VersionNT <> 400) OR ((VersionNT = 400) AND (ServicePackLevel <> 2))) AND ((VersionNT <> 400) OR ((VersionNT = 400) AND (ServicePackLevel <> 3))) AND ((VersionNT <> 400) OR ((VersionNT = 400) AND (ServicePackLevel <> 4))) AND ((VersionNT <> 400) OR ((VersionNT = 400) AND (ServicePackLevel <> 5))) AND ((VersionNT <> 400) OR ((VersionNT = 400) AND (ServicePackLevel <> 6))) AND ((VersionNT <> 500) OR ((VersionNT = 500) AND (ServicePackLevel >= 1))) AND ((VersionNT <> 500) OR ((VersionNT = 500) AND (ServicePackLevel <> 1))) AND ((VersionNT <> 500) OR ((VersionNT = 500) AND (ServicePackLevel <> 2))) AND ((VersionNT <> 500) OR ((VersionNT = 500) AND (ServicePackLevel <> 3))) AND ((VersionNT <> 500) OR ((VersionNT = 500) AND (ServicePackLevel <> 4))) ) )" Description="[ProductName] cannot be installed on the following Windows versions: [WindowsTypeNTDisplay]" DescriptionLocId="AI.LaunchCondition.NoSpecificNT" IsPredefined="true" Builds="DefaultBuild"/>
<ROW Condition="(AI_DOTNET20_SEARCH = "#1") OR (AI_DOTNET30_SEARCH = "#1") OR (AI_DOTNET35_SEARCH = "#1") OR (AI_DOTNET35_CLIENTPROFILE_SEARCH = "#1") OR (AI_DOTNET40_CLIENTPROFILE_SEARCH = "#1") OR (AI_DOTNET40_SEARCH = "#1") OR (AI_DOTNET40_CLIENTPROFILE_SEARCH = "#1") OR (AI_DOTNET40_SEARCH = "#1")" Description="[ProductName] cannot be installed on systems with .NET Framework version lower than [AI_MINDOTNETVERSION]" DescriptionLocId="AI.LaunchCondition.DotNET" IsPredefined="true" Builds="DefaultBuild"/>
<ROW Condition="AI_OFFICE2007_SHARED_PIA_SEARCH" Description="[ProductName] cannot be installed on systems without Office 2007 Shared Primary Interop Assembly." DescriptionLocId="AI.LaunchCondition.Office2007SharedPIA" IsPredefined="true" Builds="DefaultBuild"/>
<ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild"/>
</COMPONENT>
....
....
As a test I then created a new virgin project, saved the file, turned on the Office 2007 launch condition, saved the file as a new name and then turned off the Office 2007 launch condition and saved the file as a new name again. In theory, the first and third file should be the same, and they were.
So somewhere in my project, the project file has lines in it stating that it should check for the Office 2007 launch condition but these lines cannot be removed, unless done manually. I manually removed all lines with "AI_OFFICE2007_SHARED_PIA" and rebuilt the project and it works like it should now. I have AI V8.0 Build 431499M and am in the middle of a large-scale production run so I cannot install the latest version at the moment as it will require a Change Request, testing, etc.
It may help to know that this project was built in AI V7.x originally.
FOLLOW US
Get the latest news in Application Packaging