In the WIX 3.5 CHM file where you document bootstrappers you have the following
explanation. My question is how do I do this for .NET 4.0 & VS2010? I have
the Windows 7 SDK installed but I do not see the Bootstrapper directory that is
referenced below. Any help would be great.
Step 3: Add the bootstrap generation task
In your project file uncomment the <TargetName="AfterBuild"></Target> element
at the end of the file and replace it with the following:
<Target Name="AfterBuild">
<GenerateBootstrapper ApplicationFile="$(TargetFileName)"
ApplicationName="My Application Name"
BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="Relative"
CopyComponents="True"
OutputPath="$(OutputPath)"
Path="C:\Program Files\Microsoft
SDKs\Windows\v6.0A\Bootstrapper\"/>
</Target>
This will instruct MSBuild to generate the bootstrapper after the build of your
installer is complete. The ApplicationFile attribute will resolve to the
location of your application's installer after the build is complete. The
ApplicationName attribute is the application name displayed to the user while
the bootstrapper is running. The BootstrapperItems attribute provides the list
of pre-requisites to include (from Step 2). The ComponentsLocation attribute is
set to Relative to indicate the pre-requisites will be installed from the same
location as your application's installer. The CopyComponents attribute is set
to true to copy the pre-requisite files into the output directory. The
OutputPath attribute resolves to the output location of your installer on disk.
The Path attribute indicates the location on your machine of the pre-requisite
packages. The location shown above is appropriate for machines with Visual
Studio 2008 installed to the default location. For machines with Visual Studio
2005 the default location is C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\BootStrapper\Packages.
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users