Hi,
I'm having a problem building an install package.
The build proj and log are attached.
I'm using:
VS2010
WIX 3.5
\Microsoft.NET\Framework\v3.5\MSBuild.exe
On a 64-bit Windows XP system.
Error: MSB4067 (see log)
Can anybody help me with this error?
Thanks & regards,
Matt
<?xml version="1.0"?>
<Project DefaultTargets="SetProperties;BuildAll"
xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<!-- General properties -->
<CompanyName>Group</CompanyName>
<ProductName>Revit Menus</ProductName>
<Copyright>Copyright (c) 2010</Copyright>
<!-- Set paths -->
<MSBuildCommunityTasksPath>$(MSBuildProjectDirectory)\Externals\MSBuildCommunityTasks\Build</MSBuildCommunityTasksPath>
<WixToolPath>$(MSBuildProjectDirectory)\Externals\wix3.5-binaries</WixToolPath>
</PropertyGroup>
<!-- Collection of AssemblyInfo.cs files to generate -->
<ItemGroup>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.ClassLibrary\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.Links\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.MenuUI\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.Plotting\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.VisibilityTools\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
</ItemGroup>
<!-- We use the AssemblyInfo task from MSBuildCommunityTasks
(http://msbuildtasks.tigris.org/) -->
<Import
Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.Targets" />
<Import Project="C:\Program Files
(x86)\MSBuild\ExtensionPack\MSBuild.ExtensionPack.tasks"/>
<Target Name="BuildAll">
<Message Text="Building version: $(Version)"/>
<CallTarget Targets="GenerateAssemblyInfoForEachFile" />
<CallTarget Targets="RebuildSolution" />
</Target>
<Target Name="GenerateAssemblyInfoForEachFile" Inputs="@AssemblyInfoFile"
Outputs="@null">
<!-- Generate AssemblyInfo files specified in ItemGroup
@AssemblyInfoFile -->
<AssemblyInfo CodeLanguage="CS"
OutputFile="%(AssemblyInfoFile.Value)"
AssemblyCompany="$(CompanyName)"
AssemblyProduct="$(ProductName)"
AssemblyCopyright="$(Copyright)"
ComVisible="false"
CLSCompliant="true"
AssemblyVersion="$(Version)"
AssemblyFileVersion="$(Version)" />
</Target>
<Target Name="RebuildSolution">
<PropertyGroup>
<!-- <Configuration>Debug</Configuration>-->
<Configuration>Release</Configuration>
</PropertyGroup>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.ClassLibrary\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.Links\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.MenuUI\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.Plotting\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<AssemblyInfoFile Include="Item">
<Value>..\WSPR.VisibilityTools\Properties\AssemblyInfo.cs</Value>
</AssemblyInfoFile>
<!-- Build "Any CPU" versions of .NET projects -->
<MSBuild Targets="Rebuild"
Projects="..\WSPR.ClassLibrary\WSPR.ClassLibrary.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.Links\WSPR.Links.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.MenuUI\WSPR.MenuUI.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.Plotting\WSPR.Plotting.vbproj"
Properties="Configuration=$(Configuration)" />
<MSBuild Targets="Rebuild"
Projects="..\WSPR.VisibilityTools\WSPR.VisibilityTools.vbproj"
Properties="Configuration=$(Configuration)" />
<!-- Build 32-bit version of setup -->
<MSBuild Targets="Rebuild"
Projects="Setup\Setup.wixproj"
Properties="Configuration=$(Configuration);Platform=x86;CompanyName=$(CompanyName);ProductName=$(ProductName);Version=$(Version);WixToolPath=$(WixToolPath)"
/>
<!--
Properties="Configuration=$(Configuration);Platform=AnyCPU;CompanyName=$(CompanyName);ProductName=$(ProductName);Version=$(Version);WixToolPath=$(WixToolPath)"
/>
-->
<Copy
SourceFiles="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup.msi"
DestinationFiles="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup_x86.msi" />
<!-- Build 64-bit version of setup -->
<MSBuild Targets="Rebuild"
Projects="Setup\Setup.wixproj"
Properties="Configuration=$(Configuration);Platform=x64;CompanyName=$(CompanyName);ProductName=$(ProductName);Version=$(Version);WixToolPath=$(WixToolPath)"
/>
<Copy
SourceFiles="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup.msi"
DestinationFiles="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup_x64.msi"/>
<Delete Files="Setup\bin\$(Configuration)\WSP_Revit_Custom_Setup.msi"/>
</Target>
<Target Name="SetProperties">
<!-- Task for setting properties. Must be executed before other tasks
-->
<PropertyGroup>
<GetVersionNumberCode>
<![CDATA[
public static string ScriptMain() {
// todo: put your special logic for generating
versionnumber here...
// Windows Installer only uses first 3 parts, so don't rely
too much on fourth part
return "1.0.11.0";
}
]]>
</GetVersionNumberCode>
</PropertyGroup>
<Script Language="C#" Code="$(GetVersionNumberCode)">
<Output TaskParameter="ReturnValue" PropertyName="Version" />
</Script>
</Target>
</Project>
------------------------------------------------------------------------------
This SF.net email is sponsored by
Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users