Hi guys, I'm trying to create a simple installer to test the bootstrap process. I'm using VS 2010, I've already copied the .net fwk 2.0 folder to the package directory C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\Packages\DotNetFX I'm not having any errors in the building process of my project, but my msi file has the only file I included into, but not the dotnet installer.
This is the output of the build ------ Build started: Project: TestSetup, Configuration: Debug x86 ------ C:\Program Files (x86)\Windows Installer XML v3.5\bin\candle.exe -dDebug -d"DevEnvDir=C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\\" -d"SolutionDir=d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\\" -dSolutionExt=.sln -dSolutionFileName=TestSetup.sln -dSolutionName=TestSetup -d"SolutionPath=d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\TestSetup.sln" -dConfiguration=Debug -dOutDir=bin\Debug\ -dPlatform=x86 -d"ProjectDir=d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\TestSetup\\" -dProjectExt=.wixproj -dProjectFileName=TestSetup.wixproj -dProjectName=TestSetup -d"ProjectPath=d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\TestSetup\TestSetup.wixproj" -d"TargetDir=d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\TestSetup\bin\Debug\\" -dTargetExt=.msi -dTargetFileName=TestSetup.msi -dTargetName=TestSetup -d"TargetPath=d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\TestSetup\bin\Debug\TestSetup.msi" -out obj\Debug\ -arch x86 Product.wxs obj\Debug\Product.Generated.wxs C:\Program Files (x86)\Windows Installer XML v3.5\bin\Light.exe -cultures:null -out "d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\TestSetup\bin\Debug\TestSetup.msi" -pdbout "d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\TestSetup\bin\Debug\TestSetup.wixpdb" obj\Debug\Product.wixobj obj\Debug\Product.Generated.wixobj ========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ========== This is the product.wxs <?xml version="1.0" encoding="UTF-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Product Id="42ff04b1-7a92-48c1-8b92-ffbcad27f93e" Name="TestSetup" Language="1033" Version="1.0.0.0" Manufacturer="TestSetup" UpgradeCode="c88e5111-9029-4acb-abf3-c17037cf9645"> <Package InstallerVersion="200" Compressed="yes" /> <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" /> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="ProgramFilesFolder"> <Directory Id="INSTALLLOCATION" Name="TestSetup"> <Component Id="ProductComponent" Guid="988dca54-b5c8-47e1-b19d-d0fb1053a72e"> <File Id="TestFile1.txt" Source="d:\dario\Documents\Visual Studio 2010\Projects\TestSetup\TestSetup\TextFile1.txt" KeyPath="yes" Checksum="yes"/> </Component> </Directory> </Directory> </Directory> <Feature Id="ProductFeature" Title="TestSetup" Level="1"> <ComponentRef Id="ProductComponent" /> <ComponentGroupRef Id="Product.Generated" /> </Feature> </Product> </Wix> And this is the wixproj file <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" DefaultTargets="Build" xmlns=" http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">x86</Platform> <ProductVersion>3.5</ProductVersion> <ProjectGuid>{a4d7aaea-90f4-4fb0-946b-79d67638d997}</ProjectGuid> <SchemaVersion>2.0</SchemaVersion> <OutputName>TestSetup</OutputName> <OutputType>Package</OutputType> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' ">$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> <WixTargetsPath Condition=" '$(WixTargetsPath)' == '' ">$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets</WixTargetsPath> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> <OutputPath>bin\$(Configuration)\</OutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> <DefineConstants>Debug</DefineConstants> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> <OutputPath>bin\$(Configuration)\</OutputPath> <IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath> </PropertyGroup> <ItemGroup> <Compile Include="Product.wxs" /> </ItemGroup> <ItemGroup> <BootstrapperFile Include="Microsoft.Net.Framework.2.0"> <ProductName>.NET Framework 2.0</ProductName> </BootstrapperFile> </ItemGroup> <ItemGroup> <Content Include="TextFile1.txt" /> </ItemGroup> <Import Project="$(WixTargetsPath)" /> <Target Name="setup"> <GenerateBootstrapper ApplicationFile="myproduct.msi" ApplicationName="myproduct" BootstrapperItems="@(BootstrapperFile)" Path="C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bootstrapper\" ComponentsLocation="Relative" OutputPath="$(cddir)" Culture="en"/> </Target> </Project> The output is a TestSetup.msi file of 32 kb I'm sure I'm missing something, but after reading blogs, and documentation, I cannot see what is happening. Any ideas? -- *DarĂo Griffo* * * ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users